summaryrefslogtreecommitdiff
path: root/benchmark/benchmark_read_buffer.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-05-18Benchmark: Fix Benchmark heap use after free problemPan Xiuli1-1/+0
Memobject will be release by benchmark runer. Fixed bug: https://bugs.freedesktop.org/show_bug.cgi?id=93627 Signed-off-by: Pan Xiuli <xiuli.pan@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
2015-11-25Add a option which could set the benchmark unit properly.Meng Mengmeng1-1/+1
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>
2015-02-06Refine benchmark output.Chuanbo Weng1-2/+4
Change output measurement from time to bandwidth, so we can compare all benchmark results easily. And change return type of benchmark from int to double, because int is not precise enough. v2: Change output measurement from time to bandwidth. Signed-off-by: Chuanbo Weng <chuanbo.weng@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
2015-01-09Add read buffer/image benchmark.Yang Rong1-0/+49
Add there two benchmark to compare the buffer and image performance V2: init the coord before read image. V3: Correct the image's width and buffer's read index. Signed-off-by: Yang Rong <rong.r.yang@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>