Skip to content

Commit 5e6209c

Browse files
committed
committing requested changes in stages.
1 parent 11e9a65 commit 5e6209c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

attachments/simple_engine/debug_system.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ class DebugSystem {
195195
* @param name The name of the measurement.
196196
*/
197197
void StopMeasurement(const std::string& name) {
198+
auto now = std::chrono::high_resolution_clock::now();
198199
std::lock_guard<std::mutex> lock(mutex);
199200

200-
auto now = std::chrono::high_resolution_clock::now();
201201
auto it = measurements.find(name);
202202

203203
if (it != measurements.end()) {

0 commit comments

Comments
 (0)