File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 9393 if : matrix.codspeed-mode != 'off'
9494 with :
9595 mode : ${{ matrix.codspeed-mode }}
96+ upload-url : https://api.staging.preview.codspeed.io/upload
9697 run : examples/google_benchmark_cmake/build/benchmark_example
9798
9899 bazel-integration-tests :
@@ -132,6 +133,7 @@ jobs:
132133 if : matrix.codspeed-mode != 'off'
133134 with :
134135 mode : ${{ matrix.codspeed-mode }}
136+ upload-url : https://api.staging.preview.codspeed.io/upload
135137 run : bazel run //examples/google_benchmark_bazel:my_benchmark --@codspeed_core//:codspeed_mode=${{ matrix.codspeed-mode }} --@codspeed_core//:strict_warnings=on
136138
137139 cmake-build :
Original file line number Diff line number Diff line change @@ -45,10 +45,6 @@ ALWAYS_INLINE void measurement_stop() {
4545 instrument_hooks_stop_benchmark_inline (g_hooks);
4646}
4747
48- ALWAYS_INLINE void measurement_pause () { CALLGRIND_STOP_INSTRUMENTATION; }
49-
50- ALWAYS_INLINE void measurement_resume () { CALLGRIND_START_INSTRUMENTATION; }
51-
5248ALWAYS_INLINE void measurement_set_executed_benchmark (const std::string& name) {
5349 auto current_pid = getpid ();
5450 instrument_hooks_executed_benchmark (g_hooks, current_pid, name.c_str ());
Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ void State::PauseTiming() {
273273 uint64_t pause_timestamp = measurement_current_timestamp ();
274274#endif
275275#ifdef CODSPEED_ANALYSIS
276- measurement_pause ();
276+ callgrind_stop_instrumentation ();
277277#endif
278278
279279 // Add in time accumulated so far
@@ -314,7 +314,7 @@ void State::ResumeTiming() {
314314 resume_timestamp_ = measurement_current_timestamp ();
315315#endif
316316#ifdef CODSPEED_ANALYSIS
317- measurement_resume ();
317+ callgrind_start_instrumentation ();
318318#endif
319319}
320320
You can’t perform that action at this time.
0 commit comments