Home
last modified time | relevance | path

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

/system/bpf/progs/include/
Dbpf_timeinstate.h31 #define CPUS_PER_ENTRY 8 macro
43 uint64_t active[CPUS_PER_ENTRY];
44 uint64_t policy[CPUS_PER_ENTRY];
/system/bpfprogs/
DtimeInState.c74 key.bucket = active / CPUS_PER_ENTRY; in update_uid()
81 if (ct) ct->active[active % CPUS_PER_ENTRY] += delta; in update_uid()
83 if (policy_active / CPUS_PER_ENTRY != key.bucket) { in update_uid()
84 key.bucket = policy_active / CPUS_PER_ENTRY; in update_uid()
92 if (ct) ct->policy[policy_active % CPUS_PER_ENTRY] += delta; in update_uid()
Dtime_in_state_test.cpp127 for (int i = 0; i < CPUS_PER_ENTRY; i++) { in assertConcurrentTimes()
135 for (int i = 0; i < CPUS_PER_ENTRY; i++) { in assertConcurrentTimes()