Lines Matching refs:count

31     ulong count = arch_cycle_count();  in bench_set_overhead()  local
35 count = arch_cycle_count() - count; in bench_set_overhead()
37 printf("took %lu cycles overhead to loop %u times\n", count, ITER); in bench_set_overhead()
49 ulong count = arch_cycle_count(); in bench_memset() local
53 count = arch_cycle_count() - count; in bench_memset()
56 double bytes_cycle = total_bytes / (float)count; in bench_memset()
58 count, BUFSIZE, ITER, total_bytes, bytes_cycle); in bench_memset()
72 ulong count = arch_cycle_count(); \
78 count = arch_cycle_count() - count; \
81 double bytes_cycle = total_bytes / (float)count; \
83 count, sizeof(*buf), BUFSIZE, ITER, total_bytes, bytes_cycle); \
100 ulong count = arch_cycle_count(); in bench_cset() local
113 count = arch_cycle_count() - count; in bench_cset()
116 double bytes_cycle = total_bytes / (float)count; in bench_cset()
118 count, BUFSIZE, ITER, total_bytes, bytes_cycle); in bench_cset()
130 ulong count = arch_cycle_count(); in bench_memcpy() local
134 count = arch_cycle_count() - count; in bench_memcpy()
137 double bytes_cycle = total_bytes / (float)count; in bench_memcpy()
139 count, BUFSIZE / 2, ITER, total_bytes, bytes_cycle); in bench_memcpy()
152 ulong count = arch_cycle_count(); in arm_bench_cset_stm() local
161 count = arch_cycle_count() - count; in arm_bench_cset_stm()
164 double bytes_cycle = total_bytes / (float)count; in arm_bench_cset_stm()
166 count, BUFSIZE, ITER, total_bytes, bytes_cycle); in arm_bench_cset_stm()
176 uint count = ITER; in arm_bench_multi_issue() local
178 while (count--) { in arm_bench_multi_issue()
205 ulong count = arch_cycle_count(); in bench_sincos() local
207 count = arch_cycle_count() - count; in bench_sincos()
208 printf("took %lu cycles for sin()\n", count); in bench_sincos()
210 count = arch_cycle_count(); in bench_sincos()
212 count = arch_cycle_count() - count; in bench_sincos()
213 printf("took %lu cycles for cos()\n", count); in bench_sincos()
215 count = arch_cycle_count(); in bench_sincos()
217 count = arch_cycle_count() - count; in bench_sincos()
218 printf("took %lu cycles for sinf()\n", count); in bench_sincos()
220 count = arch_cycle_count(); in bench_sincos()
222 count = arch_cycle_count() - count; in bench_sincos()
223 printf("took %lu cycles for cosf()\n", count); in bench_sincos()
225 count = arch_cycle_count(); in bench_sincos()
227 count = arch_cycle_count() - count; in bench_sincos()
228 printf("took %lu cycles for sqrt()\n", count); in bench_sincos()
230 count = arch_cycle_count(); in bench_sincos()
232 count = arch_cycle_count() - count; in bench_sincos()
233 printf("took %lu cycles for sqrtf()\n", count); in bench_sincos()