Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/events/
Dcore.c523 u64 running_len; in perf_sample_event_took() local
531 running_len = __this_cpu_read(running_sample_length); in perf_sample_event_took()
532 running_len -= running_len/NR_ACCUMULATED_SAMPLES; in perf_sample_event_took()
533 running_len += sample_len_ns; in perf_sample_event_took()
534 __this_cpu_write(running_sample_length, running_len); in perf_sample_event_took()
541 avg_len = running_len/NR_ACCUMULATED_SAMPLES; in perf_sample_event_took()