diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-02-19 23:34:47 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-02-27 02:22:03 +0100 |
commit | c75ae6c585f651a1b7c162c2e1ecccd22a1c587d (patch) | |
tree | 30d51f39c6b57244e1ede29820c3f5d98ca38451 /src/core/core.h | |
parent | SynchronizedWrapper: Add Lock convenience method (diff) | |
download | yuzu-c75ae6c585f651a1b7c162c2e1ecccd22a1c587d.tar yuzu-c75ae6c585f651a1b7c162c2e1ecccd22a1c587d.tar.gz yuzu-c75ae6c585f651a1b7c162c2e1ecccd22a1c587d.tar.bz2 yuzu-c75ae6c585f651a1b7c162c2e1ecccd22a1c587d.tar.lz yuzu-c75ae6c585f651a1b7c162c2e1ecccd22a1c587d.tar.xz yuzu-c75ae6c585f651a1b7c162c2e1ecccd22a1c587d.tar.zst yuzu-c75ae6c585f651a1b7c162c2e1ecccd22a1c587d.zip |
Diffstat (limited to 'src/core/core.h')
-rw-r--r-- | src/core/core.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/core.h b/src/core/core.h index 17572a74f..3efc20c3d 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -6,9 +6,10 @@ #include <memory> #include <string> - #include "common/common_types.h" +#include "common/synchronized_wrapper.h" #include "core/memory.h" +#include "core/perf_stats.h" class EmuWindow; class ARM_Interface; @@ -83,6 +84,8 @@ public: /// Prepare the core emulation for a reschedule void PrepareReschedule(); + PerfStats::Results GetAndResetPerfStats(); + /** * Gets a reference to the emulated CPU. * @returns A reference to the emulated CPU. @@ -91,6 +94,8 @@ public: return *cpu_core; } + Common::SynchronizedWrapper<PerfStats> perf_stats; + private: /** * Initialize the emulated system. |