Searched refs:frac (Results 1 - 2 of 2) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | sched_average.c | 79 #define frac(n) (((base(n) - 1) * LOAD_SCALE) / base(n)) macro 82 frac(5), /* 5 second average */ 83 frac(30), /* 30 second average */ 84 frac(60), /* 1 minute average */ 88 #undef frac macro
|
H A D | clock.c | 118 #define TIME_ADD(rsecs, secs, rfrac, frac, unit) \ 120 if (((rfrac) += (frac)) >= (unit)) { \ 127 #define TIME_SUB(rsecs, secs, rfrac, frac, unit) \ 129 if ((int32_t)((rfrac) -= (frac)) < 0) { \
|
Completed in 27 milliseconds