Home
last modified time | relevance | path

Searched refs:func (Results 1 – 7 of 7) sorted by relevance

/benchtests/scripts/
A Dcompare_bench.py30 def do_compare(func, var, tl1, tl2, par, threshold): argument
61 (ind, func, var, par, d, v1, v2))
75 for func in pts1['functions'].keys():
76 for var in pts1['functions'][func].keys():
77 tl1 = pts1['functions'][func][var]
78 tl2 = pts2['functions'][func][var]
99 (func, var))
120 (ind, func, var, d, t1, t2))
132 for func in bench1['functions'].keys():
133 for var in bench1['functions'][func].keys():
[all …]
A Dimport_bench.py42 def split_list(bench, func, var): argument
84 lst = bench['functions'][func][var]['timings']
94 bench['functions'][func][var]['timings'] = means
105 for func in bench['functions'].keys():
106 for k in bench['functions'][func].keys():
107 if 'timings' not in bench['functions'][func][k].keys():
110 callback(bench, func, k)
A Dbench.py94 def gen_source(func, directives, all_vals): argument
115 print(DEFINES_TEMPLATE % {'func': func})
118 outargs = _print_arg_data(func, directives, all_vals)
143 print(EPILOGUE % {'getret': getret, 'func': func, 'latarg': latarg, 'defvar': defvar })
146 def _print_arg_data(func, directives, all_vals): argument
181 print(STRUCT_TEMPLATE % {'args' : '\n'.join(arg_struct), 'func': func,
226 def parse_file(func): argument
252 with open('%s-inputs' % func) as f:
/benchtests/
A Dbench-math-inlines.c31 #define BOOLTEST(func) \ argument
33 func ## _f (double d, int i) \
35 if (func (d)) \
41 func ## _t (volatile double *p, size_t n, size_t iters) \
47 if (func ## _f (p[i] * 2.0, i) != 0) \
52 #define VALUETEST(func) \ argument
54 func ## _f (double d) \
56 return func (d); \
59 func ## _t (volatile double *p, size_t n, size_t iters) \
65 res += func ## _f (p[i] * 2.0); \
A Dbench-pthread-locks.c419 do_bench_2 (const char *name, test_t func, int filler, json_ctx_t *js) in do_bench_2() argument
434 cur = func(iters, filler); in do_bench_2()
461 curs[i] = func(iters, filler); in do_bench_2()
511 do_bench_1 (const char *name, test_t func, json_ctx_t *js) in do_bench_1() argument
515 rv += do_bench_2 (name, func, 0, js); in do_bench_1()
516 rv += do_bench_2 (name, func, 1, js); in do_bench_1()
A Dbench-string.h255 exit_error (const char *id, const char *func) in exit_error() argument
257 error (EXIT_FAILURE, errno, "%s: %s failed", id, func); in exit_error()
A DMakefile268 bench: bench-build bench-set bench-func bench-malloc
306 bench-func: $(binaries-bench)

Completed in 13 milliseconds