Searched refs:speedTime (Results 1 – 2 of 2) sorted by relevance
/base/powermgr/battery_statistics/services/native/src/ |
D | cpu_time_reader.cpp | 342 …std::vector<int64_t>>& increments, std::map<uint32_t, std::vector<int64_t>>& speedTime, int32_t in… in ProcessFreqTime() argument 350 int64_t increment = speedTime.at(index)[j] - lastSpeedTimes[j]; in ProcessFreqTime() 359 iterLastTemp->second = speedTime.at(index); in ProcessFreqTime() 364 bool CpuTimeReader::ReadFreqTimeIncrement(std::map<uint32_t, std::vector<int64_t>>& speedTime, in ReadFreqTimeIncrement() argument 377 speedTime.insert(std::pair<uint32_t, std::vector<int64_t>>(i, tempSpeedTimes)); in ReadFreqTimeIncrement() 382 …tFreqTimeMap_.insert(std::pair<int32_t, std::map<uint32_t, std::vector<int64_t>>>(uid, speedTime)); in ReadFreqTimeIncrement() 383 increments = speedTime; in ReadFreqTimeIncrement() 388 if (!ProcessFreqTime(iterLast->second, increments, speedTime, i, uid)) { in ReadFreqTimeIncrement() 439 std::map<uint32_t, std::vector<int64_t>> speedTime; in ReadUidCpuFreqTime() local 441 speedTime.clear(); in ReadUidCpuFreqTime() [all …]
|
/base/powermgr/battery_statistics/services/native/include/ |
D | cpu_time_reader.h | 54 bool ReadFreqTimeIncrement(std::map<uint32_t, std::vector<int64_t>>& speedTime, 57 …std::vector<int64_t>>& increments, std::map<uint32_t, std::vector<int64_t>>& speedTime, int32_t in…
|