/** @file\r
- * Declarations of objects defined internally to the Dp Application.\r
- *\r
- * Declarations of data and functions which are private to the Dp application.\r
- * This file should never be referenced by anything other than components of the\r
- * Dp application. In addition to global data, function declarations for\r
- * DpUtilities.c, DpTrace.c, and DpProfile.c are included here.\r
- *\r
- * Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
- * This program and the accompanying materials\r
- * are licensed and made available under the terms and conditions of the BSD License\r
- * which accompanies this distribution. The full text of the license may be found at\r
- * http://opensource.org/licenses/bsd-license.php\r
- *\r
- * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ Declarations of objects defined internally to the Dp Application.\r
+\r
+ Declarations of data and functions which are private to the Dp application.\r
+ This file should never be referenced by anything other than components of the\r
+ Dp application. In addition to global data, function declarations for\r
+ DpUtilities.c, DpTrace.c, and DpProfile.c are included here.\r
+\r
+ Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
+ (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r
+ This program and the accompanying materials\r
+ are licensed and made available under the terms and conditions of the BSD License\r
+ which accompanies this distribution. The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php\r
+\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
**/\r
#ifndef _DP_INTELNAL_H_\r
#define _DP_INTELNAL_H_\r
extern CHAR16 mGaugeString[DP_GAUGE_STRING_LENGTH + 1];\r
extern CHAR16 mUnicodeToken[DXE_PERFORMANCE_STRING_SIZE];\r
extern UINT64 mInterestThreshold;\r
+extern BOOLEAN mShowId;\r
\r
extern PERF_SUMMARY_DATA SummaryData; ///< Create the SummaryData structure and init. to ZERO.\r
\r
\r
**/\r
UINTN\r
+EFIAPI\r
PrintToken (\r
IN UINT16 Token,\r
...\r
\r
@post The SummaryData and CumData structures contain statistics for the\r
current performance logs.\r
+\r
+ @param[in, out] CustomCumulativeData The pointer to the custom cumulative data.\r
+\r
**/\r
VOID\r
GatherStatistics(\r
- VOID\r
+ IN OUT PERF_CUM_DATA *CustomCumulativeData OPTIONAL\r
);\r
\r
/** \r
For each record with a Token listed in the CumData array:<BR>\r
- Update the instance count and the total, minimum, and maximum durations.\r
Finally, print the gathered cumulative statistics.\r
+\r
+ @param[in] CustomCumulativeData The pointer to the custom cumulative data.\r
\r
**/\r
VOID\r
ProcessCumulative(\r
- VOID\r
+ IN PERF_CUM_DATA *CustomCumulativeData OPTIONAL\r
);\r
\r
/** \r