Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/timens/
Dtimens.c92 struct timespec child_ts_new, parent_ts_old, cur_ts; in test_gettime() local
112 child_ts_new.tv_nsec = parent_ts_old.tv_nsec; in test_gettime()
113 child_ts_new.tv_sec = parent_ts_old.tv_sec + offset; in test_gettime()
121 if (difftime(cur_ts.tv_sec, child_ts_new.tv_sec) < precision) { in test_gettime()
125 child_ts_new.tv_sec, cur_ts.tv_sec); in test_gettime()
139 child_ts_new.tv_sec, cur_ts.tv_sec); in test_gettime()