Home
last modified time | relevance | path

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

/frameworks/native/libs/cputimeinstate/
Dcputimeinstate.cpp55 static uint32_t gNCpus = 0; variable
98 gNCpus = get_nprocs_conf(); in initGlobals()
284 std::vector<uint64_t> vals(gNCpus); in getTotalCpuFreqTimes()
314 std::vector<tis_val_t> vals(gNCpus); in getUidCpuFreqTimes()
380 std::vector<tis_val_t> vals(gNCpus); in getUidsUpdatedCpuFreqTimes()
426 concurrent_time_t ret = {.active = std::vector<uint64_t>(gNCpus, 0)}; in getUidConcurrentTimes()
428 std::vector<concurrent_val_t> vals(gNCpus); in getUidConcurrentTimes()
429 for (uint32_t i = 0; i <= (gNCpus - 1) / CPUS_PER_ENTRY; ++i) { in getUidConcurrentTimes()
440 auto activeEnd = nextOffset < gNCpus ? activeBegin + CPUS_PER_ENTRY : ret.active.end(); in getUidConcurrentTimes()
442 for (uint32_t cpu = 0; cpu < gNCpus; ++cpu) { in getUidConcurrentTimes()
[all …]