Searched refs:clock_index (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/timens/ |
H A D | timens.c | 88 static int test_gettime(clockid_t clock_index, bool raw_syscall, time_t offset) in test_gettime() argument 94 if (check_skip(clocks[clock_index].id)) in test_gettime() 97 switch (clocks[clock_index].id) { in test_gettime() 107 if (_gettime(clocks[clock_index].id, &parent_ts_old, raw_syscall)) in test_gettime() 116 if (_gettime(clocks[clock_index].id, &cur_ts, raw_syscall)) in test_gettime() 122 clocks[clock_index].name, entry, parent_ts_old.tv_sec, in test_gettime() 130 if (_gettime(clocks[clock_index].id, &cur_ts, raw_syscall)) in test_gettime() 136 clocks[clock_index].name, entry, parent_ts_old.tv_sec, in test_gettime() 139 clock_settime(clocks[clock_index].id, &cur_ts); in test_gettime() 144 clocks[clock_index].name, entry); in test_gettime()
|