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()
91 #define MSEC_PER_SEC (1000LL) macro94 #define BATTERY_UNKNOWN_TIME (2 * MSEC_PER_SEC)95 #define POWER_ON_KEY_TIME (2 * MSEC_PER_SEC)96 #define UNPLUGGED_SHUTDOWN_TIME (10 * MSEC_PER_SEC)97 #define UNPLUGGED_DISPLAY_TIME (3 * MSEC_PER_SEC)98 #define MAX_BATT_LEVEL_WAIT_TIME (3 * MSEC_PER_SEC)211 return tm.tv_sec * MSEC_PER_SEC + (tm.tv_nsec / NSEC_PER_MSEC); in curr_time_ms()