Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dcom_android_internal_os_KernelCpuUidBpfMapReader.cpp66 uint64_t newLastUpdate = lastUpdate; in KernelCpuUidFreqTimeBpfMapReader_readBpfData() local
69 auto data = android::bpf::getUidsUpdatedCpuFreqTimes(&newLastUpdate); in KernelCpuUidFreqTimeBpfMapReader_readBpfData()
81 lastUpdate = newLastUpdate; in KernelCpuUidFreqTimeBpfMapReader_readBpfData()
108 uint64_t newLastUpdate = lastUpdate; in KernelCpuUidActiveTimeBpfMapReader_readBpfData() local
111 auto data = android::bpf::getUidsUpdatedConcurrentTimes(&newLastUpdate); in KernelCpuUidActiveTimeBpfMapReader_readBpfData()
122 lastUpdate = newLastUpdate; in KernelCpuUidActiveTimeBpfMapReader_readBpfData()
141 uint64_t newLastUpdate = lastUpdate; in KernelCpuUidClusterTimeBpfMapReader_readBpfData() local
144 auto data = android::bpf::getUidsUpdatedConcurrentTimes(&newLastUpdate); in KernelCpuUidClusterTimeBpfMapReader_readBpfData()
156 lastUpdate = newLastUpdate; in KernelCpuUidClusterTimeBpfMapReader_readBpfData()
/frameworks/native/libs/cputimeinstate/
Dcputimeinstate.cpp275 uint64_t *newLastUpdate) { in uidUpdatedSince() argument
282 if (uidLastUpdate > *newLastUpdate) *newLastUpdate = uidLastUpdate; in uidUpdatedSince()
313 uint64_t newLastUpdate = lastUpdate ? *lastUpdate : 0; in getUidsUpdatedCpuFreqTimes() local
317 auto uidUpdated = uidUpdatedSince(key.uid, *lastUpdate, &newLastUpdate); in getUidsUpdatedCpuFreqTimes()
338 if (lastUpdate && newLastUpdate > *lastUpdate) *lastUpdate = newLastUpdate; in getUidsUpdatedCpuFreqTimes()
426 uint64_t newLastUpdate = lastUpdate ? *lastUpdate : 0; in getUidsUpdatedConcurrentTimes() local
429 auto uidUpdated = uidUpdatedSince(key.uid, *lastUpdate, &newLastUpdate); in getUidsUpdatedConcurrentTimes()
466 if (lastUpdate && newLastUpdate > *lastUpdate) *lastUpdate = newLastUpdate; in getUidsUpdatedConcurrentTimes()