| The Gaudi Framework v32r1 (f65d50dc)

pfmlib_os.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2003-2006 Hewlett-Packard Development Company, L.P.
3 * Contributed by Stephane Eranian <eranian@hpl.hp.com>
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a copy
6 * of this software and associated documentation files (the "Software"), to deal
7 * in the Software without restriction, including without limitation the rights
8 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
9 * of the Software, and to permit persons to whom the Software is furnished to do so,
10 * subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice shall be included in all
13 * copies or substantial portions of the Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
16 * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
17 * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
18 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
19 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
20 * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 */
22 #ifndef __PFMLIB_OS_H__
23 #define __PFMLIB_OS_H__
24
25 #ifdef __linux__
26 # ifdef __ia64__
27 # include <perfmon/pfmlib_os_ia64.h>
28 # endif
29
30 # ifdef __x86_64__
31 # include <perfmon/pfmlib_os_x86_64.h>
32 # endif
33
34 # ifdef __i386__
35 # include <perfmon/pfmlib_os_i386.h>
36 # endif
37
38 # if defined( __mips__ )
39 # include <perfmon/pfmlib_os_mips64.h>
40 # endif
41
42 # ifdef __powerpc__
43 # include <perfmon/pfmlib_os_powerpc.h>
44 # endif
45
46 # ifdef __sparc__
47 # include <perfmon/pfmlib_os_sparc.h>
48 # endif
49
50 # ifdef __cell__
51 # include <perfmon/pfmlib_os_powerpc.h>
52 # endif
53
54 # ifdef __crayx2
55 # include <perfmon/pfmlib_os_crayx2.h>
56 # endif
57 #endif /* __linux__ */
58 #endif /* __PFMLIB_OS_H__ */
pfmlib_os_i386.h
pfmlib_os_x86_64.h