diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-05-29 23:18:21 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-05-29 23:18:21 +0000 |
commit | 0a39e5a5450fc172b659e8154748080470a14479 (patch) | |
tree | 330ad0aba2f3c372428e1d70ac7558a96cdceb50 | |
parent | a56f0de74b40377b14be93c287fe424c12bf3b75 (diff) | |
parent | 8181c1d89089688083f3f9db4f7a4b43cbcdb870 (diff) |
Snap for 10220496 from 8181c1d89089688083f3f9db4f7a4b43cbcdb870 to udc-release
Change-Id: I9bc91b615e638233875458e5b802a82f323f2fa0
-rw-r--r-- | thermal/utils/thermal_stats_helper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thermal/utils/thermal_stats_helper.cpp b/thermal/utils/thermal_stats_helper.cpp index 34446b9..daaaf1c 100644 --- a/thermal/utils/thermal_stats_helper.cpp +++ b/thermal/utils/thermal_stats_helper.cpp @@ -409,7 +409,7 @@ bool ThermalStatsHelper::reportSensorCdevRequestStats(const std::shared_ptr<ISta std::vector<int64_t> time_in_state_ms = processStatsRecordForReporting(stats_record); const auto since_last_update_ms = std::chrono::duration_cast<std::chrono::milliseconds>( stats_record->cur_state_start_time - stats_record->last_stats_report_time); - values[3].set<VendorAtomValue::longValue>(since_last_update_ms.count()); + values[2].set<VendorAtomValue::longValue>(since_last_update_ms.count()); VendorAtomValue tmp; for (auto &time_in_state : time_in_state_ms) { tmp.set<VendorAtomValue::longValue>(time_in_state); |