Searched refs:stats_by_threshold (Results 1 – 2 of 2) sorted by relevance
212 for (auto &stats_by_threshold : request_stats.stats_by_custom_threshold) { in updateSensorCdevRequestStats() local213 int value = calculateThresholdBucket(stats_by_threshold.thresholds, new_value); in updateSensorCdevRequestStats()214 if (value != stats_by_threshold.stats_record.cur_state) { in updateSensorCdevRequestStats()217 updateStatsRecord(&stats_by_threshold.stats_record, value); in updateSensorCdevRequestStats()239 for (auto &stats_by_threshold : sensor_temp_stats.stats_by_custom_threshold) { in updateSensorTempStatsByThreshold() local240 int value = calculateThresholdBucket(stats_by_threshold.thresholds, temperature); in updateSensorTempStatsByThreshold()241 if (value != stats_by_threshold.stats_record.cur_state) { in updateSensorTempStatsByThreshold()244 updateStatsRecord(&stats_by_threshold.stats_record, value); in updateSensorTempStatsByThreshold()302 auto &stats_by_threshold = temp_stats.stats_by_custom_threshold[threshold_set_idx]; in reportAllSensorTempStats() local303 std::string sensor_name = stats_by_threshold.logging_name.value_or( in reportAllSensorTempStats()[all …]
573 for (const auto &stats_by_threshold : sensor_temp_stats.stats_by_custom_threshold) { in dumpThermalStats() local575 for (const auto &threshold : stats_by_threshold.thresholds) { in dumpThermalStats()579 if (stats_by_threshold.logging_name.has_value()) { in dumpThermalStats()580 *dump_buf << " Logging Name: " << stats_by_threshold.logging_name.value() in dumpThermalStats()583 dumpStatsRecord(dump_buf, stats_by_threshold.stats_record, in dumpThermalStats()602 for (const auto &stats_by_threshold : request_stats.stats_by_custom_threshold) { in dumpThermalStats() local604 for (const auto &threshold : stats_by_threshold.thresholds) { in dumpThermalStats()608 if (stats_by_threshold.logging_name.has_value()) { in dumpThermalStats()609 *dump_buf << " Logging Name: " << stats_by_threshold.logging_name.value() in dumpThermalStats()612 dumpStatsRecord(dump_buf, stats_by_threshold.stats_record, in dumpThermalStats()