Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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)"),
805 chunk_1 = words/g->p.nr_loops; in do_work()
1096 (double)(l+1)/g->p.nr_loops*100.0, runtime_ns_max / NSEC_PER_SEC / 60.0); in show_summary()
1173 for (l = 0; l < g->p.nr_loops; l++) { in worker_thread()
1365 g->p.nr_loops, g->p.bytes_global/1024/1024); in print_summary()
1367 g->p.nr_loops, g->p.bytes_process/1024/1024); in print_summary()
1369 g->p.nr_loops, g->p.bytes_thread/1024/1024); in print_summary()
1719 p->nr_loops = -1; in init_params()
/kernel/linux/linux-5.10/tools/perf/Documentation/
Dperf-bench.txt94 --nr_loops=::
170 --nr_loops::
194 --nr_loops::
/kernel/linux/linux-5.10/kernel/trace/
Dring_buffer.c3363 int nr_loops = 0; in rb_reserve_next_event() local
3406 if (RB_WARN_ON(cpu_buffer, ++nr_loops > 1000)) in rb_reserve_next_event()
4193 int nr_loops = 0; in rb_get_reader_page() local
4206 if (RB_WARN_ON(cpu_buffer, ++nr_loops > 3)) { in rb_get_reader_page()
4385 int nr_loops = 0; in rb_buffer_peek() local
4396 if (RB_WARN_ON(cpu_buffer, ++nr_loops > 2)) in rb_buffer_peek()
4458 int nr_loops = 0; in rb_iter_peek() local
4486 if (++nr_loops > 3) in rb_iter_peek()