Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/timer/
Dti_dmtimer.c63 uint32_t curr_cycle = TI_DM_TIMER_READ(TCRR); in ti_dmtimer_isr() local
64 uint32_t delta_cycles = curr_cycle - last_cycle; in ti_dmtimer_isr()
67 last_cycle = curr_cycle; in ti_dmtimer_isr()
74 uint64_t next_cycle = curr_cycle + CYC_PER_TICK; in ti_dmtimer_isr()
98 uint32_t curr_cycle = TI_DM_TIMER_READ(TCRR); in sys_clock_set_timeout() local
99 uint32_t next_cycle = curr_cycle + (ticks * CYC_PER_TICK); in sys_clock_set_timeout()
110 uint32_t curr_cycle = TI_DM_TIMER_READ(TCRR); in sys_clock_cycle_get_32() local
114 return curr_cycle; in sys_clock_cycle_get_32()
126 uint32_t curr_cycle = TI_DM_TIMER_READ(TCRR); in sys_clock_elapsed() local
127 uint32_t delta_cycles = curr_cycle - last_cycle; in sys_clock_elapsed()
Dapic_tsc.c118 uint64_t curr_cycle = rdtsc(); in set_trigger() local
119 uint64_t delta_cycles = deadline - MIN(deadline, curr_cycle); in set_trigger()
133 uint64_t curr_cycle = rdtsc(); in isr() local
134 uint64_t delta_cycles = curr_cycle - last_cycle; in isr()
194 uint64_t curr_cycle = rdtsc(); in sys_clock_elapsed() local
195 uint64_t delta_cycles = curr_cycle - last_cycle; in sys_clock_elapsed()
Darm_arch_timer.c98 uint64_t curr_cycle = arm_arch_timer_count(); in arm_arch_timer_compare_isr() local
99 uint64_t delta_cycles = curr_cycle - last_cycle; in arm_arch_timer_compare_isr()
175 uint64_t curr_cycle = arm_arch_timer_count(); in sys_clock_elapsed() local
176 uint64_t delta_cycles = curr_cycle - last_cycle; in sys_clock_elapsed()
/Zephyr-latest/tests/kernel/timer/timer_behavior/src/
Djitter_drift.c36 uint64_t curr_cycle; in timer_period_fn() local
43 curr_cycle = k_cycle_get_64(); in timer_period_fn()
45 curr_cycle = k_cycle_get_32(); in timer_period_fn()
47 periodic_data[periodic_idx] = curr_cycle; in timer_period_fn()
50 periodic_start = curr_cycle; in timer_period_fn()
54 periodic_end = curr_cycle; in timer_period_fn()
74 uint64_t curr_cycle; in timer_startdelay_fn() local
81 curr_cycle = k_cycle_get_64(); in timer_startdelay_fn()
83 curr_cycle = k_cycle_get_32(); in timer_startdelay_fn()
85 periodic_data[periodic_idx] = curr_cycle; in timer_startdelay_fn()
[all …]