Refine the code to follow coding style.

Signed-off-by: ydong10
Reviewed-by: lzeng14

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12805 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
ydong10 2011-12-01 04:31:46 +00:00
parent 0284e90cc1
commit 86da563d36
8 changed files with 97 additions and 97 deletions

View File

@ -1,26 +1,26 @@
/** @file /** @file
* Shell application for Displaying Performance Metrics. Shell application for Displaying Performance Metrics.
*
* The Dp application reads performance data and presents it in several The Dp application reads performance data and presents it in several
* different formats depending upon the needs of the user. Both different formats depending upon the needs of the user. Both
* Trace and Measured Profiling information is processed and presented. Trace and Measured Profiling information is processed and presented.
*
* Dp uses the "PerformanceLib" to read the measurement records. Dp uses the "PerformanceLib" to read the measurement records.
* The "TimerLib" provides information about the timer, such as frequency, The "TimerLib" provides information about the timer, such as frequency,
* beginning, and ending counter values. beginning, and ending counter values.
* Measurement records contain identifying information (Handle, Token, Module) Measurement records contain identifying information (Handle, Token, Module)
* and start and end time values. and start and end time values.
* Dp uses this information to group records in different ways. It also uses Dp uses this information to group records in different ways. It also uses
* timer information to calculate elapsed time for each measurement. timer information to calculate elapsed time for each measurement.
*
* Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR> Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
* This program and the accompanying materials This program and the accompanying materials
* are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
* which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
* http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
*
* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/ **/
#include <Library/UefiApplicationEntryPoint.h> #include <Library/UefiApplicationEntryPoint.h>

View File

@ -1,14 +1,14 @@
/** @file /** @file
* Common declarations for the Dp Performance Reporting Utility. Common declarations for the Dp Performance Reporting Utility.
*
* Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
* This program and the accompanying materials This program and the accompanying materials
* are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
* which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
* http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
*
* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/ **/
#ifndef _EFI_APP_DP_H_ #ifndef _EFI_APP_DP_H_

View File

@ -1,19 +1,19 @@
/** @file /** @file
* Declarations of objects defined internally to the Dp Application. Declarations of objects defined internally to the Dp Application.
*
* Declarations of data and functions which are private to the Dp application. Declarations of data and functions which are private to the Dp application.
* This file should never be referenced by anything other than components of the This file should never be referenced by anything other than components of the
* Dp application. In addition to global data, function declarations for Dp application. In addition to global data, function declarations for
* DpUtilities.c, DpTrace.c, and DpProfile.c are included here. DpUtilities.c, DpTrace.c, and DpProfile.c are included here.
*
* Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR> Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
* This program and the accompanying materials This program and the accompanying materials
* are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
* which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
* http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
*
* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/ **/
#ifndef _DP_INTELNAL_H_ #ifndef _DP_INTELNAL_H_
#define _DP_INTELNAL_H_ #define _DP_INTELNAL_H_

View File

@ -1,14 +1,14 @@
/** @file /** @file
* Measured Profiling reporting for the Dp utility. Measured Profiling reporting for the Dp utility.
*
* Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
* This program and the accompanying materials This program and the accompanying materials
* are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
* which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
* http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
*
* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/ **/
#include <Library/BaseLib.h> #include <Library/BaseLib.h>

View File

@ -1,14 +1,14 @@
/** @file /** @file
* Trace reporting for the Dp utility. Trace reporting for the Dp utility.
*
* Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR> Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
* This program and the accompanying materials This program and the accompanying materials
* are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
* which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
* http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
*
* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/ **/
#include <Library/BaseLib.h> #include <Library/BaseLib.h>

View File

@ -1,14 +1,14 @@
/** @file /** @file
* Utility functions used by the Dp application. Utility functions used by the Dp application.
*
* Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR> Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
* This program and the accompanying materials This program and the accompanying materials
* are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
* which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
* http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
*
* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/ **/
#include <Library/BaseLib.h> #include <Library/BaseLib.h>

View File

@ -1,14 +1,14 @@
/** @file /** @file
* Definitions of ASCII string literals used by DP. Definitions of ASCII string literals used by DP.
*
* Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
* This program and the accompanying materials This program and the accompanying materials
* are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
* which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
* http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
*
* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/ **/
#include <PerformanceTokens.h> #include <PerformanceTokens.h>

View File

@ -1,14 +1,14 @@
/** @file /** @file
* Declarations of ASCII string literals used by DP. Declarations of ASCII string literals used by DP.
*
* Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
* This program and the accompanying materials This program and the accompanying materials
* are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
* which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
* http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
*
* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/ **/
#ifndef _LITERALS_H_ #ifndef _LITERALS_H_
#define _LITERALS_H_ #define _LITERALS_H_