TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | SMM_PERF_AP_PROCEDURE_PERFORMANCE |
Macros | |
#define | SMM_MP_PERF_PROCEDURE_LIST(_) |
#define | SMM_MP_PERF_PROCEDURE_ID(procedure) SmmMpProcedureId ## procedure |
Enumerations | |
enum | |
Functions | |
VOID | InitializeMpPerf (UINTN NumberofCpus) |
VOID | MigrateMpPerf (UINTN NumberofCpus, UINTN BspIndex) |
VOID | MpPerfBegin (IN UINTN CpuIndex, IN UINTN MpProcedureId) |
VOID | MpPerfEnd (IN UINTN CpuIndex, IN UINTN MpProcedureId) |
SMM MP perf-logging implementation
Copyright (c) 2023, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file SmmMpPerf.h.
#define SMM_MP_PERF_PROCEDURE_ID | ( | procedure | ) | SmmMpProcedureId ## procedure |
Definition at line 27 of file SmmMpPerf.h.
#define SMM_MP_PERF_PROCEDURE_LIST | ( | _ | ) |
Definition at line 16 of file SmmMpPerf.h.
anonymous enum |
Definition at line 28 of file SmmMpPerf.h.
VOID InitializeMpPerf | ( | UINTN | NumberofCpus | ) |
Initialize the perf-logging feature for APs.
NumberofCpus | Number of processors in the platform. |
Definition at line 29 of file SmmMpPerf.c.
Migrate MP performance data to standardized performance database.
NumberofCpus | Number of processors in the platform. |
BspIndex | The index of the BSP. |
Definition at line 44 of file SmmMpPerf.c.
Save the performance counter value before running the MP procedure.
CpuIndex | The index of the CPU. |
MpProcedureId | The ID of the MP procedure. |
Definition at line 78 of file SmmMpPerf.c.