Home
last modified time | relevance | path

Searched refs:time_in_state_ms (Results 1 – 3 of 3) sorted by relevance

/hardware/google/pixel/thermal/utils/
Dthermal_stats_helper.cpp271 << stats_record->time_in_state_ms[stats_record->cur_state].count(); in updateStatsRecord()
273 stats_record->time_in_state_ms[stats_record->cur_state] += cur_state_duration; in updateStatsRecord()
455 std::vector<int64_t> time_in_state_ms = processStatsRecordForReporting(stats_record); in reportSensorTempStats() local
460 for (auto &time_in_state : time_in_state_ms) { in reportSensorTempStats()
464 auto remaining_residency_buckets_count = kMaxStatsResidencyCount - time_in_state_ms.size(); in reportSensorTempStats()
535 std::vector<int64_t> time_in_state_ms = processStatsRecordForReporting(stats_record); in reportSensorCdevRequestStats() local
540 for (auto &time_in_state : time_in_state_ms) { in reportSensorCdevRequestStats()
561 std::vector<std::chrono::milliseconds> &time_in_state_ms = stats_record->time_in_state_ms; in processStatsRecordForReporting() local
563 std::vector<int64_t> stats_residency(time_in_state_ms.size()); in processStatsRecordForReporting()
564 std::transform(time_in_state_ms.begin(), time_in_state_ms.end(), stats_residency.begin(), in processStatsRecordForReporting()
[all …]
Dthermal_stats_helper.h60 std::vector<std::chrono::milliseconds> time_in_state_ms; /* stats array */ member
67 time_in_state_ms = std::vector<std::chrono::milliseconds>( in cur_state()
/hardware/google/pixel/thermal/
DThermal.cpp629 for (const auto &time_in_state : stats_record.time_in_state_ms) { in dumpStatsRecord()