Searched refs:frac (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | sched_average.c | 80 #define frac(n) (((base(n) - 1) * LOAD_SCALE) / base(n)) macro 83 frac(5), /* 5 second average */ 84 frac(30), /* 30 second average */ 85 frac(60), /* 1 minute average */ 89 #undef frac macro
|
H A D | clock.c | 134 #define TIME_ADD(rsecs, secs, rfrac, frac, unit) \ 136 if (((rfrac) += (frac)) >= (unit)) { \ 143 #define TIME_SUB(rsecs, secs, rfrac, frac, unit) \ 145 if ((int)((rfrac) -= (frac)) < 0) { \
|
Completed in 24 milliseconds