Searched refs:UNSIGNED_DIFFERENCE (Results 1 – 1 of 1) sorted by relevance
50 #define UNSIGNED_DIFFERENCE(x,y) (x >= y ? x - y : (0 - y) + x ) macro127 …userticks = UNSIGNED_DIFFERENCE((lib_end_ticks.cpu_ticks[CPU_STATE_USER] + lib_end_ticks.cpu_ticks… in calc_cpu_util_internal()129 …systicks = UNSIGNED_DIFFERENCE(lib_end_ticks.cpu_ticks[CPU_STATE_SYSTEM], lib_start_ticks.cpu_tick… in calc_cpu_util_internal()130 …idleticks = UNSIGNED_DIFFERENCE(lib_end_ticks.cpu_ticks[CPU_STATE_IDLE], lib_start_ticks.cpu_ticks… in calc_cpu_util_internal()