Home | History | Annotate | Download | only in UefiDpLib

Lines Matching refs:Measurement

48   the current measurement is pointed to by the parameter.

50 If the measurement's start time is 1, it indicates that the developer
51 is indicating that the measurement began at the release of reset.
56 the measurement's ending and starting counts.
58 @param Measurement Pointer to a MEASUREMENT_RECORD structure containing
59 data for the current measurement.
65 IN OUT MEASUREMENT_RECORD *Measurement
71 if (Measurement->EndTimeStamp == 0) {
80 if (Measurement->StartTimeStamp == 1) {
81 Measurement->StartTimeStamp = TimerInfo.StartCount;
84 Duration = Measurement->EndTimeStamp - Measurement->StartTimeStamp;
85 Error = (BOOLEAN)(Duration > Measurement->EndTimeStamp);
88 Duration = Measurement->StartTimeStamp - Measurement->EndTimeStamp;
89 Error = (BOOLEAN)(Duration > Measurement->StartTimeStamp);
100 Determine whether the Measurement record is for an EFI Phase.
102 The Token and Module members of the measurement record are checked.
105 @param[in] Measurement A pointer to the Measurement record to test.
107 @retval TRUE The measurement record is for an EFI Phase.
108 @retval FALSE The measurement record is NOT for an EFI Phase.
112 IN MEASUREMENT_RECORD *Measurement
117 RetVal = (BOOLEAN)( ( *Measurement->Module == '\0') &&
118 ((AsciiStrnCmp (Measurement->Token, ALit_SEC, PERF_TOKEN_LENGTH) == 0) ||
119 (AsciiStrnCmp (Measurement->Token, ALit_PEI, PERF_TOKEN_LENGTH) == 0) ||
120 (AsciiStrnCmp (Measurement->Token, ALit_DXE, PERF_TOKEN_LENGTH) == 0) ||
121 (AsciiStrnCmp (Measurement->Token, ALit_BDS, PERF_TOKEN_LENGTH) == 0))
379 Get index of Measurement Record's match in the CumData array.
381 If the Measurement's Token value matches a Token in one of the CumData
384 the Measurement didn't match any entry in the CumData array.
386 @param[in] Measurement A pointer to a Measurement Record to match against the CumData array.
393 IN MEASUREMENT_RECORD *Measurement
399 if (AsciiStrnCmp (Measurement->Token, CumData[Index].Name, PERF_TOKEN_LENGTH) == 0) {