Home
last modified time | relevance | path

Searched refs:step (Results 1 – 25 of 41) sorted by relevance

12

/tools/testing/radix-tree/
A Dbenchmark.c53 unsigned long size, unsigned long step) in benchmark_insert() argument
70 size, step, nsec); in benchmark_insert()
91 size, step, nsec); in benchmark_tagging()
112 size, step, nsec); in benchmark_delete()
120 benchmark_insert(&tree, size, step); in benchmark_size()
121 benchmark_tagging(&tree, size, step); in benchmark_size()
127 size, step, tagged); in benchmark_size()
129 size, step, normal); in benchmark_size()
131 benchmark_delete(&tree, size, step); in benchmark_size()
148 for (s = 0; step[s]; s++) in benchmark()
[all …]
/tools/testing/selftests/bpf/progs/
A Dhtab_mem_bench.c14 unsigned int step; member
32 ctx->from += ctx->step; in write_htab()
50 ctx->from += ctx->step; in del_htab()
61 update.step = nr_thread; in overwrite()
73 update.step = nr_thread; in batch_add_batch_del()
89 update.step = nr_thread / 2; in add_only()
101 update.step = nr_thread / 2; in del_only()
A Dbpf_iter_bpf_percpu_array_map.c26 __u32 step; in dump_bpf_percpu_array_map() local
34 step = 8; in dump_bpf_percpu_array_map()
37 pptr += step; in dump_bpf_percpu_array_map()
A Dbpf_iter_bpf_percpu_hash_map.c34 __u32 step; in dump_bpf_percpu_hash_map() local
44 step = 8; in dump_bpf_percpu_hash_map()
47 pptr += step; in dump_bpf_percpu_hash_map()
A Dverifier_arena_large.c178 int max_idx, int step) in alloc_pages() argument
187 return step; in alloc_pages()
192 return step + 100; in alloc_pages()
196 return step + 200; in alloc_pages()
/tools/testing/selftests/bpf/map_tests/
A Dlpm_trie_map_batch_ops.c71 __u32 step, count, total, total_success; in test_lpm_trie_map_batch_ops() local
93 for (step = 1; step < max_entries; step++) { in test_lpm_trie_map_batch_ops()
103 count = step; in test_lpm_trie_map_batch_ops()
123 count = step; in test_lpm_trie_map_batch_ops()
125 if (max_entries - total < step) in test_lpm_trie_map_batch_ops()
A Dhtab_map_batch_ops.c84 int err, step, value_size; in __test_map_lookup_and_delete_batch() local
141 for (step = 1; step < max_entries; step++) { in __test_map_lookup_and_delete_batch()
149 count = step; in __test_map_lookup_and_delete_batch()
184 count = step; in __test_map_lookup_and_delete_batch()
186 if (max_entries - total < step) in __test_map_lookup_and_delete_batch()
212 count = step; in __test_map_lookup_and_delete_batch()
A Darray_map_batch_ops.c76 int err, step, value_size; in __test_map_lookup_and_update_batch() local
100 for (step = 1; step < max_entries; step++) { in __test_map_lookup_and_update_batch()
110 count = step; in __test_map_lookup_and_update_batch()
/tools/testing/selftests/net/bench/page_pool/
A Dtime_bench.c216 bool time_bench_loop(uint32_t loops, int step, char *txt, void *data, in time_bench_loop() argument
225 rec.step = step; in time_bench_loop()
243 rec.ns_per_call_decimal, rec.step, rec.time_sec, in time_bench_loop()
297 int step = 0; in time_bench_print_stats_cpumask() local
313 rec->ns_per_call_decimal, rec->step, rec->time_sec, in time_bench_print_stats_cpumask()
320 step = rec->step; in time_bench_print_stats_cpumask()
326 average, sum.records, step); in time_bench_print_stats_cpumask()
329 void time_bench_run_concurrent(uint32_t loops, int step, void *data, in time_bench_run_concurrent() argument
357 c->rec.step = step; in time_bench_run_concurrent()
A Dtime_bench.h15 uint32_t step; /* option for e.g. bulk invocations */ member
201 bool time_bench_loop(uint32_t loops, int step, char *txt, void *data,
205 void time_bench_run_concurrent(uint32_t loops, int step, void *data,
/tools/testing/selftests/drivers/net/hw/
A Dethtool_rmon.sh74 local step=
79 step="$set-pkts${bucket[0]}to${bucket[1]} on $iface"
83 log_test_xfail "$if does not support the required MTU for $step"
89 check_err 1 "$step failed"
92 log_test "$step"
/tools/perf/ui/
A Dprogress.c23 u64 nr = DIV_ROUND_UP(p->curr - last, p->step); in ui_progress__update()
25 p->next += nr * p->step; in ui_progress__update()
34 p->next = p->step = total / 16 ?: 1; in __ui_progress__init()
A Dprogress.h11 u64 curr, next, step, total; member
/tools/testing/selftests/tc-testing/
A DTdcResults.py54 self.steps.append(step)
103 for step in t.steps:
104 ftap += '\n\t\t{}'.format(step)
121 for step in t.steps:
122 xunit += '\t{}\n'.format(escape(step))
/tools/perf/arch/x86/util/
A Dheader.c29 int family = -1, model = -1, step = -1; in __get_cpuid() local
40 step = a & 0xf; in __get_cpuid()
50 nb = scnprintf(buffer, sz, fmt, vendor, family, model, step); in __get_cpuid()
/tools/testing/selftests/timers/
A D.gitignore22 freq-step
A DMakefile11 skew_consistency clocksource-switch freq-step leap-a-day \
/tools/testing/selftests/alsa/
A Dmixer-test.c769 long j, step; in test_ctl_write_valid_integer() local
776 step = snd_ctl_elem_info_get_step(ctl->info); in test_ctl_write_valid_integer()
777 if (!step) in test_ctl_write_valid_integer()
778 step = 1; in test_ctl_write_valid_integer()
782 j <= snd_ctl_elem_info_get_max(ctl->info); j += step) { in test_ctl_write_valid_integer()
798 long long j, step; in test_ctl_write_valid_integer64() local
805 step = snd_ctl_elem_info_get_step64(ctl->info); in test_ctl_write_valid_integer64()
806 if (!step) in test_ctl_write_valid_integer64()
807 step = 1; in test_ctl_write_valid_integer64()
811 j <= snd_ctl_elem_info_get_max64(ctl->info); j += step) { in test_ctl_write_valid_integer64()
/tools/bpf/bpftool/
A Dmap.c96 unsigned int i, n, step; in do_dump_btf() local
101 step = round_up(map_info->value_size, 8); in do_dump_btf()
156 unsigned int i, n, step; in print_entry_json() local
159 step = round_up(info->value_size, 8); in print_entry_json()
172 print_hex_data_json(value + i * step, in print_entry_json()
276 unsigned int i, n, step; in print_entry_plain() local
279 step = round_up(info->value_size, 8); in print_entry_plain()
290 fprint_hex(stdout, value + i * step, in print_entry_plain()
329 unsigned int i, n, step; in fill_per_cpu_value() local
335 step = round_up(info->value_size, 8); in fill_per_cpu_value()
[all …]
/tools/testing/selftests/seccomp/
A Dseccomp_benchmark.c54 unsigned long long i, samples, step = 9973; in calibrate() local
64 for (i = 0; i < step; i++) { in calibrate()
70 samples += step; in calibrate()
/tools/testing/selftests/filesystems/statmount/
A Dstatmount_test.c612 const unsigned int step = 3; in test_listmount_tree() local
613 const unsigned int size = (1 << log2_num) + step + 1; in test_listmount_tree()
635 for (i = 0; i < size - step;) { in test_listmount_tree()
636 res = listmount(LSMT_ROOT, 0, i ? list2[i - 1] : 0, list2 + i, step, 0); in test_listmount_tree()
641 if (res < step) in test_listmount_tree()
/tools/perf/bench/
A Dnuma.c612 int step; in parse_setup_cpu_list() local
631 step = 1; in parse_setup_cpu_list()
634 step = atol(tok_step + 1); in parse_setup_cpu_list()
635 BUG_ON(step <= 0 || step >= g->p.nr_cpus); in parse_setup_cpu_list()
673 for (bind_cpu = bind_cpu_0; bind_cpu <= bind_cpu_1; bind_cpu += step) { in parse_setup_cpu_list()
759 int step; in parse_setup_node_list() local
778 step = 1; in parse_setup_node_list()
781 step = atol(tok_step + 1); in parse_setup_node_list()
782 BUG_ON(step <= 0 || step >= g->p.nr_nodes); in parse_setup_node_list()
793 dprintf("NODEs: %d-%d #%d\n", bind_node_0, bind_node_1, step); in parse_setup_node_list()
[all …]
/tools/perf/ui/tui/
A Dprogress.c12 p->next = p->step = p->total / (SLtt_Screen_Cols - 2) ?: 1; in __tui_progress__init()
/tools/power/cpupower/bench/
A DREADME-BENCH111 -x, --load-step=<long int> time to be added to load time, in us
112 -y, --sleep-step=<long int> time to be added to sleep time, in us
/tools/testing/selftests/kvm/arm64/
A Dvgic_irq.c365 uint32_t intid, prio, step = KVM_PRIO_STEPS; in test_inject_preemption() local
371 for (i = 0, prio = (num - 1) * step; i < num; i++, prio -= step) { in test_inject_preemption()

Completed in 33 milliseconds

12