diff options
author | Meng Mengmeng <mengmeng.meng@intel.com> | 2015-11-20 06:25:34 +0800 |
---|---|---|
committer | Yang Rong <rong.r.yang@intel.com> | 2015-11-25 11:58:55 +0800 |
commit | d4d20820bd41a88a1a0abe7c32ee11c1328f2c1c (patch) | |
tree | 682f7556dead9dce9240a13dff632a8ac30ad56c /utests/vload_bench.cpp | |
parent | 3bda30a2d5705fea64568bd4f39367754364bc8d (diff) |
Add a option which could set the benchmark unit properly.
For benchmarks, the units are varied e.g. GB/S, FPS, score and so on.
So we need to make a choice for every benchmark.
Signed-off-by: Meng Mengmeng <mengmeng.meng@intel.com>
Reviewed-by: Ruiling Song <ruiling.song@intel.com>
Diffstat (limited to 'utests/vload_bench.cpp')
-rw-r--r-- | utests/vload_bench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utests/vload_bench.cpp b/utests/vload_bench.cpp index ddfaaee7..44c1dba7 100644 --- a/utests/vload_bench.cpp +++ b/utests/vload_bench.cpp @@ -89,7 +89,7 @@ static double vload_bench_ ##kT(void) \ } \ return totBandwidth/j;\ }\ -MAKE_BENCHMARK_FROM_FUNCTION_KEEP_PROGRAM(vload_bench_ ##kT, true) +MAKE_BENCHMARK_FROM_FUNCTION_KEEP_PROGRAM(vload_bench_ ##kT, true, "GB/S") #ifdef BUILD_BENCHMARK VLOAD_BENCH(uint8_t, uchar) |