Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dthermal_stats_helper.cpp285 auto &request_stats = sensor_cdev_request_stats_map_[sensor.data()][cdev.data()]; in updateSensorCdevRequestStats() local
286 for (auto &stats_by_threshold : request_stats.stats_by_custom_threshold) { in updateSensorCdevRequestStats()
295 if (request_stats.stats_by_default_threshold.has_value()) { in updateSensorCdevRequestStats()
296 auto &stats_record = request_stats.stats_by_default_threshold.value(); in updateSensorCdevRequestStats()
497 for (auto &[cdev, request_stats] : cdev_request_stats_map) { in reportAllSensorCdevRequestStats()
499 threshold_set_idx < request_stats.stats_by_custom_threshold.size(); in reportAllSensorCdevRequestStats()
502 request_stats.stats_by_custom_threshold[threshold_set_idx]; in reportAllSensorCdevRequestStats()
512 if (request_stats.stats_by_default_threshold.has_value()) { in reportAllSensorCdevRequestStats()
515 &request_stats.stats_by_default_threshold.value())) { in reportAllSensorCdevRequestStats()
654 for (auto &request_stats : cdev_request_stats_pair.second.stats_by_custom_threshold) { in GetSensorCoolingDeviceRequestStatsSnapshot() local
[all …]
/hardware/google/pixel/thermal/
DThermal.cpp675 const auto &request_stats = cdev_request_stats_pair.second; in dumpThermalStats() local
676 for (const auto &stats_by_threshold : request_stats.stats_by_custom_threshold) { in dumpThermalStats()
689 if (request_stats.stats_by_default_threshold.has_value()) { in dumpThermalStats()
691 dumpStatsRecord(dump_buf, request_stats.stats_by_default_threshold.value(), in dumpThermalStats()