diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-30 04:02:44 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-30 04:02:44 +0000 |
commit | 008d4018f6d3a17abc1e8bbafc77b7d6d1be2d54 (patch) | |
tree | 184e80e8db329ec9047d1e8f8e9e154f9b1a8cc0 /MdeModulePkg/Core/Pei | |
parent | a5f2a2051303048d61f99e5381a578234122ef19 (diff) | |
download | edk2-platforms-008d4018f6d3a17abc1e8bbafc77b7d6d1be2d54.tar.xz |
Measure time spent in SEC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6291 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/Pei')
-rw-r--r-- | MdeModulePkg/Core/Pei/PeiMain/PeiMain.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c b/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c index 32f875b688..9a9c3cf377 100644 --- a/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c +++ b/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c @@ -189,6 +189,9 @@ PeiCore ( EFI_PROGRESS_CODE,
FixedPcdGet32 (PcdStatusCodeValuePeiCoreEntry)
);
+
+ PERF_START (NULL, "SEC", NULL, 1);
+ PERF_END (NULL, "SEC", NULL, Tick);
PERF_START (NULL,"PEI", NULL, Tick);
//
|