Skip to content

Commit 6c5a279

Browse files
committed
fixup: resume timestamp in walltime
1 parent 8d4aa16 commit 6c5a279

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

google_benchmark/src/benchmark.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ State::State(std::string name, IterationCount max_iters,
189189
max_iterations(max_iters),
190190
#if defined(CODSPEED_INSTRUMENTATION) || defined(CODSPEED_WALLTIME)
191191
codspeed_(codspeed),
192+
#endif
193+
#ifdef CODSPEED_WALLTIME
192194
resume_timestamp_(0),
193195
#endif
194196
started_(false),

0 commit comments

Comments
 (0)