Searched refs:cycle_end (Results 1 – 2 of 2) sorted by relevance
/linux/tools/perf/bench/ |
H A D | mem-functions.c | 240 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/net/sched/ |
H A D | sch_taprio.c | 236 ktime_t intv_end, cycle_ext_end, cycle_end; in get_interval_end_time() local 238 cycle_end = ktime_add_ns(intv_start, sched->cycle_time - cycle_elapsed); in get_interval_end_time() 240 cycle_ext_end = ktime_add(cycle_end, sched->cycle_time_extension); in get_interval_end_time() 242 if (ktime_before(intv_end, cycle_end)) in get_interval_end_time() 245 ktime_after(admin->base_time, cycle_end) && in get_interval_end_time() 249 return cycle_end; in get_interval_end_time() 327 ktime_t curr_intv_start, curr_intv_end, cycle_end, packet_transmit_time; in find_entry_to_transmit() local 348 cycle_end = ktime_add_ns(curr_intv_end, cycle); in find_entry_to_transmit() 355 if (ktime_after(curr_intv_start, cycle_end)) in find_entry_to_transmit()
|