TianoCore EDK2 master
Loading...
Searching...
No Matches
DpInternal.h
Go to the documentation of this file.
1
14#ifndef _DP_INTELNAL_H_
15#define _DP_INTELNAL_H_
16
17#define DP_GAUGE_STRING_LENGTH 36
18
19//
23extern CHAR16 mGaugeString[DP_GAUGE_STRING_LENGTH + 1];
24extern CHAR16 mUnicodeToken[DXE_PERFORMANCE_STRING_SIZE];
25extern UINT64 mInterestThreshold;
26extern BOOLEAN mShowId;
27extern UINT8 *mBootPerformanceTable;
28extern UINTN mBootPerformanceTableLength;
29extern MEASUREMENT_RECORD *mMeasurementList;
30extern UINTN mMeasurementNum;
31extern UINT64 mResetEnd;
32
34
36extern PERF_CUM_DATA CumData[];
37
39extern UINT32 const NumCum;
40
42
63UINT64
65 IN OUT MEASUREMENT_RECORD *Measurement
66 );
67
79BOOLEAN
80IsPhase (
81 IN MEASUREMENT_RECORD *Measurement
82 );
83
93BOOLEAN
95 IN MEASUREMENT_RECORD *Measurement
96 );
97
110VOID
112 IN CHAR8 *PdbFileName,
113 OUT CHAR16 *UnicodeBuffer
114 );
115
132VOID
134 IN EFI_HANDLE Handle
135 );
136
150UINT64
152 IN UINT64 Duration
153 );
154
168INTN
170 IN MEASUREMENT_RECORD *Measurement
171 );
172
190VOID
192 IN OUT PERF_CUM_DATA *CustomCumulativeData OPTIONAL
193 );
194
218 IN UINTN Limit,
219 IN BOOLEAN ExcludeFlag
220 );
221
243 IN UINTN Limit,
244 IN BOOLEAN ExcludeFlag
245 );
246
251VOID
253 VOID
254 );
255
267 IN BOOLEAN ExcludeFlag
268 );
269
280 VOID
281 );
282
296 VOID
297 );
298
310VOID
312 IN PERF_CUM_DATA *CustomCumulativeData OPTIONAL
313 );
314
315#endif
UINT64 UINTN
INT64 INTN
INTN GetCumulativeItem(IN MEASUREMENT_RECORD *Measurement)
Definition: DpUtilities.c:413
VOID DpGetShortPdbFileName(IN CHAR8 *PdbFileName, OUT CHAR16 *UnicodeBuffer)
Definition: DpUtilities.c:150
BOOLEAN IsPhase(IN MEASUREMENT_RECORD *Measurement)
Definition: DpUtilities.c:91
PERF_CUM_DATA CumData[]
Items for which to gather cumulative statistics.
Definition: Dp.c:67
VOID DpGetNameFromHandle(IN EFI_HANDLE Handle)
Definition: DpUtilities.c:208
PERF_SUMMARY_DATA SummaryData
Create the SummaryData structure and init. to ZERO.
Definition: Dp.c:62
UINT64 GetDuration(IN OUT MEASUREMENT_RECORD *Measurement)
Definition: DpUtilities.c:57
CHAR16 mGaugeString[DP_GAUGE_STRING_LENGTH+1]
Definition: Dp.c:52
VOID GatherStatistics(IN OUT PERF_CUM_DATA *CustomCumulativeData OPTIONAL)
Definition: DpTrace.c:92
EFI_STATUS ProcessGlobal(VOID)
Definition: DpTrace.c:853
EFI_STATUS DumpRawTrace(IN UINTN Limit, IN BOOLEAN ExcludeFlag)
Definition: DpTrace.c:363
BOOLEAN IsCorePerf(IN MEASUREMENT_RECORD *Measurement)
Definition: DpUtilities.c:116
UINT64 DurationInMicroSeconds(IN UINT64 Duration)
Definition: DpUtilities.c:392
EFI_STATUS ProcessPeims(VOID)
Definition: DpTrace.c:747
EFI_STATUS DumpAllTrace(IN UINTN Limit, IN BOOLEAN ExcludeFlag)
Definition: DpTrace.c:188
UINT32 const NumCum
Number of items for which we are gathering cumulative statistics.
Definition: Dp.c:76
VOID ProcessPhases(VOID)
Definition: DpTrace.c:478
EFI_STATUS ProcessHandles(IN BOOLEAN ExcludeFlag)
Definition: DpTrace.c:610
VOID ProcessCumulative(IN PERF_CUM_DATA *CustomCumulativeData OPTIONAL)
Definition: DpTrace.c:966
EFI_HII_HANDLE mDpHiiHandle
Definition: Dp.c:39
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
VOID * EFI_HII_HANDLE