EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Data Structures | Defines

PerformancePkg/Dp_App/Dp.h File Reference

#include <Library/ShellLib.h>

Go to the source code of this file.

Data Structures

struct  TIMER_INFO
 Structure for storing Timer specific information. More...
struct  PERF_CUM_DATA
struct  PERF_SUMMARY_DATA
struct  MEASUREMENT_RECORD
struct  PROFILE_RECORD
struct  PARAM_ITEM_LIST

Defines

#define DP_MAJOR_VERSION   2
#define DP_MINOR_VERSION   3
#define DP_DEBUG   0
#define PROFILING_IMPLEMENTED   0
#define DEFAULT_THRESHOLD   1000
 One millisecond.
#define DEFAULT_DISPLAYCOUNT   50
#define MAXIMUM_DISPLAYCOUNT   999999
 Arbitrary maximum reasonable number.
#define PERF_MAXDUR   0xFFFFFFFFFFFFFFFFULL
#define WITHIN_LIMIT(C, L)   ( ((L) == 0) || ((C) < (L)) )
 Determine whether 0 <= C < L. If L == 0, return true regardless of C.
#define PERF_INIT_CUM_DATA(t)   { 0ULL, PERF_MAXDUR, 0ULL, (t), 0U }

Detailed Description

Common declarations for the Dp Performance Reporting Utility.

Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
This program and the accompanying materials 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 http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file Dp.h.


Define Documentation

#define DEFAULT_DISPLAYCOUNT   50

Definition at line 35 of file Dp.h.

#define DEFAULT_THRESHOLD   1000

One millisecond.

Definition at line 34 of file Dp.h.

#define DP_DEBUG   0

The value assigned to DP_DEBUG controls which debug output is generated. Set it to ZERO to disable.

Definition at line 26 of file Dp.h.

#define DP_MAJOR_VERSION   2

Definition at line 19 of file Dp.h.

#define DP_MINOR_VERSION   3

Definition at line 20 of file Dp.h.

#define MAXIMUM_DISPLAYCOUNT   999999

Arbitrary maximum reasonable number.

Definition at line 36 of file Dp.h.

#define PERF_INIT_CUM_DATA (   t)    { 0ULL, PERF_MAXDUR, 0ULL, (t), 0U }

Initialize one PERF_CUM_DATA structure instance for token t.

This parameterized macro takes a single argument, t, which is expected to resolve to a pointer to an ASCII string literal. This parameter may take any one of the following forms:

Definition at line 60 of file Dp.h.

#define PERF_MAXDUR   0xFFFFFFFFFFFFFFFFULL

Definition at line 38 of file Dp.h.

#define PROFILING_IMPLEMENTED   0

Set to 1 once Profiling has been implemented in order to enable profiling related options and report output.

Definition at line 32 of file Dp.h.

#define WITHIN_LIMIT (   C,
  L 
)    ( ((L) == 0) || ((C) < (L)) )

Determine whether 0 <= C < L. If L == 0, return true regardless of C.

Definition at line 41 of file Dp.h.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines