@@@ bench man
[mLib] / test / tvec-bench.c
index c81fd68..dda5713 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);