Searched refs:clusterTime (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/base/powermgr/battery_statistics/services/native/src/ |
H A D | cpu_time_reader.cpp | 258 bool CpuTimeReader::ReadClusterTimeIncrement(std::vector<int64_t>& clusterTime, std::vector<int64_t… in ReadClusterTimeIncrement() argument 269 clusterTime.push_back(tempTimeMs); in ReadClusterTimeIncrement() 275 int64_t increment = clusterTime[i] - iterLast->second[i]; in ReadClusterTimeIncrement() 277 iterLast->second[i] = clusterTime[i]; in ReadClusterTimeIncrement() 285 lastClusterTimeMap_.insert(std::pair<int32_t, std::vector<int64_t>>(uid, clusterTime)); in ReadClusterTimeIncrement() 286 increments = clusterTime; in ReadClusterTimeIncrement() 302 std::vector<int64_t> clusterTime; in ReadUidCpuClusterTime() local 304 clusterTime.clear(); in ReadUidCpuClusterTime() 322 if (!ReadClusterTimeIncrement(clusterTime, increments, uid, clusters, splitedLine[1])) { in ReadUidCpuClusterTime() 340 void CpuTimeReader::AddIncrementsToClusterTime(std::vector<int64_t>& clusterTime, in AddIncrementsToClusterTime() argument [all …]
|
/ohos5.0/base/powermgr/battery_statistics/services/native/include/ |
H A D | cpu_time_reader.h | 50 void AddIncrementsToClusterTime(std::vector<int64_t>& clusterTime, 53 …bool ReadClusterTimeIncrement(std::vector<int64_t>& clusterTime, std::vector<int64_t>& increments,… 66 …bool ReadUidTimeIncrement(std::vector<int64_t>& clusterTime, std::vector<int64_t>& uidIncrements, …
|