Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/timens/
H A Dtimens.c90 struct timespec child_ts_new, parent_ts_old, cur_ts; in test_gettime() local
110 child_ts_new.tv_nsec = parent_ts_old.tv_nsec; in test_gettime()
111 child_ts_new.tv_sec = parent_ts_old.tv_sec + offset; in test_gettime()
119 if (difftime(cur_ts.tv_sec, child_ts_new.tv_sec) < precision) { in test_gettime()
123 child_ts_new.tv_sec, cur_ts.tv_sec); in test_gettime()
137 child_ts_new.tv_sec, cur_ts.tv_sec); in test_gettime()