Searched refs:curr_cycle (Results 1 – 4 of 4) sorted by relevance
63 uint32_t curr_cycle = TI_DM_TIMER_READ(TCRR); in ti_dmtimer_isr() local64 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() local99 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() local114 return curr_cycle; in sys_clock_cycle_get_32()126 uint32_t curr_cycle = TI_DM_TIMER_READ(TCRR); in sys_clock_elapsed() local127 uint32_t delta_cycles = curr_cycle - last_cycle; in sys_clock_elapsed()
118 uint64_t curr_cycle = rdtsc(); in set_trigger() local119 uint64_t delta_cycles = deadline - MIN(deadline, curr_cycle); in set_trigger()133 uint64_t curr_cycle = rdtsc(); in isr() local134 uint64_t delta_cycles = curr_cycle - last_cycle; in isr()194 uint64_t curr_cycle = rdtsc(); in sys_clock_elapsed() local195 uint64_t delta_cycles = curr_cycle - last_cycle; in sys_clock_elapsed()
98 uint64_t curr_cycle = arm_arch_timer_count(); in arm_arch_timer_compare_isr() local99 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() local176 uint64_t delta_cycles = curr_cycle - last_cycle; in sys_clock_elapsed()
36 uint64_t curr_cycle; in timer_period_fn() local43 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() local81 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 …]