Make number of cores flexible when extracting power/performance (remove hard coded 8-core).