TianoCore EDK2 master
|
#include "PiSmmCpuCommon.h"
Go to the source code of this file.
Macros | |
#define | SMM_MP_PERF_PROCEDURE_NAME(procedure) # procedure |
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) |
Variables | |
GLOBAL_REMOVE_IF_UNREFERENCED CHAR8 * | gSmmMpPerfProcedureName [] |
GLOBAL_REMOVE_IF_UNREFERENCED SMM_PERF_AP_PROCEDURE_PERFORMANCE * | mSmmMpProcedurePerformance = NULL |
SMM MP perf-logging implementation
Copyright (c) 2023 - 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file SmmMpPerf.c.
#define SMM_MP_PERF_PROCEDURE_NAME | ( | procedure | ) | # procedure |
Definition at line 12 of file SmmMpPerf.c.
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.
Save the performance counter value after running the MP procedure.
CpuIndex | The index of the CPU. |
MpProcedureId | The ID of the MP procedure. |
Definition at line 93 of file SmmMpPerf.c.
GLOBAL_REMOVE_IF_UNREFERENCED CHAR8* gSmmMpPerfProcedureName[] |
Definition at line 14 of file SmmMpPerf.c.
GLOBAL_REMOVE_IF_UNREFERENCED SMM_PERF_AP_PROCEDURE_PERFORMANCE* mSmmMpProcedurePerformance = NULL |
Definition at line 21 of file SmmMpPerf.c.