summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PerformanceTracker.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/PerformanceTracker.h')
-rw-r--r--Source/Core/VideoCommon/PerformanceTracker.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/PerformanceTracker.h b/Source/Core/VideoCommon/PerformanceTracker.h
index e253f83352..4136664981 100644
--- a/Source/Core/VideoCommon/PerformanceTracker.h
+++ b/Source/Core/VideoCommon/PerformanceTracker.h
@@ -6,8 +6,8 @@
#include <array>
#include <chrono>
#include <fstream>
-#include <mutex>
#include <optional>
+#include <shared_mutex>
#include "Common/CommonTypes.h"
@@ -100,5 +100,5 @@ private: // Functions for managing dt queue
mutable std::optional<DT> m_dt_std = std::nullopt;
// Used to enable thread safety with the performance tracker
- mutable std::mutex m_mutex;
+ mutable std::shared_mutex m_mutex;
};