ReactOS  0.4.13-dev-257-gfabbd7c
winperf.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _PERF_DATA_BLOCK
 
struct  _PERF_OBJECT_TYPE
 
struct  _PERF_COUNTER_DEFINITION
 
struct  _PERF_INSTANCE_DEFINITION
 
struct  _PERF_COUNTER_BLOCK
 

Macros

#define PERF_DATA_VERSION   1
 
#define PERF_DATA_REVISION   1
 
#define PERF_NO_INSTANCES   -1
 
#define PERF_SIZE_DWORD   0
 
#define PERF_SIZE_LARGE   256
 
#define PERF_SIZE_ZERO   512
 
#define PERF_SIZE_VARIABLE_LEN   768
 
#define PERF_TYPE_NUMBER   0
 
#define PERF_TYPE_COUNTER   1024
 
#define PERF_TYPE_TEXT   2048
 
#define PERF_TYPE_ZERO   0xC00
 
#define PERF_NUMBER_HEX   0
 
#define PERF_NUMBER_DECIMAL   0x10000
 
#define PERF_NUMBER_DEC_1000   0x20000
 
#define PERF_COUNTER_VALUE   0
 
#define PERF_COUNTER_RATE   0x10000
 
#define PERF_COUNTER_FRACTION   0x20000
 
#define PERF_COUNTER_BASE   0x30000
 
#define PERF_COUNTER_ELAPSED   0x40000
 
#define PERF_COUNTER_QUEUELEN   0x50000
 
#define PERF_COUNTER_HISTOGRAM   0x60000
 
#define PERF_TEXT_UNICODE   0
 
#define PERF_TEXT_ASCII   0x10000
 
#define PERF_TIMER_TICK   0
 
#define PERF_TIMER_100NS   0x100000
 
#define PERF_OBJECT_TIMER   0x200000
 
#define PERF_DELTA_COUNTER   0x400000
 
#define PERF_DELTA_BASE   0x800000
 
#define PERF_INVERSE_COUNTER   0x1000000
 
#define PERF_MULTI_COUNTER   0x2000000
 
#define PERF_DISPLAY_NO_SUFFIX   0
 
#define PERF_DISPLAY_PER_SEC   0x10000000
 
#define PERF_DISPLAY_PERCENT   0x20000000
 
#define PERF_DISPLAY_SECONDS   0x30000000
 
#define PERF_DISPLAY_NOSHOW   0x40000000
 
#define PERF_COUNTER_HISTOGRAM_TYPE   0x80000000
 
#define PERF_NO_UNIQUE_ID   (-1)
 
#define PERF_DETAIL_NOVICE   100
 
#define PERF_DETAIL_ADVANCED   200
 
#define PERF_DETAIL_EXPERT   300
 
#define PERF_DETAIL_WIZARD   400
 
#define PERF_COUNTER_COUNTER   (PERF_SIZE_DWORD|PERF_TYPE_COUNTER|PERF_COUNTER_RATE|PERF_TIMER_TICK|PERF_DELTA_COUNTER|PERF_DISPLAY_PER_SEC)
 
#define PERF_COUNTER_TIMER   (PERF_SIZE_LARGE|PERF_TYPE_COUNTER|PERF_COUNTER_RATE|PERF_TIMER_TICK|PERF_DELTA_COUNTER|PERF_DISPLAY_PERCENT)
 
#define PERF_COUNTER_QUEUELEN_TYPE   (PERF_SIZE_DWORD|PERF_TYPE_COUNTER|PERF_COUNTER_QUEUELEN|PERF_TIMER_TICK|PERF_DELTA_COUNTER|PERF_DISPLAY_NO_SUFFIX)
 
#define PERF_COUNTER_BULK_COUNT   (PERF_SIZE_LARGE|PERF_TYPE_COUNTER|PERF_COUNTER_RATE|PERF_TIMER_TICK|PERF_DELTA_COUNTER|PERF_DISPLAY_PER_SEC)
 
