include/rpc_perfcount_defs.h

説明を見る。
00001 #ifndef _RPC_PERFCOUNT_DEFS_H
00002 #define _RPC_PERFCOUNT_DEFS_H
00003 /* 
00004  *  Unix SMB/CIFS implementation.
00005  *  Virtual Windows Registry Layer
00006  *
00007  *  Copyright (C) Marcin Krzysztof Porwit    2005,
00008  *  Copyright (C) Gerald (Jerry) Carter      2005.
00009  *  
00010  *  This program is free software; you can redistribute it and/or modify
00011  *  it under the terms of the GNU General Public License as published by
00012  *  the Free Software Foundation; either version 2 of the License, or
00013  *  (at your option) any later version.
00014  *  
00015  *  This program is distributed in the hope that it will be useful,
00016  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  *  GNU General Public License for more details.
00019  *  
00020  *  You should have received a copy of the GNU General Public License
00021  *  along with this program; if not, write to the Free Software
00022  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00023  */
00024 
00025 /*
00026  * The following #defines match what is in winperf.h. 
00027  * See that include file for more details, or look up
00028  * "Performance Data Format" on MSDN
00029  * 
00030  * Rather than including them in rpc_perfcount.h, they
00031  * were broken out into a separate .h file so that they
00032  * can be included by other programs that need this info
00033  * without pulling in everything else samba-related.
00034  */
00035 
00036 #define PERF_NO_INSTANCES             -1
00037 #define PERF_NO_UNIQUE_ID             -1
00038 
00039 /* These determine the data size */
00040 #define PERF_SIZE_DWORD               0x00000000
00041 #define PERF_SIZE_LARGE               0x00000100
00042 #define PERF_SIZE_ZERO                0x00000200
00043 #define PERF_SIZE_VARIABLE_LEN        0x00000300
00044 
00045 /* These determine the usage of the counter */
00046 #define PERF_TYPE_NUMBER              0x00000000
00047 #define PERF_TYPE_COUNTER             0x00000400
00048 #define PERF_TYPE_TEXT                0x00000800
00049 #define PERF_TYPE_ZERO                0x00000C00
00050 
00051 /* If PERF_TYPE_NUMBER was selected, these provide display information */
00052 #define PERF_NUMBER_HEX               0x00000000
00053 #define PERF_NUMBER_DECIMAL           0x00010000
00054 #define PERF_NUMBER_DEC_1000          0x00020000
00055 
00056 /* If PERF_TYPE_COUNTER was selected, these provide display information */
00057 #define PERF_COUNTER_VALUE            0x00000000
00058 #define PERF_COUNTER_RATE             0x00010000
00059 #define PERF_COUNTER_FRACTION         0x00020000
00060 #define PERF_COUNTER_BASE             0x00030000
00061 #define PERF_COUNTER_ELAPSED          0x00040000
00062 #define PERF_COUNTER_QUEUELEN         0x00050000
00063 #define PERF_COUNTER_HISTOGRAM        0x00060000
00064 #define PERF_COUNTER_PRECISION        0x00070000
00065 
00066 /* If PERF_TYPE_TEXT was selected, these provide display information */
00067 #define PERF_TEXT_UNICODE             0x00000000
00068 #define PERF_TEXT_ASCII               0x00010000
00069 
00070 /* These provide information for which tick count to use when computing elapsed interval */
00071 #define PERF_TIMER_TICK               0x00000000
00072 #define PERF_TIMER_100NS              0x00100000
00073 #define PERF_OBJECT_TIMER             0x00200000
00074 
00075 /* These affect how the data is manipulated prior to being displayed */
00076 #define PERF_DELTA_COUNTER            0x00400000
00077 #define PERF_DELTA_BASE               0x00800000
00078 #define PERF_INVERSE_COUNTER          0x01000000
00079 #define PERF_MULTI_COUNTER            0x02000000
00080 
00081 /* These determine if any text gets added when the value is displayed */
00082 #define PERF_DISPLAY_NO_SUFFIX        0x00000000
00083 #define PERF_DISPLAY_PER_SEC          0x10000000
00084 #define PERF_DISPLAY_PERCENT          0x20000000
00085 #define PERF_DISPLAY_SECONDS          0x30000000
00086 #define PERF_DISPLAY_NOSHOW           0x40000000
00087 
00088 /* These determine the DetailLevel of the counter */
00089 #define PERF_DETAIL_NOVICE            100
00090 #define PERF_DETAIL_ADVANCED          200
00091 #define PERF_DETAIL_EXPERT            300
00092 #define PERF_DETAIL_WIZARD            400
00093 
00094 #endif /* _RPC_PERFCOUNT_DEFS_H */

Sambaに対してSat Aug 29 21:22:55 2009に生成されました。  doxygen 1.4.7