Searched refs:THREADS (Results 1 – 10 of 10) sorted by relevance
/linux/samples/pktgen/ |
H A D | parameters.sh | 57 export THREADS=$OPTARG 58 info "Number of threads to start: $THREADS" 114 if [ -z "$THREADS" ]; then 115 export THREADS=1 121 export L_THREAD=$(( THREADS + F_THREAD - 1 ))
|
H A D | pktgen_sample06_numa_awared_queue_irq_affinity.sh | 32 [ $THREADS -gt ${#irq_array[*]} -o $THREADS -gt ${#cpu_array[*]} ] && \ 33 err 1 "Thread number $THREADS exceeds: min (${#irq_array[*]},${#cpu_array[*]})" 53 for ((i = 0; i < $THREADS; i++)); do 109 for ((i = 0; i < $THREADS; i++)); do
|
H A D | README.rst | 24 -t : ($THREADS) threads to start
|
/linux/tools/testing/selftests/vDSO/ |
H A D | vdso_test_getrandom.c | 144 enum { TRIALS = 25000000, THREADS = 256 }; enumerator 202 pthread_t threads[THREADS]; in bench_multi() 205 for (size_t i = 0; i < THREADS; ++i) in bench_multi() 207 for (size_t i = 0; i < THREADS; ++i) in bench_multi() 211 …printf(" vdso: %u x %u times in %lu.%09lu seconds\n", TRIALS, THREADS, diff.tv_sec, diff.tv_nsec… in bench_multi() 214 for (size_t i = 0; i < THREADS; ++i) in bench_multi() 216 for (size_t i = 0; i < THREADS; ++i) in bench_multi() 220 …printf(" libc: %u x %u times in %lu.%09lu seconds\n", TRIALS, THREADS, diff.tv_sec, diff.tv_nsec… in bench_multi() 223 for (size_t i = 0; i < THREADS; ++i) in bench_multi() 225 for (size_t i = 0; i < THREADS; ++i) in bench_multi() [all …]
|
/linux/tools/perf/tests/ |
H A D | mmap-thread-lookup.c | 21 #define THREADS 4 macro 32 static struct thread_data threads[THREADS]; 110 for (i = 1; !err && i < THREADS; i++) in threads_create() 126 for (i = 1; !err && i < THREADS; i++) in threads_destroy() 185 for (i = 0; i < THREADS; i++) { in mmap_events()
|
/linux/tools/testing/selftests/powerpc/dscr/ |
H A D | dscr_explicit_test.c | 135 struct random_thread_args threads[THREADS]; in dscr_explicit_random_test() 140 FAIL_IF(pthread_barrier_init(&barrier, NULL, THREADS)); in dscr_explicit_random_test() 142 for (int i = 0; i < THREADS; i++) { in dscr_explicit_random_test() 150 for (int i = 0; i < THREADS; i++) in dscr_explicit_random_test()
|
H A D | dscr_default_test.c | 121 struct random_thread_args threads[THREADS]; in dscr_default_random_test() 132 FAIL_IF(pthread_barrier_init(&barrier, NULL, THREADS)); in dscr_default_random_test() 136 for (int i = 0; i < THREADS; i++) { in dscr_default_random_test() 145 for (int i = 0; i < THREADS; i++) in dscr_default_random_test()
|
H A D | dscr.h | 29 #define THREADS 100 /* Max threads */ macro
|
/linux/tools/testing/selftests/powerpc/signal/ |
H A D | sigfuz.c | 46 #define THREADS 16 /* Number of threads */ macro 58 static int nthread = THREADS; 284 printf("\t-t\t Amount of threads. (Default = %d)\n", THREADS); in show_help()
|
/linux/Documentation/networking/ |
H A D | pktgen.rst | 255 -t : ($THREADS) threads to start
|