Home
last modified time | relevance | path

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

/Linux-v5.15/tools/perf/bench/
Dmem-functions.c33 static int nr_loops = 1; variable
45 OPT_INTEGER('l', "nr_loops", &nr_loops,
193 size_total = (double)size * nr_loops; in bench_mem_common()
247 for (i = 0; i < nr_loops; ++i) in do_memcpy_cycles()
263 for (i = 0; i < nr_loops; ++i) in do_memcpy_gettimeofday()
269 return (double)(((double)size * nr_loops) / timeval2double(&tv_diff)); in do_memcpy_gettimeofday()
317 for (i = 0; i < nr_loops; ++i) in do_memset_cycles()
337 for (i = 0; i < nr_loops; ++i) in do_memset_gettimeofday()
343 return (double)(((double)size * nr_loops) / timeval2double(&tv_diff)); in do_memset_gettimeofday()
Dsched-messaging.c35 static unsigned int nr_loops = 100; variable
90 for (i = 0; i < nr_loops; i++) { in sender()
215 ctx->num_packets = num_fds * nr_loops; in group()
252 OPT_UINTEGER('l', "nr_loops", &nr_loops, "Specify the number of loops to run (default: 100)"),
Dnuma.c99 u32 nr_loops; member
178 OPT_UINTEGER('l', "nr_loops" , &p0.nr_loops, "max number of loops to run (default: unlimited)"),
809 chunk_1 = words/g->p.nr_loops; in do_work()
1112 (double)(l+1)/g->p.nr_loops*100.0, runtime_ns_max / NSEC_PER_SEC / 60.0); in show_summary()
1189 for (l = 0; l < g->p.nr_loops; l++) { in worker_thread()
1381 g->p.nr_loops, g->p.bytes_global/1024/1024); in print_summary()
1383 g->p.nr_loops, g->p.bytes_process/1024/1024); in print_summary()
1385 g->p.nr_loops, g->p.bytes_thread/1024/1024); in print_summary()
1735 p->nr_loops = -1; in init_params()
/Linux-v5.15/tools/perf/Documentation/
Dperf-bench.txt94 --nr_loops=::
170 --nr_loops::
194 --nr_loops::
/Linux-v5.15/kernel/trace/
Dring_buffer.c3594 int nr_loops = 0; in rb_reserve_next_event() local
3637 if (RB_WARN_ON(cpu_buffer, ++nr_loops > 1000)) in rb_reserve_next_event()
4424 int nr_loops = 0; in rb_get_reader_page() local
4437 if (RB_WARN_ON(cpu_buffer, ++nr_loops > 3)) { in rb_get_reader_page()
4616 int nr_loops = 0; in rb_buffer_peek() local
4627 if (RB_WARN_ON(cpu_buffer, ++nr_loops > 2)) in rb_buffer_peek()
4689 int nr_loops = 0; in rb_iter_peek() local
4717 if (++nr_loops > 3) in rb_iter_peek()