Home
last modified time | relevance | path

Searched refs:power_status (Results 1 – 1 of 1) sorted by relevance

/hardware/google/pixel/thermal/utils/
Dpower_files.cpp266 auto &power_status = power_status_map_.at(power_rail.data()); in updatePowerRail() local
270 now - power_status.last_update_time); in updatePowerRail()
272 if (power_status.last_update_time != boot_clock::time_point::min() && in updatePowerRail()
274 return power_status.last_updated_avg_power; in updatePowerRail()
283 avg_power = updateAveragePower(power_rail, &power_status.power_history[0]); in updatePowerRail()
292 &power_status.power_history[i]); in updatePowerRail()
330 power_status.last_updated_avg_power = avg_power; in updatePowerRail()
331 power_status.last_update_time = now; in updatePowerRail()