Home
last modified time | relevance | path

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

/systemd-251/src/basic/
Dparse-util.h140 #define LOADAVG_PRECISION_BITS 11 macro
141 #define LOADAVG_FIXED_POINT_1_0 (1 << LOADAVG_PRECISION_BITS)
142 #define LOADAVG_INT_SIDE(x) ((x) >> LOADAVG_PRECISION_BITS)
Dparse-util.c715 if (i >= (~0UL << LOADAVG_PRECISION_BITS)) in store_loadavg_fixed_point()
718 i = i << LOADAVG_PRECISION_BITS; in store_loadavg_fixed_point()
719 f = DIV_ROUND_UP((f << LOADAVG_PRECISION_BITS), 100); in store_loadavg_fixed_point()