summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2017-02-20 13:56:58 -0800
committerGravatar Yuri Kunde Schlesner2017-02-26 17:22:03 -0800
commitb285c2a4ed29a126b5bcfe46e2784bd1870bdf82 (patch)
treea671ac87427fb63a64f51be260928cb39b8d3737 /src/core/core.h
parentQt: Add tooltips to status bar displays (diff)
downloadyuzu-b285c2a4ed29a126b5bcfe46e2784bd1870bdf82.tar.gz
yuzu-b285c2a4ed29a126b5bcfe46e2784bd1870bdf82.tar.xz
yuzu-b285c2a4ed29a126b5bcfe46e2784bd1870bdf82.zip
Core: Make PerfStats internally locked
More ergonomic to use and will be required for upcoming changes.
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/core.h b/src/core/core.h
index 3efc20c3d..db3b98a05 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -7,7 +7,6 @@
7#include <memory> 7#include <memory>
8#include <string> 8#include <string>
9#include "common/common_types.h" 9#include "common/common_types.h"
10#include "common/synchronized_wrapper.h"
11#include "core/memory.h" 10#include "core/memory.h"
12#include "core/perf_stats.h" 11#include "core/perf_stats.h"
13 12
@@ -94,7 +93,7 @@ public:
94 return *cpu_core; 93 return *cpu_core;
95 } 94 }
96 95
97 Common::SynchronizedWrapper<PerfStats> perf_stats; 96 PerfStats perf_stats;
98 97
99private: 98private:
100 /** 99 /**