Home
last modified time | relevance | path

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

/system/bpf/progs/include/
Dbpf_timeinstate.h26 #define CPUS_PER_ENTRY 8 macro
38 uint64_t active[CPUS_PER_ENTRY];
39 uint64_t policy[CPUS_PER_ENTRY];
/system/bpfprogs/
Dtime_in_state.c104 key.bucket = nactive / CPUS_PER_ENTRY;
111 if (ct) ct->active[nactive % CPUS_PER_ENTRY] += delta;
113 if (policy_nactive / CPUS_PER_ENTRY != key.bucket) {
114 key.bucket = policy_nactive / CPUS_PER_ENTRY;
122 if (ct) ct->policy[policy_nactive % CPUS_PER_ENTRY] += delta;