#define PERF_COUNTER_TEXT   (PERF_SIZE_VARIABLE_LEN|PERF_TYPE_TEXT|PERF_TEXT_UNICODE|PERF_DISPLAY_NO_SUFFIX)
 
#define PERF_COUNTER_RAWCOUNT   (PERF_SIZE_DWORD|PERF_TYPE_NUMBER|PERF_NUMBER_DECIMAL|PERF_DISPLAY_NO_SUFFIX)
 
#define PERF_COUNTER_LARGE_RAWCOUNT   (PERF_SIZE_LARGE|PERF_TYPE_NUMBER|PERF_NUMBER_DECIMAL|PERF_DISPLAY_NO_SUFFIX)
 
#define PERF_COUNTER_RAWCOUNT_HEX   (PERF_SIZE_DWORD|PERF_TYPE_NUMBER|PERF_NUMBER_HEX|PERF_DISPLAY_NO_SUFFIX)
 
#define PERF_COUNTER_LARGE_RAWCOUNT_HEX   (PERF_SIZE_LARGE|PERF_TYPE_NUMBER|PERF_NUMBER_HEX|PERF_DISPLAY_NO_SUFFIX)
 
#define PERF_SAMPLE_FRACTION   (PERF_SIZE_DWORD|PERF_TYPE_COUNTER|PERF_COUNTER_FRACTION|PERF_DELTA_COUNTER|PERF_DELTA_BASE|PERF_DISPLAY_PERCENT)
 
#define PERF_SAMPLE_COUNTER   (PERF_SIZE_DWORD|PERF_TYPE_COUNTER|PERF_COUNTER_RATE|PERF_TIMER_TICK|PERF_DELTA_COUNTER|PERF_DISPLAY_NO_SUFFIX)
 
#define PERF_COUNTER_NODATA   (PERF_SIZE_ZERO|PERF_DISPLAY_NOSHOW)
 
#define PERF_COUNTER_TIMER_INV   (PERF_SIZE_LARGE|PERF_TYPE_COUNTER|PERF_COUNTER_RATE|PERF_TIMER_TICK|PERF_DELTA_COUNTER|PERF_INVERSE_COUNTER|PERF_DISPLAY_PERCENT)
 
#define PERF_SAMPLE_BASE   (PERF_SIZE_DWORD|PERF_TYPE_COUNTER|PERF_COUNTER_BASE|PERF_DISPLAY_NOSHOW|1)
 
#define PERF_AVERAGE_TIMER   (PERF_SIZE_DWORD|PERF_TYPE_COUNTER|PERF_COUNTER_FRACTION|PERF_DISPLAY_SECONDS)
 
#define PERF_AVERAGE_BASE   (PERF_SIZE_DWORD|PERF_TYPE_COUNTER|PERF_COUNTER_BASE|PERF_DISPLAY_NOSHOW|2)
 
#define PERF_AVERAGE_BULK   (PERF_SIZE_LARGE|PERF_TYPE_COUNTER|PERF_COUNTER_FRACTION|PERF_DISPLAY_NOSHOW)
 
#define PERF_100NSEC_TIMER   (PERF_SIZE_LARGE|PERF_TYPE_COUNTER|PERF_COUNTER_RATE|PERF_TIMER_100NS|PERF_DELTA_COUNTER|PERF_DISPLAY_PERCENT)
 
#define PERF_100NSEC_TIMER_INV   (PERF_SIZE_LARGE|PERF_TYPE_COUNTER|PERF_COUNTER_RATE|PERF_TIMER_100NS|PERF_DELTA_COUNTER|PERF_INVERSE_COUNTER|PERF_DISPLAY_PERCENT)
 
#define PERF_COUNTER_MULTI_TIMER   (PERF_SIZE_LARGE|PERF_TYPE_COUNTER|PERF_COUNTER_RATE|PERF_DELTA_COUNTER|PERF_TIMER_TICK|PERF_MULTI_COUNTER|PERF_DISPLAY_PERCENT)
 
