winperf.h revision 3194da424708abdd288b28d96892b3a5f3f7df0b
2N/A/*
2N/A * Performance Monitor
2N/A *
2N/A * Copyright 2007 Hans Leidekker
2N/A *
2N/A * This library is free software; you can redistribute it and/or
2N/A * modify it under the terms of the GNU Lesser General Public
2N/A * License as published by the Free Software Foundation; either
2N/A * version 2.1 of the License, or (at your option) any later version.
2N/A *
2N/A * This library is distributed in the hope that it will be useful,
2N/A * but WITHOUT ANY WARRANTY; without even the implied warranty of
2N/A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2N/A * Lesser General Public License for more details.
2N/A *
2N/A * You should have received a copy of the GNU Lesser General Public
2N/A * License along with this library; if not, write to the Free Software
2N/A * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
2N/A */
2N/A
4194N/A#ifndef _WINPERF_
2N/A#define _WINPERF_
2N/A
4360N/A#define PERF_SIZE_DWORD 0x00000000
2N/A#define PERF_SIZE_LARGE 0x00000100
2N/A#define PERF_SIZE_ZERO 0x00000200
4194N/A#define PERF_SIZE_VARIABLE_LEN 0x00000300
4194N/A
2N/A#define PERF_TYPE_NUMBER 0x00000000
2N/A#define PERF_TYPE_COUNTER 0x00000400
2N/A#define PERF_TYPE_TEXT 0x00000800
2N/A#define PERF_TYPE_ZERO 0x00000C00
2N/A
2N/A#define PERF_NUMBER_HEX 0x00000000
2N/A#define PERF_NUMBER_DECIMAL 0x00010000
2N/A#define PERF_NUMBER_DEC_1000 0x00020000
83N/A
4337N/A#define PERF_COUNTER_VALUE 0x00000000
1227N/A#define PERF_COUNTER_RATE 0x00010000
2N/A#define PERF_COUNTER_FRACTION 0x00020000
2N/A#define PERF_COUNTER_BASE 0x00030000
2N/A#define PERF_COUNTER_ELAPSED 0x00040000
4194N/A#define PERF_COUNTER_QUEUELEN 0x00050000
4337N/A#define PERF_COUNTER_HISTOGRAM 0x00060000
2N/A#define PERF_COUNTER_PRECISION 0x00070000
2N/A
4360N/A#define PERF_TEXT_UNICODE 0x00000000
49N/A#define PERF_TEXT_ASCII 0x00010000
2N/A
#define PERF_TIMER_TICK 0x00000000
#define PERF_TIMER_100NS 0x00100000
#define PERF_OBJECT_TIMER 0x00200000
#define PERF_DELTA_COUNTER 0x00400000
#define PERF_DELTA_BASE 0x00800000
#define PERF_INVERSE_COUNTER 0x01000000
#define PERF_MULTI_COUNTER 0x02000000
#define PERF_DISPLAY_NO_SUFFIX 0x00000000
#define PERF_DISPLAY_PER_SEC 0x10000000
#define PERF_DISPLAY_PERCENT 0x20000000
#define PERF_DISPLAY_SECONDS 0x30000000
#define PERF_DISPLAY_NOSHOW 0x40000000
#define PERF_DETAIL_NOVICE 100
#define PERF_DETAIL_ADVANCED 200
#define PERF_DETAIL_EXPERT 300
#define PERF_DETAIL_WIZARD 400
#endif /* _WINPERF_ */