We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e18f9f commit 1200dbbCopy full SHA for 1200dbb
core/include/measurement.hpp
@@ -44,19 +44,11 @@ inline void measurement_set_metadata() {
44
}
45
46
__attribute__((always_inline)) inline void measurement_start() {
47
- // Keep the callgrind macros here, so that they are properly inlined.
48
- // Otherwise, we have an additional function call overhead to the
49
- // instrument-hooks library.
50
- CALLGRIND_ZERO_STATS;
51
- CALLGRIND_START_INSTRUMENTATION;
52
-
53
instrument_hooks_start_benchmark(get_hooks());
54
55
56
__attribute__((always_inline)) inline void measurement_stop(
57
const std::string& name) {
58
- CALLGRIND_STOP_INSTRUMENTATION;
59
60
instrument_hooks_stop_benchmark(get_hooks());
61
62
#ifdef _WIN32
0 commit comments