Searched refs:MSEC_PER_SEC (Results 1 – 2 of 2) sorted by relevance
32 #define MSEC_PER_SEC 1000 macro33 #define NSEC_PER_MSEC (NSEC_PER_SEC/MSEC_PER_SEC)168 (llabs(diff) / NSEC_PER_MSEC) % MSEC_PER_SEC, in main()172 (llabs(diff) / NSEC_PER_MSEC) % MSEC_PER_SEC, in main()
63 #define MSEC_PER_SEC (1000LL) macro66 #define BATTERY_UNKNOWN_TIME (2 * MSEC_PER_SEC)67 #define POWER_ON_KEY_TIME (2 * MSEC_PER_SEC)68 #define UNPLUGGED_SHUTDOWN_TIME (10 * MSEC_PER_SEC)183 return tm.tv_sec * MSEC_PER_SEC + (tm.tv_nsec / NSEC_PER_MSEC); in curr_time_ms()