Searched refs:HRTIME_SCALE (Results 1 – 2 of 2) sorted by relevance
68 #define HRTIME_SCALE 10LL /* internal time in 10s of seconds */ macro69 #define MAX_INCACHE_TIME (300 / HRTIME_SCALE)
98 #define GET_SCALED_HRTIME() (int)(gethrtime() / (HRTIME_SCALE * NANOSEC))1547 ret = (MAX_INCACHE_TIME - elapsed) * HRTIME_SCALE; in snmp_refresh_get_next_expiration()1580 secs = (secs + HRTIME_SCALE - 1) / HRTIME_SCALE; in snmp_refresh_get_cycle_hint()