Files
EDK2-fork/MdeModulePkg/Library/SmmPerformanceLib/StandaloneMmPerformanceLib.uni
Michael Kubacki 1c51a268b7 MdeModulePkg: Add Standalone MM perf library support
Adds a new library instance to support logging performance data in
Standalone MM.

- Add StandaloneMmPerformanceLib instance
- Move common MM logic to a new file `SmmPerformanceLibInternal.c`
- Since the library largely defers most logic to the performance
  measurement protocol a large degree of code can be shared between
  Standalone MM and Traditional MM.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
2025-03-21 15:23:11 +00:00

21 lines
1.0 KiB
Plaintext

// /** @file
// Performance library instance used in Standalone MM phase.
//
// This library instance provides infrastructure for Standalone MM drivers to log performance
// data. It consumes the MM PerformanceEx or Performance Protocol to log performance data. If
// both MM PerformanceEx and Performance Protocol are not available, it does not log any
// performance information.
//
// Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
// Copyright Microsoft Corporation.
//
// SPDX-License-Identifier: BSD-2-Clause-Patent
//
// **/
#string STR_MODULE_ABSTRACT #language en-US "Performance library instance used in the Standalone MM phase"
#string STR_MODULE_DESCRIPTION #language en-US "This library instance provides infrastructure for Standalone MM drivers to log performance data. It consumes the Standalone MM PerformanceEx or Performance Protocol to log performance data. If both Standalone MM PerformanceEx and Performance Protocol are not available, it does not log any performance information."