Searched refs:splitedTime (Results 1 – 2 of 2) sorted by relevance
/base/powermgr/battery_statistics/services/native/src/ |
D | cpu_time_reader.cpp | 171 std::vector<std::string> splitedTime; in ReadUidCpuActiveTimeImpl() local 172 Split(line, ' ', splitedTime); in ReadUidCpuActiveTimeImpl() 173 for (uint16_t i = 0; i < splitedTime.size(); i++) { in ReadUidCpuActiveTimeImpl() 174 timeMs += stoll(splitedTime[i]) * 10; // Unit is 10ms in ReadUidCpuActiveTimeImpl() 261 std::vector<std::string> splitedTime; in ReadClusterTimeIncrement() local 262 Split(timeLine, ' ', splitedTime); in ReadClusterTimeIncrement() 267 tempTimeMs += stoll(splitedTime[count++]) * 10; // Unit is 10ms in ReadClusterTimeIncrement() 365 …ap<uint32_t, std::vector<int64_t>>& increments, int32_t uid, std::vector<std::string>& splitedTime) in ReadFreqTimeIncrement() argument 374 int64_t tempTimeMs = stoll(splitedTime[count++]) * 10; // Unit is 10ms in ReadFreqTimeIncrement() 458 std::vector<std::string> splitedTime; in ReadUidCpuFreqTime() local [all …]
|
/base/powermgr/battery_statistics/services/native/include/ |
D | cpu_time_reader.h | 55 …p<uint32_t, std::vector<int64_t>>& increments, int32_t uid, std::vector<std::string>& splitedTime);
|