/tools/testing/selftests/sync/ |
D | sync_stress_consumer.c | 55 int iterations; member 69 int iterations = test_data_mpsc.iterations; in mpsc_producer_thread() local 71 for (i = 0; i < iterations; i++) { in mpsc_producer_thread() 81 if ((iterations + id) % 8 != 0) { in mpsc_producer_thread() 111 int iterations = test_data_mpsc.iterations; in mpcs_consumer_thread() local 114 for (it = 1; it <= iterations; it++) { in mpcs_consumer_thread() 132 if (iterations % 8 != 0) { in mpcs_consumer_thread() 155 int iterations = 1 << 12; in test_consumer_stress_multi_producer_single_consumer() local 168 test_data_mpsc.iterations = iterations; in test_consumer_stress_multi_producer_single_consumer()
|
D | sync_stress_parallelism.c | 35 int iterations; member 44 int iterations = test_data_two_threads.iterations; in test_stress_two_threads_shared_timeline_thread() local 47 for (i = 0; i < iterations; i++) { in test_stress_two_threads_shared_timeline_thread() 84 test_data_two_threads.iterations = 1 << 16; in test_stress_two_threads_shared_timeline() 105 test_data_two_threads.iterations * 2, in test_stress_two_threads_shared_timeline()
|
/tools/testing/selftests/powerpc/security/ |
D | rfi_flush.c | 34 static void syscall_loop(char *p, unsigned long iterations, in syscall_loop() argument 37 for (unsigned long i = 0; i < iterations; i++) { in syscall_loop() 51 unsigned long iterations = 100000, zero_size = 24 * 1024; in rfi_flush_test() local 94 l1d_misses_expected = iterations * (zero_size / CACHELINE_SIZE - 2); in rfi_flush_test() 99 syscall_loop(p, iterations, zero_size); in rfi_flush_test()
|
D | entry_flush.c | 35 static void syscall_loop(char *p, unsigned long iterations, in syscall_loop() argument 38 for (unsigned long i = 0; i < iterations; i++) { in syscall_loop() 52 unsigned long iterations = 100000, zero_size = 24 * 1024; in entry_flush_test() local 97 l1d_misses_expected = iterations * (zero_size / CACHELINE_SIZE - 2); in entry_flush_test() 102 syscall_loop(p, iterations, zero_size); in entry_flush_test()
|
/tools/testing/selftests/powerpc/benchmarks/ |
D | mmap_bench.c | 21 static int iterations = ITERATIONS; variable 37 unsigned long i = iterations; in test_mmap() 80 iterations = atoi(optarg); in main()
|
D | fork.c | 72 static unsigned long iterations; variable 103 iterations++; in bench_fork() 125 iterations++; in bench_vfork() 173 iterations++; in bench_thread() 179 unsigned long i = iterations; in sigalrm_handler()
|
D | context_switch.c | 143 static unsigned long iterations; variable 148 unsigned long i = iterations; in sigalrm_handler() 194 iterations += 2; in pipe_thread1() 236 iterations += 2; in yield_thread1() 366 iterations += 2; in futex_thread1()
|
/tools/testing/selftests/timers/ |
D | leap-a-day.c | 185 int iterations = 10; in main() local 196 iterations = atoi(optarg); in main() 230 if (iterations < 0) in main() 233 printf("Running for %i iterations. Press ctrl-c to stop\n", iterations); in main() 372 if ((iterations != -1) && !(--iterations)) in main()
|
/tools/testing/selftests/kvm/ |
D | dirty_log_test.c | 267 static void run_test(enum vm_guest_mode mode, unsigned long iterations, in run_test() argument 364 while (iteration < iterations) { in run_test() 430 unsigned long iterations = TEST_HOST_LOOP_N; in main() local 469 iterations = strtol(optarg, NULL, 10); in main() 495 TEST_ASSERT(iterations > 2, "Iterations must be greater than two"); in main() 499 iterations, interval); in main() 509 run_test(i, iterations, interval, phys_offset); in main()
|
/tools/testing/selftests/powerpc/stringloops/ |
D | memcmp.c | 77 int iterations = islarge ? LARGE_ITERATIONS : ITERATIONS; in testcase() local 93 for (i = 0; i < iterations; i++) { in testcase() 119 for (i = 0; i < iterations; i++) { in testcase()
|
/tools/spi/ |
D | spidev_test.c | 42 static int iterations; variable 282 iterations = atoi(optarg); in parse_opts() 461 while (iterations-- > 0) { in main()
|
/tools/usb/ |
D | testusb.c | 45 unsigned iterations; member 387 param.iterations = 1000; in main() 408 if (parse_num(¶m.iterations, optarg)) in main()
|
/tools/testing/selftests/media_tests/ |
D | regression_test.txt | 27 The test for a random number of iterations or until user kills it with a
|
/tools/perf/util/ |
D | machine.c | 2000 struct iterations { struct 2013 struct iterations *iter, in add_callchain_ip() argument 2098 static void save_iterations(struct iterations *iter, in save_iterations() 2118 struct iterations *iter) in remove_loops() 2323 struct iterations iter[nr]; in thread__resolve_callchain_sample() 2354 memset(iter, 0, sizeof(struct iterations) * nr); in thread__resolve_callchain_sample()
|