summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c')
-rw-r--r--MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c
index 088cd81063..4c6ca761a6 100644
--- a/MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c
+++ b/MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c
@@ -419,6 +419,7 @@ CoreDispatcher (
BOOLEAN ReadyToRun;
EFI_EVENT DxeDispatchEvent;
+ PERF_FUNCTION_BEGIN ();
if (gDispatcherRunning) {
//
@@ -584,6 +585,8 @@ CoreDispatcher (
gDispatcherRunning = FALSE;
+ PERF_FUNCTION_END ();
+
return ReturnStatus;
}
@@ -1437,6 +1440,8 @@ CoreInitializeDispatcher (
VOID
)
{
+ PERF_FUNCTION_BEGIN ();
+
mFwVolEvent = EfiCreateProtocolNotifyEvent (
&gEfiFirmwareVolume2ProtocolGuid,
TPL_CALLBACK,
@@ -1444,6 +1449,8 @@ CoreInitializeDispatcher (
NULL,
&mFwVolEventRegistration
);
+
+ PERF_FUNCTION_END ();
}
//