#define PERF_COUNTER_MULTI_TIMER_INV   (PERF_SIZE_LARGE|PERF_TYPE_COUNTER|PERF_COUNTER_RATE|PERF_DELTA_COUNTER|PERF_MULTI_COUNTER|PERF_TIMER_TICK|PERF_INVERSE_COUNTER|PERF_DISPLAY_PERCENT)
 
#define PERF_COUNTER_MULTI_BASE   (PERF_SIZE_LARGE|PERF_TYPE_COUNTER|PERF_COUNTER_BASE|PERF_MULTI_COUNTER|PERF_DISPLAY_NOSHOW)
 
#define PERF_100NSEC_MULTI_TIMER   (PERF_SIZE_LARGE|PERF_TYPE_COUNTER|PERF_DELTA_COUNTER|PERF_COUNTER_RATE|PERF_TIMER_100NS|PERF_MULTI_COUNTER|PERF_DISPLAY_PERCENT)
 
#define PERF_100NSEC_MULTI_TIMER_INV   (PERF_SIZE_LARGE|PERF_TYPE_COUNTER|PERF_DELTA_COUNTER|PERF_COUNTER_RATE|PERF_TIMER_100NS|PERF_MULTI_COUNTER|PERF_INVERSE_COUNTER|PERF_DISPLAY_PERCENT)
 
#define PERF_RAW_FRACTION   (PERF_SIZE_DWORD|PERF_TYPE_COUNTER|PERF_COUNTER_FRACTION|PERF_DISPLAY_PERCENT)
 
#define PERF_RAW_BASE   (PERF_SIZE_DWORD|PERF_TYPE_COUNTER|PERF_COUNTER_BASE|PERF_DISPLAY_NOSHOW|3)
 
#define PERF_ELAPSED_TIME   (PERF_SIZE_LARGE|PERF_TYPE_COUNTER|PERF_COUNTER_ELAPSED|PERF_OBJECT_TIMER|PERF_DISPLAY_SECONDS)
 

Typedefs

typedef struct _PERF_DATA_BLOCK PERF_DATA_BLOCK
 
typedef struct _PERF_DATA_BLOCKPPERF_DATA_BLOCK
 
typedef struct _PERF_OBJECT_TYPE PERF_OBJECT_TYPE
 
typedef struct _PERF_OBJECT_TYPEPPERF_OBJECT_TYPE
 
typedef struct _PERF_COUNTER_DEFINITION PERF_COUNTER_DEFINITION
 
typedef struct _PERF_COUNTER_DEFINITIONPPERF_COUNTER_DEFINITION
 
typedef struct _PERF_INSTANCE_DEFINITION PERF_INSTANCE_DEFINITION
 
typedef struct _PERF_INSTANCE_DEFINITIONPPERF_INSTANCE_DEFINITION
 
typedef struct _PERF_COUNTER_BLOCK PERF_COUNTER_BLOCK
 
typedef struct _PERF_COUNTER_BLOCKPPERF_COUNTER_BLOCK
 
typedef PVOID PDWORD
 

Functions

typedef DWORD (CALLBACK PM_OPEN_PROC)(LPWSTR)
 

Macro Definition Documentation

◆ PERF_100NSEC_MULTI_TIMER

◆ PERF_100NSEC_MULTI_TIMER_INV

◆ PERF_100NSEC_TIMER

◆ PERF_100NSEC_TIMER_INV

◆ PERF_AVERAGE_BASE

Definition at line 67 of file winperf.h.

◆ PERF_AVERAGE_BULK

Definition at line 68 of file winperf.h.

◆ PERF_AVERAGE_TIMER

Definition at line 66 of file winperf.h.

◆ PERF_COUNTER_BASE

#define PERF_COUNTER_BASE   0x30000

Definition at line 28 of file winperf.h.

◆ PERF_COUNTER_BULK_COUNT

◆ PERF_COUNTER_COUNTER

◆ PERF_COUNTER_ELAPSED

#define PERF_COUNTER_ELAPSED   0x40000

