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 377507b commit 41c6002Copy full SHA for 41c6002
tatum_test/profile.cpp
@@ -146,6 +146,10 @@ bool profile_incr(size_t num_iterations,
146
#ifdef TATUM_TEST_PROFILE_CALLGRIND
147
CALLGRIND_TOGGLE_COLLECT;
148
std::cout << "Toggle Collect (End)\n";
149
+ std::stringstream ss;
150
+ ss << "incr_update" << i;
151
+ std::cout << "Callgrind Dump Stats " << ss.str() << "\n";
152
+ CALLGRIND_DUMP_STATS_AT(ss.str().c_str());
153
#endif
154
ref_analyzer->update_timing();
155
@@ -178,8 +182,6 @@ bool profile_incr(size_t num_iterations,
178
182
}
179
183
180
184
181
- std::cout << "Callgrind Dump Stats\n";
- CALLGRIND_DUMP_STATS;
185
std::cout << "Callgrind Stop Instrumentation\n";
186
CALLGRIND_STOP_INSTRUMENTATION;
187
0 commit comments