Home
last modified time | relevance | path

Searched refs:epoch_cyc (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/kernel/time/
Dsched_clock.c93 cyc = (rd->read_sched_clock() - rd->epoch_cyc) & in sched_clock_noinstr()
147 ns = rd.epoch_ns + cyc_to_ns((cyc - rd.epoch_cyc) & rd.sched_clock_mask, rd.mult, rd.shift); in update_sched_clock()
150 rd.epoch_cyc = cyc; in update_sched_clock()
193 ns = rd.epoch_ns + cyc_to_ns((cyc - rd.epoch_cyc) & rd.sched_clock_mask, rd.mult, rd.shift); in sched_clock_register()
200 rd.epoch_cyc = new_epoch; in sched_clock_register()
272 return cd.read_data[seq & 1].epoch_cyc; in suspended_sched_clock_read()
290 rd->epoch_cyc = cd.actual_read_sched_clock(); in sched_clock_resume()
/linux-6.6.21/include/linux/
Dsched_clock.h29 u64 epoch_cyc; member
/linux-6.6.21/drivers/perf/
Driscv_pmu.c58 userpg->time_cycles = rd->epoch_cyc; in arch_perf_update_userpage()
66 ns = mul_u64_u32_shr(rd->epoch_cyc, rd->mult, rd->shift); in arch_perf_update_userpage()
Darm_pmuv3.c1402 userpg->time_cycles = rd->epoch_cyc; in device_initcall()
1410 ns = mul_u64_u32_shr(rd->epoch_cyc, rd->mult, rd->shift); in device_initcall()