- sub_cpu->getSpeedPeakList(), // host->power_peak,
- sub_cpu->getPState(),
- 1, // host->power_scale,
- NULL, // host->power_trace,
- 1, // host->core_amount,
- 1/*ON*/, // host->initiallyOn,
- NULL); // host->state_trace,
+ sub_cpu->getSpeedPeakList(), 1 /*cores*/);
+ if (sub_cpu->getPState() != 0)
+ p_cpu->setPState(sub_cpu->getPState());