diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-08-17 23:25:21 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-08-25 03:16:28 +0200 |
commit | 0fcabd2b11a5b1d4d16f6f6bdf1efd54d2c45237 (patch) | |
tree | a1651d48113413e2de1e6e309362511b1ff7ffa8 /src/core/hle/svc.cpp | |
parent | citra-qt: Add helper function to get a monospace QFont (diff) | |
download | yuzu-0fcabd2b11a5b1d4d16f6f6bdf1efd54d2c45237.tar yuzu-0fcabd2b11a5b1d4d16f6f6bdf1efd54d2c45237.tar.gz yuzu-0fcabd2b11a5b1d4d16f6f6bdf1efd54d2c45237.tar.bz2 yuzu-0fcabd2b11a5b1d4d16f6f6bdf1efd54d2c45237.tar.lz yuzu-0fcabd2b11a5b1d4d16f6f6bdf1efd54d2c45237.tar.xz yuzu-0fcabd2b11a5b1d4d16f6f6bdf1efd54d2c45237.tar.zst yuzu-0fcabd2b11a5b1d4d16f6f6bdf1efd54d2c45237.zip |
Diffstat (limited to 'src/core/hle/svc.cpp')
-rw-r--r-- | src/core/hle/svc.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index 89ac45a6f..19f750d72 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp @@ -5,6 +5,7 @@ #include <map> #include "common/logging/log.h" +#include "common/microprofile.h" #include "common/profiler.h" #include "common/string_util.h" #include "common/symbols.h" @@ -969,8 +970,11 @@ static const FunctionDef* GetSVCInfo(u32 func_num) { return &SVC_Table[func_num]; } +MICROPROFILE_DEFINE(Kernel_SVC, "Kernel", "SVC", MP_RGB(70, 200, 70)); + void CallSVC(u32 immediate) { Common::Profiling::ScopeTimer timer_svc(profiler_svc); + MICROPROFILE_SCOPE(Kernel_SVC); const FunctionDef* info = GetSVCInfo(immediate); if (info) { |