Home
last modified time | relevance | path

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

/external/libevent/test/
Dtest-changelist.c115 double secondsPassed, secondsUsed; in get_cpu_usage() local
123 secondsUsed = kerneltime_seconds + usertime_seconds; in get_cpu_usage()
126 secondsUsed = (ticksEnd - timer->ticksBegin) / (double)CLOCKS_PER_SEC; in get_cpu_usage()
133 *secUsedOut = secondsUsed; in get_cpu_usage()
134 *usageOut = secondsUsed / secondsPassed; in get_cpu_usage()