diff options
author | Markus Wick <markus@selfnet.de> | 2018-09-04 11:02:59 +0200 |
---|---|---|
committer | Markus Wick <markus@selfnet.de> | 2018-09-04 11:04:26 +0200 |
commit | 10bc725944d41f09ae1425aa1eb8acffcae0a091 (patch) | |
tree | 794211794cccdc2c23431a64ab76f7789623cf41 /src/core/arm/dynarmic | |
parent | Merge pull request #1231 from lioncash/global (diff) | |
download | yuzu-10bc725944d41f09ae1425aa1eb8acffcae0a091.tar yuzu-10bc725944d41f09ae1425aa1eb8acffcae0a091.tar.gz yuzu-10bc725944d41f09ae1425aa1eb8acffcae0a091.tar.bz2 yuzu-10bc725944d41f09ae1425aa1eb8acffcae0a091.tar.lz yuzu-10bc725944d41f09ae1425aa1eb8acffcae0a091.tar.xz yuzu-10bc725944d41f09ae1425aa1eb8acffcae0a091.tar.zst yuzu-10bc725944d41f09ae1425aa1eb8acffcae0a091.zip |
Diffstat (limited to 'src/core/arm/dynarmic')
-rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic.cpp b/src/core/arm/dynarmic/arm_dynarmic.cpp index de44ccebd..b47f04988 100644 --- a/src/core/arm/dynarmic/arm_dynarmic.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic.cpp @@ -7,6 +7,7 @@ #include <dynarmic/A64/a64.h> #include <dynarmic/A64/config.h> #include "common/logging/log.h" +#include "common/microprofile.h" #include "core/arm/dynarmic/arm_dynarmic.h" #include "core/core.h" #include "core/core_cpu.h" @@ -143,7 +144,10 @@ std::unique_ptr<Dynarmic::A64::Jit> ARM_Dynarmic::MakeJit() const { return std::make_unique<Dynarmic::A64::Jit>(config); } +MICROPROFILE_DEFINE(ARM_Jit_Dynarmic, "ARM JIT", "Dynarmic", MP_RGB(255, 64, 64)); + void ARM_Dynarmic::Run() { + MICROPROFILE_SCOPE(ARM_Jit_Dynarmic); ASSERT(Memory::GetCurrentPageTable() == current_page_table); jit->Run(); |