public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [patch 0/3] Add PeiPerformancePpiLib
@ 2018-07-30  6:59 Dandan Bi
  2018-07-30  6:59 ` [patch 1/3] MdeModulePkg: Add the definition of performance measurement PPI Dandan Bi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dandan Bi @ 2018-07-30  6:59 UTC (permalink / raw)
  To: edk2-devel; +Cc: Dmitry Antipov, Michael D Kinney, Liming Gao, Star Zeng

Enhance the PeiPerformanceLib to install the Performance
Measurement PPI.

Add a new "thin" PerformanceLib instance
PeiPerformancePpiLib which will locate a
Performance measurement Ppi to log performance data.

Platform can link the "thin" PeiPerformancePpiLib
to log the performance data for PEIMs.
It also can link the PeiPerformanceLib in PEI phase
to keep the compatibility.

Cc: Dmitry Antipov <dmanti@microsoft.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>

Dandan Bi (3):
  MdeModulePkg: Add the definition of performance measurement PPI
  MdeModulePkg/PeiPerformanceLib: Produce the new PerformancePpi
  MdeModulePkg/PeiPerformancePpiLib: Add PeiPerformancePpiLib

 MdeModulePkg/Include/Guid/PerformanceMeasurement.h |  14 +
 .../Library/PeiPerformanceLib/PeiPerformanceLib.c  |  81 ++++
 .../PeiPerformanceLib/PeiPerformanceLib.inf        |   1 +
 .../PeiPerformancePpiLib/PeiPerformancePpiLib.c    | 420 +++++++++++++++++++++
 .../PeiPerformancePpiLib/PeiPerformancePpiLib.inf  |  49 +++
 .../PeiPerformancePpiLib/PeiPerformancePpiLib.uni  |  23 ++
 MdeModulePkg/MdeModulePkg.dec                      |   1 +
 MdeModulePkg/MdeModulePkg.dsc                      |   1 +
 8 files changed, 590 insertions(+)
 create mode 100644 MdeModulePkg/Library/PeiPerformancePpiLib/PeiPerformancePpiLib.c
 create mode 100644 MdeModulePkg/Library/PeiPerformancePpiLib/PeiPerformancePpiLib.inf
 create mode 100644 MdeModulePkg/Library/PeiPerformancePpiLib/PeiPerformancePpiLib.uni

-- 
2.14.3.windows.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-30  7:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-30  6:59 [patch 0/3] Add PeiPerformancePpiLib Dandan Bi
2018-07-30  6:59 ` [patch 1/3] MdeModulePkg: Add the definition of performance measurement PPI Dandan Bi
2018-07-30  6:59 ` [patch 2/3] MdeModulePkg/PeiPerformanceLib: Produce the new PerformancePpi Dandan Bi
2018-07-30  6:59 ` [patch 3/3] MdeModulePkg/PeiPerformancePpiLib: Add PeiPerformancePpiLib Dandan Bi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox