Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dthermal_throttling.h81 const ThrottlingSeverity curr_severity, const std::chrono::milliseconds time_elapsed_ms,
102 std::chrono::milliseconds time_elapsed_ms, ThrottlingSeverity curr_severity,
115 const ThrottlingSeverity curr_severity, const std::chrono::milliseconds time_elapsed_ms,
Dthermal_throttling.cpp189 std::chrono::milliseconds time_elapsed_ms, ThrottlingSeverity curr_severity, in updatePowerBudget() argument
249 time_elapsed_ms != std::chrono::milliseconds::zero()) { in updatePowerBudget()
251 time_elapsed_ms.count(); in updatePowerBudget()
293 << " time_elapsed_ms=" << time_elapsed_ms.count() << " p=" << p in updatePowerBudget()
303 static_cast<int>(time_elapsed_ms.count())); in updatePowerBudget()
358 const ThrottlingSeverity curr_severity, const std::chrono::milliseconds time_elapsed_ms, in allocatePowerToCdev() argument
374 updatePowerBudget(temp, sensor_info, cooling_device_info_map, time_elapsed_ms, in allocatePowerToCdev()
736 const ThrottlingSeverity curr_severity, const std::chrono::milliseconds time_elapsed_ms, in thermalThrottlingUpdate() argument
749 if (!allocatePowerToCdev(temp, sensor_info, curr_severity, time_elapsed_ms, in thermalThrottlingUpdate()
Dpower_files.cpp269 auto time_elapsed_ms = std::chrono::duration_cast<std::chrono::milliseconds>( in updatePowerRail() local
273 time_elapsed_ms < power_rail_info.power_sample_delay) { in updatePowerRail()
Dthermal_stats_helper.cpp374 auto time_elapsed_ms = std::chrono::duration_cast<std::chrono::milliseconds>( in verifySensorAbnormality() local
376 if (temp_stuck_info->min_stuck_duration <= time_elapsed_ms) { in verifySensorAbnormality()
380 << time_elapsed_ms.count() << "ms"; in verifySensorAbnormality()
Dthermal_watcher.cpp505 auto time_elapsed_ms = std::chrono::duration_cast<std::chrono::milliseconds>(boot_clock::now() - in threadLoop() local
508 if (time_elapsed_ms < sleep_ms_ && in threadLoop()
/hardware/google/pixel/thermal/
Dthermal-helper.cpp1353 std::chrono::milliseconds time_elapsed_ms = std::chrono::milliseconds::zero(); in thermalWatcherCallbackFunc() local
1373 time_elapsed_ms = std::chrono::duration_cast<std::chrono::milliseconds>( in thermalWatcherCallbackFunc()
1390 } else if (time_elapsed_ms > sleep_ms) { in thermalWatcherCallbackFunc()
1403 << ": time_elapsed=" << time_elapsed_ms.count() in thermalWatcherCallbackFunc()
1408 auto timeout_remaining = sleep_ms - time_elapsed_ms; in thermalWatcherCallbackFunc()
1467 temp, sensor_info, sensor_status.severity, time_elapsed_ms, in thermalWatcherCallbackFunc()