chiark / gitweb /
@@@ bench man
[mLib] / test / tvec-bench.c
index c81fd689fb9adadc784f73e9275da831986436cc..dda57137b72e14ada9ef653cc355c79221f47126 100644 (file)
@@ -388,7 +388,7 @@ void tvec_benchrun(struct tvec_state *tv, tvec_testfn *fn, void *ctx)
 
   /* Run the benchmark. */
   o->ops->bbench(o, d.buf, unit);
-  if (bench_measure(&tm, bc->bst, base, loopfn, &r))
+  if (bench_measure(bc->bst, &tm, base, loopfn, &r))
     o->ops->ebench(o, d.buf, unit, 0);
   else
     o->ops->ebench(o, d.buf, unit, &tm);