summaryrefslogtreecommitdiff
path: root/benchmark/benchmark_copy_buf.cpp
diff options
context:
space:
mode:
authorMeng Mengmeng <mengmeng.meng@intel.com>2015-11-20 06:25:34 +0800
committerYang Rong <rong.r.yang@intel.com>2015-11-25 11:58:55 +0800
commitd4d20820bd41a88a1a0abe7c32ee11c1328f2c1c (patch)
tree682f7556dead9dce9240a13dff632a8ac30ad56c /benchmark/benchmark_copy_buf.cpp
parent3bda30a2d5705fea64568bd4f39367754364bc8d (diff)
downloadbeignet-d4d20820bd41a88a1a0abe7c32ee11c1328f2c1c.tar.gz
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 'benchmark/benchmark_copy_buf.cpp')
-rw-r--r--benchmark/benchmark_copy_buf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/benchmark_copy_buf.cpp b/benchmark/benchmark_copy_buf.cpp
index e21c936f..92abf547 100644
--- a/benchmark/benchmark_copy_buf.cpp
+++ b/benchmark/benchmark_copy_buf.cpp
@@ -48,4 +48,4 @@ double benchmark_copy_buf(void)
return BANDWIDTH(sz * sizeof(char) * 100, elapsed);
}
-MAKE_BENCHMARK_FROM_FUNCTION(benchmark_copy_buf);
+MAKE_BENCHMARK_FROM_FUNCTION(benchmark_copy_buf, "GB/S");