Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/sched/eas/
Dsched_dl_runtime.c40 uint64_t now_usec, end_usec; in dl_fn() local
61 now_usec = (ts.tv_sec) * USEC_PER_SEC + (ts.tv_nsec / 1000); in dl_fn()
62 end_usec = now_usec + 3 * USEC_PER_SEC; in dl_fn()
63 while (now_usec < end_usec) { in dl_fn()
74 now_usec = (ts.tv_sec) * USEC_PER_SEC + (ts.tv_nsec / 1000); in dl_fn()
Dsched_boost.c47 unsigned long long now_usec, end_usec; in do_work() local
54 now_usec = ts.tv_sec * USEC_PER_SEC + ts.tv_nsec / 1000; in do_work()
55 end_usec = now_usec + TEST_LENGTH_USEC/2; in do_work()
57 while (now_usec < end_usec) { in do_work()
64 now_usec = ts.tv_sec * USEC_PER_SEC + ts.tv_nsec / 1000; in do_work()
Dutil.c36 unsigned long long now_usec, end_usec; in burn() local
49 now_usec = ts.tv_sec * USEC_PER_SEC + ts.tv_nsec / 1000; in burn()
50 if (now_usec > end_usec) in burn()
/external/kmod/shared/
Dutil.h53 unsigned long long now_usec(void);
Dutil.c521 unsigned long long now_usec(void) in now_usec() function
/external/kmod/testsuite/
Dtestsuite.c598 start_usec = now_usec(); in test_run_parent_check_outputs()
604 unsigned long long curr_usec = now_usec(); in test_run_parent_check_outputs()