Home
last modified time | relevance | path

Searched refs:loops (Results 1 – 25 of 176) sorted by relevance

12345678

/freebsd/contrib/sendmail/libsm/
H A Db-strl.c67 long loops = LOOPS;
116 for (a = 0; a < loops; a++)
127 for (a = 0; a < loops; a++)
137 loops += loops;
138 if (loops < 0L || one > MAXTIME)
145 loops);
152 loops = LOOPS;
157 for (a = 0; a < loops; a++)
168 for (a = 0; a < loops; a++)
178 loops += loops;
[all …]
H A Db-strcmp.c52 long loops; local
101 loops = LOOPS;
107 for (a = 0; a < loops; a++)
118 for (a = 0; a < loops; a++)
128 loops += loops;
129 if (loops < 0L || one > MAXTIME)
137 loops);
/freebsd/tools/test/stress2/tools/
H A Dbench.c63 int loops = 9000; in cr1() local
72 for (i = 0; i < loops; i++) { in cr1()
82 for (i = 0; i < loops; i++) { in cr1()
122 int loops = 10000; in cr3() local
132 for (i = 0; i < loops; i++) { in cr3()
142 for (i = 0; i < loops; i++) { in cr3()
155 int loops = 10000; in rn1() local
165 for (i = 0; i < loops; i++) { in rn1()
188 int loops = 10000; in rw1() local
198 for (i = 0; i < loops; i++) { in rw1()
[all …]
/freebsd/share/examples/perfmon/
H A Dperfmon.c52 int loops, i, sleeptime; in main() local
66 loops = 50; in main()
90 loops = getnum(optarg, 1, INT_MAX - 1); in main()
108 buf = malloc((loops + 1) * sizeof *buf); in main()
110 err(1, "malloc(%lu)", (unsigned long)(loops +1) * sizeof *buf); in main()
127 for (i = 0; i < loops; i++) { in main()
152 for (i = 1; i <= loops; i++) { in main()
156 printf("total: %f\nmean: %f\n", total, total / loops); in main()
H A DREADME12 -l n run `n' loops (default 50)
/freebsd/contrib/cortex-strings/benchmarks/multi/
H A Dharness.c277 int loops = 10000000; in main() local
298 loops = parse_int_arg(optarg, argv[0]); in main()
366 for (int i = 0; i < loops; i++) in main()
373 for (int i = 0; i < loops; i++) in main()
396 double bounced = 0.448730 * loops / 50000000; in main()
401 count, loops, src_alignment, dst_alignment, run_id, in main()
403 elapsed, loops, ptest->name, count, in main()
404 (double)loops*count/(elapsed - bounced)/(1024*1024)); in main()
/freebsd/contrib/cortex-strings/scripts/
H A Dbench.py58 def run(cache, variant, function, bytes, loops, alignment, run_id, quiet=False): argument
60 key = ':'.join('%s' % x for x in (variant, function, bytes, loops, alignment, run_id))
113 loops = int(f / math.sqrt(max(1, mid)))
114 took = run(cache, variant, function, mid, loops, alignment, 0,
126 loops = int(f / math.sqrt(max(1, b)))
128 run(cache, variant, function, b, loops, alignment,
H A Dplot.py47 bounces = pylab.array([(x.loops, x.rawtime) for x in r if x.test == 'bounce'])
56 bytes = r1.size * r1.loops
58 delta = pylab.polyval(fit, [r1.loops])
H A Dlibplot.py59 costs[(record.bytes, record.loops)] = record.elapsed
68 cost = costs.get((record.bytes, record.loops), None)
H A Dplot-top.py33 vals = [match.bytes*match.loops/match.elapsed/(1024*1024) for
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_chksum.c145 uint32_t l, loops = 0; in chksum_run() local
150 size = 1<<10; loops = 128; break; in chksum_run()
152 size = 1<<12; loops = 64; break; in chksum_run()
154 size = 1<<14; loops = 32; break; in chksum_run()
156 size = 1<<16; loops = 16; break; in chksum_run()
158 size = 1<<18; loops = 8; break; in chksum_run()
160 size = 1<<20; loops = 4; break; in chksum_run()
162 size = 1<<22; loops = 1; break; in chksum_run()
164 size = 1<<24; loops = 1; break; in chksum_run()
170 for (l = 0; l < loops; l++, run_count++) in chksum_run()
/freebsd/contrib/netbsd-tests/net/in_cksum/
H A Din_cksum.c176 int loops, old_sum, off, len; in main() local
186 loops = 16; in main()
197 loops = atoi(optarg); in main()
211 for (; loops; --loops) { in main()
219 if (loops == 1) in main()
/freebsd/tools/test/stress2/misc/
H A Djumbo.sh83 int loops, port, server;
90 loops);
93 loops);
145 loops++;
198 loops++;
H A Dall.sh46 loops=0 # Times to run the tests
69 -l) loops=$2 # Number of time to run
78 -o) loops=1 # Only run once
126 echo "$loops" | grep -Eq "^[0-9]+$" ||
219 [ -f $i ] || loops=1 # break
258 [ $((loops -= 1)) -eq 0 ] && break
H A Dmlockall7.sh225 int i, loops, s, status;
232 loops = atoi(argv[1]);
243 for (i = 0; i < loops; i++) {
H A Drename12.sh52 loops=4
56 for i in `jot $loops`; do
/freebsd/sys/netpfil/ipfw/test/
H A Dmain.c20 int loops; member
206 for (i=0; i < c->loops; i++) { in mainloop()
257 DX(1, "done %d loops\n", c->loops); in dump()
453 c->loops = getnum(av[1], NULL, av[0]); in init()
508 if (c->loops <= 0) in init()
509 c->loops = 1; in init()
/freebsd/sys/contrib/dev/iwlwifi/pcie/
H A Dtrans-gen2.c417 u32 value, loops = 0; in iwl_pcie_spin_for_iml() local
435 loops++; in iwl_pcie_spin_for_iml()
440 irq, loops, value); in iwl_pcie_spin_for_iml()
/freebsd/sys/dev/sume/
H A Dif_sume.c321 int ch, loops; in sume_intr_handler() local
344 loops = 0; in sume_intr_handler()
346 loops <= 5) { in sume_intr_handler()
398 loops++; in sume_intr_handler()
405 "%d\n", ch, vect, send->state, loops); in sume_intr_handler()
407 loops = 0; in sume_intr_handler()
409 SUME_MSI_RXDONE)) && loops < 5) { in sume_intr_handler()
518 loops++; in sume_intr_handler()
525 "%d\n", ch, vect, recv->state, loops); in sume_intr_handler()
/freebsd/contrib/arm-optimized-routines/
H A Dconfig.mk.dist93 # Avoid auto-vectorization of scalar code and unroll loops
94 networking-cflags += -O2 -fno-tree-vectorize -funroll-loops
/freebsd/sys/dev/ioat/
H A Dioat_test.c363 uint32_t loops; in ioat_dma_test() local
479 for (loops = 0;; loops++) { in ioat_dma_test()
480 if (test->duration == 0 && loops >= test->transactions) in ioat_dma_test()
/freebsd/usr.bin/dtc/
H A DHACKING27 Most iterator loops use the new loop syntax and the `auto` type for type
28 deduction. Range-based `for` loops generally improve the readability of the
/freebsd/contrib/netbsd-tests/usr.bin/config/
H A Dd_loop8 # This tests how well the code that look for orphans handle loops.
/freebsd/tools/tools/syscall_timing/
H A Dsyscall_timing.c1026 uintmax_t iterations, k, loops; in main() local
1030 loops = 10; in main()
1046 loops = ll; in main()
1072 if (loops < 1) in main()
1073 loops = 1; in main()
1136 for (k = 0; k < loops; k++) { in main()
/freebsd/contrib/llvm-project/openmp/runtime/src/include/
H A Dompx.h.var28 /// expected since the kernel is represented as 3 sequential outer loops, one
29 /// for each grid dimension, and three (nested) parallel loops, one for each

12345678