Skip to content

Commit 11e9a65

Browse files
committed
committing requested changes in stages.
1 parent 345b137 commit 11e9a65

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

attachments/simple_engine/debug_system.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ class DebugSystem {
195195
* @param name The name of the measurement.
196196
*/
197197
void StopMeasurement(const std::string& name) {
198+
std::lock_guard<std::mutex> lock(mutex);
199+
198200
auto now = std::chrono::high_resolution_clock::now();
199201
auto it = measurements.find(name);
200202

0 commit comments

Comments
 (0)