Definition at line 29 of file winperf.h.

◆ PERF_COUNTER_FRACTION

#define PERF_COUNTER_FRACTION   0x20000

Definition at line 27 of file winperf.h.

◆ PERF_COUNTER_HISTOGRAM

#define PERF_COUNTER_HISTOGRAM   0x60000

Definition at line 31 of file winperf.h.

◆ PERF_COUNTER_HISTOGRAM_TYPE

#define PERF_COUNTER_HISTOGRAM_TYPE   0x80000000

Definition at line 46 of file winperf.h.

◆ PERF_COUNTER_LARGE_RAWCOUNT

Definition at line 58 of file winperf.h.

◆ PERF_COUNTER_LARGE_RAWCOUNT_HEX

Definition at line 60 of file winperf.h.

◆ PERF_COUNTER_MULTI_BASE

Definition at line 73 of file winperf.h.

◆ PERF_COUNTER_MULTI_TIMER

◆ PERF_COUNTER_MULTI_TIMER_INV

◆ PERF_COUNTER_NODATA

#define PERF_COUNTER_NODATA   (PERF_SIZE_ZERO|PERF_DISPLAY_NOSHOW)

Definition at line 63 of file winperf.h.

◆ PERF_COUNTER_QUEUELEN

#define PERF_COUNTER_QUEUELEN   0x50000

Definition at line 30 of file winperf.h.

◆ PERF_COUNTER_QUEUELEN_TYPE

◆ PERF_COUNTER_RATE

#define PERF_COUNTER_RATE   0x10000

Definition at line 26 of file winperf.h.

◆ PERF_COUNTER_RAWCOUNT

Definition at line 57 of file winperf.h.

◆ PERF_COUNTER_RAWCOUNT_HEX

Definition at line 59 of file winperf.h.

◆ PERF_COUNTER_TEXT

Definition at line 56 of file winperf.h.

◆ PERF_COUNTER_TIMER

◆ PERF_COUNTER_TIMER_INV

◆ PERF_COUNTER_VALUE

#define PERF_COUNTER_VALUE   0

Definition at line 25 of file winperf.h.

◆ PERF_DATA_REVISION

#define PERF_DATA_REVISION   1

Definition at line 12 of file winperf.h.

◆ PERF_DATA_VERSION

#define PERF_DATA_VERSION   1

Definition at line 11 of file winperf.h.

◆ PERF_DELTA_BASE

#define PERF_DELTA_BASE   0x800000

Definition at line 38 of file winperf.h.

◆ PERF_DELTA_COUNTER

#define PERF_DELTA_COUNTER   0x400000

Definition at line 37 of file winperf.h.

◆ PERF_DETAIL_ADVANCED

#define PERF_DETAIL_ADVANCED   200

Definition at line 49 of file winperf.h.

◆ PERF_DETAIL_EXPERT

#define PERF_DETAIL_EXPERT   300

Definition at line 50 of file winperf.h.

◆ PERF_DETAIL_NOVICE

#define PERF_DETAIL_NOVICE   100

Definition at line 48 of file winperf.h.

◆ PERF_DETAIL_WIZARD

#define PERF_DETAIL_WIZARD   400

Definition at line 51 of file winperf.h.

◆ PERF_DISPLAY_NO_SUFFIX

#define PERF_DISPLAY_NO_SUFFIX   0

Definition at line 41 of file winperf.h.

◆ PERF_DISPLAY_NOSHOW

#define PERF_DISPLAY_NOSHOW   0x40000000

Definition at line 45 of file winperf.h.

◆ PERF_DISPLAY_PER_SEC

#define PERF_DISPLAY_PER_SEC   0x10000000

Definition at line 42 of file winperf.h.

◆ PERF_DISPLAY_PERCENT

#define PERF_DISPLAY_PERCENT   0x20000000

Definition at line 43 of file winperf.h.

◆ PERF_DISPLAY_SECONDS

#define PERF_DISPLAY_SECONDS   0x30000000

