Searched refs:parent_ts_old (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/timens/ |
H A D | timens.c | 90 struct timespec child_ts_new, parent_ts_old, cur_ts; in test_gettime() local 107 if (_gettime(clocks[clock_index].id, &parent_ts_old, raw_syscall)) in test_gettime() 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() 122 clocks[clock_index].name, entry, parent_ts_old.tv_sec, in test_gettime() 133 if (difftime(cur_ts.tv_sec, parent_ts_old.tv_sec) > DAY_IN_SEC) { in test_gettime() 136 clocks[clock_index].name, entry, parent_ts_old.tv_sec, in test_gettime()
|