Home
last modified time | relevance | path

Searched refs:increment (Results 1 – 2 of 2) sorted by relevance

/base/powermgr/battery_statistics/services/native/src/
Dcpu_time_reader.cpp177 int64_t increment = 0; in ReadUidCpuActiveTimeImpl() local
181 increment = timeMs - iterLast->second; in ReadUidCpuActiveTimeImpl()
182 if (increment >= 0) { in ReadUidCpuActiveTimeImpl()
190 increment = timeMs; in ReadUidCpuActiveTimeImpl()
198 iter->second += increment; in ReadUidCpuActiveTimeImpl()
200 activeTimeMap_.insert(std::pair<int32_t, int64_t>(uid, increment)); in ReadUidCpuActiveTimeImpl()
202 std::to_string(increment).c_str(), uid); in ReadUidCpuActiveTimeImpl()
275 int64_t increment = clusterTime[i] - iterLast->second[i]; in ReadClusterTimeIncrement() local
276 if (increment >= 0) { in ReadClusterTimeIncrement()
278 increments.push_back(increment); in ReadClusterTimeIncrement()
[all …]
/base/notification/eventhandler/frameworks/eventhandler/src/
Depoll_io_waiter.cpp192 static const uint64_t increment = 1; in NotifyAll() local
193 ssize_t retVal = write(awakenFd_, &increment, sizeof(increment)); in NotifyAll()