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 11e9a65 commit 5e6209cCopy full SHA for 5e6209c
attachments/simple_engine/debug_system.h
@@ -195,9 +195,9 @@ class DebugSystem {
195
* @param name The name of the measurement.
196
*/
197
void StopMeasurement(const std::string& name) {
198
+ auto now = std::chrono::high_resolution_clock::now();
199
std::lock_guard<std::mutex> lock(mutex);
200
- auto now = std::chrono::high_resolution_clock::now();
201
auto it = measurements.find(name);
202
203
if (it != measurements.end()) {
0 commit comments