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)167 (llabs(diff) / NSEC_PER_MSEC) % MSEC_PER_SEC, in main()171 (llabs(diff) / NSEC_PER_MSEC) % MSEC_PER_SEC, in main()
73 #define MSEC_PER_SEC (1000LL) macro76 #define BATTERY_UNKNOWN_TIME (2 * MSEC_PER_SEC)77 #define POWER_ON_KEY_TIME (2 * MSEC_PER_SEC)78 #define UNPLUGGED_SHUTDOWN_TIME (10 * MSEC_PER_SEC)79 #define UNPLUGGED_DISPLAY_TIME (3 * MSEC_PER_SEC)80 #define MAX_BATT_LEVEL_WAIT_TIME (3 * MSEC_PER_SEC)206 return tm.tv_sec * MSEC_PER_SEC + (tm.tv_nsec / NSEC_PER_MSEC); in curr_time_ms()