Home
last modified time | relevance | path

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

/external/honggfuzz/
Ddisplay.c76 static unsigned getCpuUse(long num_cpu) { in getCpuUse() argument
96 uint64_t cpuUse = (num_cpu * sysconf(_SC_CLK_TCK)) - (idleT - prevIdleT); in getCpuUse()
200 static long num_cpu = 0; in display_displayLocked() local
201 if (num_cpu == 0) { in display_displayLocked()
202 num_cpu = sysconf(_SC_NPROCESSORS_ONLN); in display_displayLocked()
204 unsigned cpuUse = getCpuUse(num_cpu); in display_displayLocked()
207 hfuzz->threads.threadsMax, num_cpu, cpuUse, cpuUse / num_cpu); in display_displayLocked()