Definition at line 44 of file winperf.h.

◆ PERF_ELAPSED_TIME

◆ PERF_INVERSE_COUNTER

#define PERF_INVERSE_COUNTER   0x1000000

Definition at line 39 of file winperf.h.

◆ PERF_MULTI_COUNTER

#define PERF_MULTI_COUNTER   0x2000000

Definition at line 40 of file winperf.h.

◆ PERF_NO_INSTANCES

#define PERF_NO_INSTANCES   -1

Definition at line 13 of file winperf.h.

◆ PERF_NO_UNIQUE_ID

#define PERF_NO_UNIQUE_ID   (-1)

Definition at line 47 of file winperf.h.

◆ PERF_NUMBER_DEC_1000

#define PERF_NUMBER_DEC_1000   0x20000

Definition at line 24 of file winperf.h.

◆ PERF_NUMBER_DECIMAL

#define PERF_NUMBER_DECIMAL   0x10000

Definition at line 23 of file winperf.h.

◆ PERF_NUMBER_HEX

#define PERF_NUMBER_HEX   0

Definition at line 22 of file winperf.h.

◆ PERF_OBJECT_TIMER

#define PERF_OBJECT_TIMER   0x200000

Definition at line 36 of file winperf.h.

◆ PERF_RAW_BASE

Definition at line 77 of file winperf.h.

◆ PERF_RAW_FRACTION

Definition at line 76 of file winperf.h.

◆ PERF_SAMPLE_BASE

Definition at line 65 of file winperf.h.

◆ PERF_SAMPLE_COUNTER

◆ PERF_SAMPLE_FRACTION

◆ PERF_SIZE_DWORD

#define PERF_SIZE_DWORD   0

Definition at line 14 of file winperf.h.

◆ PERF_SIZE_LARGE

#define PERF_SIZE_LARGE   256

Definition at line 15 of file winperf.h.

◆ PERF_SIZE_VARIABLE_LEN

#define PERF_SIZE_VARIABLE_LEN   768

Definition at line 17 of file winperf.h.

◆ PERF_SIZE_ZERO

#define PERF_SIZE_ZERO   512

Definition at line 16 of file winperf.h.

◆ PERF_TEXT_ASCII

#define PERF_TEXT_ASCII   0x10000

Definition at line 33 of file winperf.h.

◆ PERF_TEXT_UNICODE

#define PERF_TEXT_UNICODE   0

Definition at line 32 of file winperf.h.

◆ PERF_TIMER_100NS

#define PERF_TIMER_100NS   0x100000

Definition at line 35 of file winperf.h.

◆ PERF_TIMER_TICK

#define PERF_TIMER_TICK   0

Definition at line 34 of file winperf.h.

◆ PERF_TYPE_COUNTER

#define PERF_TYPE_COUNTER   1024

Definition at line 19 of file winperf.h.

◆ PERF_TYPE_NUMBER

#define PERF_TYPE_NUMBER   0

Definition at line 18 of file winperf.h.

◆ PERF_TYPE_TEXT

#define PERF_TYPE_TEXT   2048

Definition at line 20 of file winperf.h.

◆ PERF_TYPE_ZERO

#define PERF_TYPE_ZERO   0xC00

Definition at line 21 of file winperf.h.

Typedef Documentation

◆ PDWORD

typedef PVOID PDWORD

Definition at line 151 of file winperf.h.

◆ PERF_COUNTER_BLOCK

◆ PERF_COUNTER_DEFINITION

◆ PERF_DATA_BLOCK

◆ PERF_INSTANCE_DEFINITION

◆ PERF_OBJECT_TYPE

◆ PPERF_COUNTER_BLOCK

◆ PPERF_COUNTER_DEFINITION

◆ PPERF_DATA_BLOCK

◆ PPERF_INSTANCE_DEFINITION

◆ PPERF_OBJECT_TYPE

Function Documentation

◆ DWORD()

typedef DWORD ( CALLBACK  PM_OPEN_PROC)