TianoCore EDK2 master
|
#include <PiDxe.h>
#include <Guid/Performance.h>
#include <Guid/PerformanceMeasurement.h>
#include <Guid/ExtendedFirmwarePerformance.h>
#include <Guid/ZeroGuid.h>
#include <Guid/EventGroup.h>
#include <Guid/FirmwarePerformance.h>
#include <Guid/PiSmmCommunicationRegionTable.h>
#include <Protocol/DriverBinding.h>
#include <Protocol/LoadedImage.h>
#include <Protocol/ComponentName2.h>
#include <Protocol/DevicePathToText.h>
#include <Protocol/SmmCommunication.h>
#include <Library/PerformanceLib.h>
#include <Library/DebugLib.h>
#include <Library/HobLib.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/TimerLib.h>
#include <Library/PcdLib.h>
#include <Library/DevicePathLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiLib.h>
#include <Library/ReportStatusCodeLib.h>
#include <Library/DxeServicesLib.h>
#include <Library/PeCoffGetEntryPointLib.h>
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | CreatePerformanceMeasurement (IN CONST VOID *CallerIdentifier OPTIONAL, IN CONST VOID *Guid OPTIONAL, IN CONST CHAR8 *String OPTIONAL, IN UINT64 TimeStamp OPTIONAL, IN UINT64 Address OPTIONAL, IN UINT32 Identifier, IN PERF_MEASUREMENT_ATTRIBUTE Attribute) |
Master header files for DxeCorePerformanceLib instance.
This header file holds the prototypes of the Performance and PerformanceEx Protocol published by this library instance at its constructor.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file DxeCorePerformanceLibInternal.h.
EFI_STATUS EFIAPI CreatePerformanceMeasurement | ( | IN CONST VOID *CallerIdentifier | OPTIONAL, |
IN CONST VOID *Guid | OPTIONAL, | ||
IN CONST CHAR8 *String | OPTIONAL, | ||
IN UINT64 TimeStamp | OPTIONAL, | ||
IN UINT64 Address | OPTIONAL, | ||
IN UINT32 | Identifier, | ||
IN PERF_MEASUREMENT_ATTRIBUTE | Attribute | ||
) |
Create performance record with event description and a timestamp.
CallerIdentifier | - Image handle or pointer to caller ID GUID. |
Guid | - Pointer to a GUID. |
String | - Pointer to a string describing the measurement. |
TimeStamp | - 64-bit time stamp. |
Address | - Pointer to a location in memory relevant to the measurement. |
Identifier | - Performance identifier describing the type of measurement. |
Attribute | - The attribute of the measurement. According to attribute can create a start record for PERF_START/PERF_START_EX, or a end record for PERF_END/PERF_END_EX, or a general record for other Perf macros. |
EFI_SUCCESS | - Successfully created performance record. |
EFI_OUT_OF_RESOURCES | - Ran out of space to store the records. |
EFI_INVALID_PARAMETER | - Invalid parameter passed to function - NULL pointer or invalid PerfId. |
Definition at line 1110 of file SmmCorePerformanceLib.c.