1 | /*
|
---|
2 | * Performance Monitor
|
---|
3 | *
|
---|
4 | * Copyright 2007 Hans Leidekker
|
---|
5 | *
|
---|
6 | * This library is free software; you can redistribute it and/or
|
---|
7 | * modify it under the terms of the GNU Lesser General Public
|
---|
8 | * License as published by the Free Software Foundation; either
|
---|
9 | * version 2.1 of the License, or (at your option) any later version.
|
---|
10 | *
|
---|
11 | * This library is distributed in the hope that it will be useful,
|
---|
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
14 | * Lesser General Public License for more details.
|
---|
15 | *
|
---|
16 | * You should have received a copy of the GNU Lesser General Public
|
---|
17 | * License along with this library; if not, write to the Free Software
|
---|
18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
19 | */
|
---|
20 |
|
---|
21 | /*
|
---|
22 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
23 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
24 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
25 | * a choice of LGPL license versions is made available with the language indicating
|
---|
26 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
27 | * of the LGPL is applied is otherwise unspecified.
|
---|
28 | */
|
---|
29 |
|
---|
30 | #ifndef _WINPERF_
|
---|
31 | #define _WINPERF_
|
---|
32 |
|
---|
33 | #define PERF_SIZE_DWORD 0x00000000
|
---|
34 | #define PERF_SIZE_LARGE 0x00000100
|
---|
35 | #define PERF_SIZE_ZERO 0x00000200
|
---|
36 | #define PERF_SIZE_VARIABLE_LEN 0x00000300
|
---|
37 |
|
---|
38 | #define PERF_TYPE_NUMBER 0x00000000
|
---|
39 | #define PERF_TYPE_COUNTER 0x00000400
|
---|
40 | #define PERF_TYPE_TEXT 0x00000800
|
---|
41 | #define PERF_TYPE_ZERO 0x00000C00
|
---|
42 |
|
---|
43 | #define PERF_NUMBER_HEX 0x00000000
|
---|
44 | #define PERF_NUMBER_DECIMAL 0x00010000
|
---|
45 | #define PERF_NUMBER_DEC_1000 0x00020000
|
---|
46 |
|
---|
47 | #define PERF_COUNTER_VALUE 0x00000000
|
---|
48 | #define PERF_COUNTER_RATE 0x00010000
|
---|
49 | #define PERF_COUNTER_FRACTION 0x00020000
|
---|
50 | #define PERF_COUNTER_BASE 0x00030000
|
---|
51 | #define PERF_COUNTER_ELAPSED 0x00040000
|
---|
52 | #define PERF_COUNTER_QUEUELEN 0x00050000
|
---|
53 | #define PERF_COUNTER_HISTOGRAM 0x00060000
|
---|
54 | #define PERF_COUNTER_PRECISION 0x00070000
|
---|
55 |
|
---|
56 | #define PERF_TEXT_UNICODE 0x00000000
|
---|
57 | #define PERF_TEXT_ASCII 0x00010000
|
---|
58 |
|
---|
59 | #define PERF_TIMER_TICK 0x00000000
|
---|
60 | #define PERF_TIMER_100NS 0x00100000
|
---|
61 | #define PERF_OBJECT_TIMER 0x00200000
|
---|
62 |
|
---|
63 | #define PERF_DELTA_COUNTER 0x00400000
|
---|
64 | #define PERF_DELTA_BASE 0x00800000
|
---|
65 | #define PERF_INVERSE_COUNTER 0x01000000
|
---|
66 | #define PERF_MULTI_COUNTER 0x02000000
|
---|
67 |
|
---|
68 | #define PERF_DISPLAY_NO_SUFFIX 0x00000000
|
---|
69 | #define PERF_DISPLAY_PER_SEC 0x10000000
|
---|
70 | #define PERF_DISPLAY_PERCENT 0x20000000
|
---|
71 | #define PERF_DISPLAY_SECONDS 0x30000000
|
---|
72 | #define PERF_DISPLAY_NOSHOW 0x40000000
|
---|
73 |
|
---|
74 | #endif /* _WINPERF_ */
|
---|