Skip to content

Commit e9bad32

Browse files
committed
chore: manually stop callgrind
1 parent 806adee commit e9bad32

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/include/measurement.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ __attribute__((always_inline)) inline void measurement_start() {
4949

5050
__attribute__((always_inline)) inline void measurement_stop(
5151
const std::string& name) {
52+
CALLGRIND_STOP_INSTRUMENTATION;
5253
instrument_hooks_stop_benchmark(get_hooks());
5354

5455
#ifdef _WIN32

0 commit comments

Comments
 (0)