Home
last modified time | relevance | path

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

/Linux-v6.1/tools/perf/bench/
Dmem-functions.c240 u64 cycle_start = 0ULL, cycle_end = 0ULL; in do_memcpy_cycles() local
249 cycle_end = get_cycles(); in do_memcpy_cycles()
251 return cycle_end - cycle_start; in do_memcpy_cycles()
306 u64 cycle_start = 0ULL, cycle_end = 0ULL; in do_memset_cycles() local
319 cycle_end = get_cycles(); in do_memset_cycles()
321 return cycle_end - cycle_start; in do_memset_cycles()
/Linux-v6.1/net/sched/
Dsch_taprio.c162 ktime_t intv_end, cycle_ext_end, cycle_end; in get_interval_end_time() local
164 cycle_end = ktime_add_ns(intv_start, sched->cycle_time - cycle_elapsed); in get_interval_end_time()
166 cycle_ext_end = ktime_add(cycle_end, sched->cycle_time_extension); in get_interval_end_time()
168 if (ktime_before(intv_end, cycle_end)) in get_interval_end_time()
171 ktime_after(admin->base_time, cycle_end) && in get_interval_end_time()
175 return cycle_end; in get_interval_end_time()
196 ktime_t curr_intv_start, curr_intv_end, cycle_end, packet_transmit_time; in find_entry_to_transmit() local
217 cycle_end = ktime_add_ns(curr_intv_end, cycle); in find_entry_to_transmit()
224 if (ktime_after(curr_intv_start, cycle_end)) in find_entry_to_transmit()