Home
last modified time | relevance | path

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

/kernel/time/
Dudelay_test.c36 static int udelay_test_single(struct seq_file *s, int usecs, uint32_t iters) in udelay_test_single() argument
43 int allowed_error_ns = usecs * 5; in udelay_test_single()
50 udelay(usecs); in udelay_test_single()
58 if ((time_passed + allowed_error_ns) / 1000 < usecs) in udelay_test_single()
67 usecs, iters, usecs * 1000, in udelay_test_single()
68 (usecs * 1000) - allowed_error_ns, min, avg, max); in udelay_test_single()
78 int usecs; in udelay_test_show() local
83 usecs = udelay_test_usecs; in udelay_test_show()
87 if (usecs > 0 && iters > 0) { in udelay_test_show()
88 return udelay_test_single(s, usecs, iters); in udelay_test_show()
[all …]
/kernel/
Dlatencytop.c173 __account_scheduler_latency(struct task_struct *tsk, int usecs, int inter) in __account_scheduler_latency() argument
180 if (inter && usecs > 5000) in __account_scheduler_latency()
185 if (usecs <= 0) in __account_scheduler_latency()
190 lat.time = usecs; in __account_scheduler_latency()
191 lat.max = usecs; in __account_scheduler_latency()