Home
last modified time | relevance | path

Searched refs:NR_LOOPS (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_atomic_operations_vs_interrupt_disabling_module/
Dtest-cmpxchg-nolock.c40 #define NR_LOOPS 20000 macro
54 for (i = 0; i < NR_LOOPS; i++) { in do_testbaseline()
63 printk(KERN_ALERT "number of loops: %d\n", NR_LOOPS); in do_testbaseline()
65 time = div_u64_rem(time, NR_LOOPS, &rem); in do_testbaseline()
81 for (i = 0; i < NR_LOOPS; i++) { in do_test_sync_cmpxchg()
94 printk(KERN_ALERT "number of loops: %d\n", NR_LOOPS); in do_test_sync_cmpxchg()
96 time = div_u64_rem(time, NR_LOOPS, &rem); in do_test_sync_cmpxchg()
112 for (i = 0; i < NR_LOOPS; i++) { in do_test_cmpxchg()
121 printk(KERN_ALERT "number of loops: %d\n", NR_LOOPS); in do_test_cmpxchg()
123 time = div_u64_rem(time, NR_LOOPS, &rem); in do_test_cmpxchg()
[all …]
/external/linux-kselftest/tools/testing/selftests/rseq/
Drun_param_test.sh64 NR_LOOPS=10000
69 do_tests -${INJECT_LIST[i]} ${NR_LOOPS}
72 NR_LOOPS=
85 NR_LOOPS=-1
93 NR_LOOPS=
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/
Dnull_syscall.c12 #define NR_LOOPS 10000000 macro
144 do_null_syscall(NR_LOOPS); in main()
153 printf("%10.2f ns %10.2f cycles\n", (float)elapsed_ns / NR_LOOPS, in main()
154 (float)elapsed_tb * timebase_multiplier / NR_LOOPS); in main()