Home
last modified time | relevance | path

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

12

/tools/testing/radix-tree/
Dbenchmark.c53 unsigned long size, unsigned long step) in benchmark_insert() argument
61 for (index = 0 ; index < size ; index += step) in benchmark_insert()
70 size, step, nsec); in benchmark_insert()
74 unsigned long size, unsigned long step) in benchmark_tagging() argument
82 for (index = 0 ; index < size ; index += step) in benchmark_tagging()
91 size, step, nsec); in benchmark_tagging()
95 unsigned long size, unsigned long step) in benchmark_delete() argument
103 for (index = 0 ; index < size ; index += step) in benchmark_delete()
112 size, step, nsec); in benchmark_delete()
115 static void benchmark_size(unsigned long size, unsigned long step) in benchmark_size() argument
[all …]
/tools/testing/selftests/bpf/progs/
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()
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()
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()
Dverifier_arena_large.c80 int max_idx, int step) in alloc_pages() argument
89 return step; in alloc_pages()
94 return step + 100; in alloc_pages()
98 return step + 200; in alloc_pages()
/tools/testing/selftests/bpf/map_tests/
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()
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()
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/drivers/net/hw/
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/
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()
Dprogress.h11 u64 curr, next, step, total; member
/tools/testing/selftests/tc-testing/
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/
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/
D.gitignore22 freq-step
DMakefile11 skew_consistency clocksource-switch freq-step leap-a-day \
/tools/testing/selftests/alsa/
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/
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()
106 ret = btf_dumper_type(d, value_id, value + i * step); 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
[all …]
/tools/testing/selftests/seccomp/
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/
Dstatmount_test.c613 const unsigned int step = 3; in test_listmount_tree() local
614 const unsigned int size = (1 << log2_num) + step + 1; in test_listmount_tree()
636 for (i = 0; i < size - step;) { in test_listmount_tree()
637 res = listmount(LSMT_ROOT, 0, i ? list2[i - 1] : 0, list2 + i, step, 0); in test_listmount_tree()
642 if (res < step) in test_listmount_tree()
/tools/perf/bench/
Dnuma.c559 int step; in parse_setup_cpu_list() local
578 step = 1; in parse_setup_cpu_list()
581 step = atol(tok_step + 1); in parse_setup_cpu_list()
582 BUG_ON(step <= 0 || step >= g->p.nr_cpus); in parse_setup_cpu_list()
605 dprintf("CPUs: %d_%d-%d#%dx%d\n", bind_cpu_0, bind_len, bind_cpu_1, step, mul); in parse_setup_cpu_list()
620 for (bind_cpu = bind_cpu_0; bind_cpu <= bind_cpu_1; bind_cpu += step) { in parse_setup_cpu_list()
706 int step; in parse_setup_node_list() local
725 step = 1; in parse_setup_node_list()
728 step = atol(tok_step + 1); in parse_setup_node_list()
729 BUG_ON(step <= 0 || step >= g->p.nr_nodes); in parse_setup_node_list()
[all …]
/tools/perf/ui/tui/
Dprogress.c12 p->next = p->step = p->total / (SLtt_Screen_Cols - 2) ?: 1; in __tui_progress__init()
/tools/power/cpupower/bench/
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/aarch64/
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()
/tools/perf/scripts/perl/Perf-Trace-Util/
DREADME22 perl Makefile.PL # to create a Makefile for the next step
/tools/perf/util/
Devlist.c2482 size_t step = eet->times_step; in event_enable_timer__process() local
2483 size_t pos = step / 2; in event_enable_timer__process()
2485 if (step & 1) { in event_enable_timer__process()
2498 step += 1; in event_enable_timer__process()
2499 pos = step / 2; in event_enable_timer__process()
2503 int ms = times[step] - times[step - 1]; in event_enable_timer__process()
2505 eet->times_step = step; in event_enable_timer__process()

12