aboutsummaryrefslogtreecommitdiffstats
path: root/tests/perf/decperf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/perf/decperf.cxx')
-rw-r--r--tests/perf/decperf.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/perf/decperf.cxx b/tests/perf/decperf.cxx
index c72ec1d7..87370a4c 100644
--- a/tests/perf/decperf.cxx
+++ b/tests/perf/decperf.cxx
@@ -193,7 +193,7 @@ static struct stats runTest(const char *fn)
struct timeval start, stop;
struct stats s;
- gettimeofday(&start, NULL);
+ gettimeofday(&start, nullptr);
try {
cc = new CConn(fn);
@@ -211,7 +211,7 @@ static struct stats runTest(const char *fn)
exit(1);
}
- gettimeofday(&stop, NULL);
+ gettimeofday(&stop, nullptr);
s.decodeTime = cc->cpuTime;
s.realTime = (double)stop.tv_sec - start.tv_sec;