Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/timerfd/
Dtimerfd01.c141 struct tmr_type clks[] = { in main() local
154 for (i = 0; i < sizeof(clks) / sizeof(clks[0]); i++) { in main()
157 fprintf(stdout, "| testing %s\n", clks[i].name); in main()
163 tnow = getustime(clks[i].id); in main()
164 if ((tfd = timerfd_create(clks[i].id, 0)) == -1) { in main()
177 ttmr = getustime(clks[i].id); in main()
185 tnow = getustime(clks[i].id); in main()
195 ttmr = getustime(clks[i].id); in main()
203 tnow = getustime(clks[i].id); in main()
227 ttmr = getustime(clks[i].id); in main()
[all …]
/external/valgrind/memcheck/tests/linux/
Dtimerfd-syscall.c180 struct tmr_type clks[] = in main() local
188 for (i = 0; i < sizeof(clks) / sizeof(clks[0]); i++) in main()
191 fprintf(stderr, "| testing %s\n", clks[i].name); in main()
197 tnow = getustime(clks[i].id); in main()
198 if ((tfd = timerfd_create(clks[i].id, 0)) == -1) in main()
212 ttmr = getustime(clks[i].id); in main()
221 tnow = getustime(clks[i].id); in main()
232 ttmr = getustime(clks[i].id); in main()
240 tnow = getustime(clks[i].id); in main()
265 ttmr = getustime(clks[i].id); in main()
[all …]