summaryrefslogtreecommitdiff
path: root/test/bench.h
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2018-06-01 23:22:48 -0700
committerJames Zern <jzern@google.com>2018-06-04 16:14:33 -0700
commit3a0dc0e4b74d83644e687ef84c8314ce56f87816 (patch)
tree37960e6625f93e89b8a45323dd130f406d305ad8 /test/bench.h
parent3f7e6cc020446ee29439f1cd7d3d5c39adaf64c0 (diff)
downloadlibvpx-3a0dc0e4b74d83644e687ef84c8314ce56f87816.tar
libvpx-3a0dc0e4b74d83644e687ef84c8314ce56f87816.tar.gz
libvpx-3a0dc0e4b74d83644e687ef84c8314ce56f87816.tar.bz2
libvpx-3a0dc0e4b74d83644e687ef84c8314ce56f87816.zip
test,cosmetics: fix func/member naming, decl order
functions: upper camelcase members: lowercase with trailing '_' decl order: functions (overrides marked virtual), members after: 656e8ac61 VSX version of vpx_post_proc_down_and_across_mb_row 766d875b9 VSX version of vpx_mbpost_proc_ip 35e98a70b VSX version of vpx_mbpost_proc_down b2898a9ad Bench Class For More Robust Speed Tests Change-Id: Ib257bd607c5c1248d30e619ec9e8a47cc629825b
Diffstat (limited to 'test/bench.h')
-rw-r--r--test/bench.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/bench.h b/test/bench.h
index 0b0cf10a4..6fe5e0b03 100644
--- a/test/bench.h
+++ b/test/bench.h
@@ -16,15 +16,15 @@
class AbstractBench {
public:
- void runNTimes(int n);
- void printMedian(const char *title);
+ void RunNTimes(int n);
+ void PrintMedian(const char *title);
protected:
// Implement this method and put the code to benchmark in it.
- virtual void run() = 0;
+ virtual void Run() = 0;
private:
- int times[VPX_BENCH_ROBUST_ITER];
+ int times_[VPX_BENCH_ROBUST_ITER];
};
#endif // TEST_BENCH_H_