Thread criticality predictors for dynamic performance, power, and resource management in chip multiprocessors