2 * Copyright (c) 2005 SilverStorm Technologies. All rights reserved.
\r
4 * This software is available to you under the OpenIB.org BSD license
\r
7 * Redistribution and use in source and binary forms, with or
\r
8 * without modification, are permitted provided that the following
\r
9 * conditions are met:
\r
11 * - Redistributions of source code must retain the above
\r
12 * copyright notice, this list of conditions and the following
\r
15 * - Redistributions in binary form must reproduce the above
\r
16 * copyright notice, this list of conditions and the following
\r
17 * disclaimer in the documentation and/or other materials
\r
18 * provided with the distribution.
\r
20 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
\r
21 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
\r
22 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
\r
23 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
\r
24 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
\r
25 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
\r
26 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
\r
32 #ifndef _IBSP_REGPATH_H_
\r
33 #define _IBSP_REGPATH_H_
\r
35 /* these definitions are common for installSP and WSD projects */
\r
36 #define IBSP_PM_REGISTRY_PATH \
\r
37 TEXT("SYSTEM\\CurrentControlSet\\Services\\IBWSD\\")
\r
38 #define IBSP_PM_EVENTLOG_PATH \
\r
39 TEXT("SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application\\IBWSD")
\r
40 #define IBSP_PM_SUBKEY_NAME TEXT("IBWSD")
\r
41 #define IBSP_PM_SUBKEY_PERF TEXT("Performance")
\r
42 #define IBSP_PM_INI_FILE "ibsp_perfcounters.ini"
\r
43 #define IBSP_PM_SYM_H_FILE "ibsp_perfini.h"
\r
46 enum IBSP_PM_COUNTERS
\r
57 IBSP_PM_NUM_COUNTERS
\r
62 /* counter symbol names */
\r
63 #define IBSP_PM_OBJ 0
\r
64 #define IBSP_PM_COUNTER( X ) ((X + 1) * 2)
\r
66 #endif /* _IBSP_REGPATH_H_ */
\r