Home
last modified time | relevance | path

Searched refs:NSEC_PER_MSEC (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/test/
Dtest-time-util.c135 assert_se(u == 5 * NSEC_PER_SEC + 500 * NSEC_PER_MSEC); in TEST()
137 assert_se(u == 5 * NSEC_PER_SEC + 500 * NSEC_PER_MSEC); in TEST()
139 assert_se(u == 5 * NSEC_PER_SEC + 500 * NSEC_PER_MSEC); in TEST()
141 assert_se(u == 5 * NSEC_PER_SEC + 500 * NSEC_PER_MSEC + 500 * NSEC_PER_USEC); in TEST()
143 assert_se(u == 220 * NSEC_PER_MSEC); in TEST()
155 assert_se(u == 3100 * NSEC_PER_MSEC); in TEST()
157 assert_se(u == 3100 * NSEC_PER_MSEC); in TEST()
159 assert_se(u == 200 * NSEC_PER_MSEC + 3); in TEST()
161 assert_se(u == 3300 * NSEC_PER_MSEC); in TEST()
163 assert_se(u == 4300 * NSEC_PER_MSEC); in TEST()
Dtest-conf-parser.c198 test_config_parse_nsec_one("100ms", 100 * NSEC_PER_MSEC); in TEST()
/systemd-251/src/basic/
Dtime-util.h49 #define NSEC_PER_MSEC ((nsec_t) 1000000ULL) macro
Dtime-util.c1145 { "msec", NSEC_PER_MSEC }, in extract_nsec_multiplier()
1146 { "ms", NSEC_PER_MSEC }, in extract_nsec_multiplier()
/systemd-251/src/timesync/
Dtimesyncd-manager.c308 tmx.time.tv_sec, tmx.time.tv_usec / NSEC_PER_MSEC, in manager_adjust_clock()