Searched refs:sensor_temp_stats (Results 1 – 3 of 3) sorted by relevance
314 auto &sensor_temp_stats = temp_stats_map_[sensor.data()]; in updateSensorTempStatsByThreshold() local315 for (auto &stats_by_threshold : sensor_temp_stats.stats_by_custom_threshold) { in updateSensorTempStatsByThreshold()323 if (temperature > sensor_temp_stats.max_temp) { in updateSensorTempStatsByThreshold()324 sensor_temp_stats.max_temp = temperature; in updateSensorTempStatsByThreshold()325 sensor_temp_stats.max_temp_timestamp = system_clock::now(); in updateSensorTempStatsByThreshold()327 if (temperature < sensor_temp_stats.min_temp) { in updateSensorTempStatsByThreshold()328 sensor_temp_stats.min_temp = temperature; in updateSensorTempStatsByThreshold()329 sensor_temp_stats.min_temp_timestamp = system_clock::now(); in updateSensorTempStatsByThreshold()448 const SensorTempStats &sensor_temp_stats, in reportSensorTempStats() argument469 tmp.set<VendorAtomValue::floatValue>(sensor_temp_stats.max_temp); in reportSensorTempStats()[all …]
190 const SensorTempStats &sensor_temp_stats, StatsRecord *stats_record);
642 const auto &sensor_temp_stats = sensor_temp_stats_pair.second; in dumpThermalStats() local643 *dump_buf << " Max Temp: " << sensor_temp_stats.max_temp << ", TimeStamp: " in dumpThermalStats()644 << system_clock::to_time_t(sensor_temp_stats.max_temp_timestamp) << std::endl; in dumpThermalStats()645 *dump_buf << " Min Temp: " << sensor_temp_stats.min_temp << ", TimeStamp: " in dumpThermalStats()646 << system_clock::to_time_t(sensor_temp_stats.min_temp_timestamp) << std::endl; in dumpThermalStats()647 for (const auto &stats_by_threshold : sensor_temp_stats.stats_by_custom_threshold) { in dumpThermalStats()661 if (sensor_temp_stats.stats_by_default_threshold.has_value()) { in dumpThermalStats()663 dumpStatsRecord(dump_buf, sensor_temp_stats.stats_by_default_threshold.value(), in dumpThermalStats()