Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dthermal_stats_helper.h56 struct StatsRecord { struct
62 explicit StatsRecord(const size_t &time_in_state_size, int state = 0) argument
70 StatsRecord() = default; argument
71 StatsRecord(const StatsRecord &) = default;
72 StatsRecord &operator=(const StatsRecord &) = default; argument
73 StatsRecord(StatsRecord &&) = default;
74 StatsRecord &operator=(StatsRecord &&) = default; argument
75 ~StatsRecord() = default;
82 StatsRecord stats_record;
89 stats_record = StatsRecord(time_in_state_size); in StatsByThreshold()
[all …]
Dthermal_stats_helper.cpp157 StatsRecord(default_threshold_time_in_state_size); in initializeSensorCdevRequestStats()
200 StatsRecord(severity_time_in_state_size); in initializeSensorTempStats()
265 void ThermalStatsHelper::updateStatsRecord(StatsRecord *stats_record, int new_state) { in updateStatsRecord()
449 StatsRecord *stats_record) { in reportSensorTempStats()
452 StatsRecord thermal_stats_before_reporting = *stats_record; in reportSensorTempStats()
527 StatsRecord *stats_record) { in reportSensorCdevRequestStats()
531 StatsRecord thermal_stats_before_reporting = *stats_record; in reportSensorCdevRequestStats()
558 std::vector<int64_t> ThermalStatsHelper::processStatsRecordForReporting(StatsRecord *stats_record) { in processStatsRecordForReporting()
620 StatsRecord ThermalStatsHelper::restoreStatsRecordOnFailure( in restoreStatsRecordOnFailure()
621 StatsRecord &&stats_record_before_failure) { in restoreStatsRecordOnFailure()
[all …]
/hardware/google/pixel/thermal/
DThermal.h134 void dumpStatsRecord(std::ostringstream *dump_buf, const StatsRecord &stats_record,
DThermal.cpp620 void Thermal::dumpStatsRecord(std::ostringstream *dump_buf, const StatsRecord &stats_record, in dumpStatsRecord()