Searched refs:power_info_data (Results 1 – 2 of 2) sorted by relevance
80 bool GetPowerInfo(mach_port_t task, task_power_info* power_info_data) { in GetPowerInfo() argument86 reinterpret_cast<task_info_t>(power_info_data), in GetPowerInfo()160 task_power_info power_info_data; in GetPackageIdleWakeupsPerSecond() local162 GetPowerInfo(task, &power_info_data); in GetPackageIdleWakeupsPerSecond()175 power_info_data.task_platform_idle_wakeups); in GetPackageIdleWakeupsPerSecond()180 task_power_info power_info_data; in GetIdleWakeupsPerSecond() local182 GetPowerInfo(task, &power_info_data); in GetIdleWakeupsPerSecond()184 return CalculateIdleWakeupsPerSecond(power_info_data.task_interrupt_wakeups); in GetIdleWakeupsPerSecond()
79 bool GetPowerInfo(mach_port_t task, task_power_info* power_info_data) { in GetPowerInfo() argument85 reinterpret_cast<task_info_t>(power_info_data), in GetPowerInfo()159 task_power_info power_info_data; in GetPackageIdleWakeupsPerSecond() local161 GetPowerInfo(task, &power_info_data); in GetPackageIdleWakeupsPerSecond()174 power_info_data.task_platform_idle_wakeups); in GetPackageIdleWakeupsPerSecond()179 task_power_info power_info_data; in GetIdleWakeupsPerSecond() local181 GetPowerInfo(task, &power_info_data); in GetIdleWakeupsPerSecond()183 return CalculateIdleWakeupsPerSecond(power_info_data.task_interrupt_wakeups); in GetIdleWakeupsPerSecond()