Searched refs:cycles (Results 1 – 4 of 4) sorted by relevance
/kernel/locking/ |
D | test-ww_mutex.c | 317 struct test_cycle *cycles; in __test_cycle() local 321 cycles = kmalloc_array(nthreads, sizeof(*cycles), GFP_KERNEL); in __test_cycle() 322 if (!cycles) in __test_cycle() 326 struct test_cycle *cycle = &cycles[n]; in __test_cycle() 330 cycle->b_mutex = &cycles[0].a_mutex; in __test_cycle() 332 cycle->b_mutex = &cycles[n + 1].a_mutex; in __test_cycle() 335 cycle->a_signal = &cycles[last].b_signal; in __test_cycle() 337 cycle->a_signal = &cycles[n - 1].b_signal; in __test_cycle() 345 queue_work(wq, &cycles[n].work); in __test_cycle() 351 struct test_cycle *cycle = &cycles[n]; in __test_cycle() [all …]
|
/kernel/kcsan/ |
D | debugfs.c | 67 u64 cycles; in microbenchmark() local 79 cycles = get_cycles(); in microbenchmark() 86 cycles = get_cycles() - cycles; in microbenchmark() 88 pr_info("%s end | cycles: %llu\n", __func__, cycles); in microbenchmark()
|
/kernel/time/ |
D | timekeeping.c | 392 static inline u64 timekeeping_cycles_to_ns(const struct tk_read_base *tkr, u64 cycles) in timekeeping_cycles_to_ns() argument 397 delta = clocksource_delta(cycles, tkr->cycle_last, tkr->mask); in timekeeping_cycles_to_ns() 436 u64 delta, cycles = tk_clock_read(tkr); in fast_tk_get_delta_ns() local 438 delta = clocksource_delta(cycles, tkr->cycle_last, tkr->mask); in fast_tk_get_delta_ns() 1086 systime_snapshot->cycles = now; in ktime_get_snapshot() 1224 u64 cycles, now, interval_start; in get_device_system_crosststamp() local 1250 cycles = system_counterval.cycles; in get_device_system_crosststamp() 1258 if (!cycle_between(interval_start, cycles, now)) { in get_device_system_crosststamp() 1261 cycles = interval_start; in get_device_system_crosststamp() 1272 system_counterval.cycles); in get_device_system_crosststamp() [all …]
|
D | timecounter.c | 70 u64 cycles, u64 mask, u64 frac) in cc_cyc2ns_backwards() argument 72 u64 ns = (u64) cycles; in cc_cyc2ns_backwards()
|