Gaudi Framework, version v22r4

Home   Generated: Fri Sep 2 2011

pfmlib_os_i386.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2005-2006 Hewlett-Packard Development Company, L.P.
00003  * Contributed by Stephane Eranian <eranian@hpl.hp.com>
00004  *
00005  * Permission is hereby granted, free of charge, to any person obtaining a copy
00006  * of this software and associated documentation files (the "Software"), to deal
00007  * in the Software without restriction, including without limitation the rights
00008  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
00009  * of the Software, and to permit persons to whom the Software is furnished to do so,
00010  * subject to the following conditions:
00011  *
00012  * The above copyright notice and this permission notice shall be included in all
00013  * copies or substantial portions of the Software.
00014  *
00015  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
00016  * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
00017  * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
00018  * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
00019  * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
00020  * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00021  */
00022 #ifndef __PFMLIB_OS_I386_P6_H__
00023 #define __PFMLIB_OS_I386_P6_H__
00024 
00025 #ifndef __PFMLIB_OS_H__
00026 #error "you should never include this file directly, use pfmlib_os.h"
00027 #endif
00028 
00029 #include <perfmon/pfmlib_comp.h>
00030 
00031 #ifndef __i386__
00032 #error "you should not be including this file"
00033 #endif
00034 
00035 #ifndef __PFMLIB_OS_COMPILE
00036 #include <perfmon/perfmon.h>
00037 /*
00038  * macros version of pfm_self_start/pfm_self_stop to be used in per-process self-monitoring sessions.
00039  * they are also defined as real functions.
00040  *
00041  * DO NOT USE on system-wide sessions.
00042  */
00043 /* for dlopen()
00044 static inline int
00045 pfm_self_start(int fd)
00046 {
00047         return pfm_start(fd, NULL);
00048 }
00049 
00050 static inline int
00051 pfm_self_stop(int fd)
00052 {
00053         return pfm_stop(fd);
00054 }
00055 */
00056 #endif /* __PFMLIB_OS_COMPILE */
00057 
00058 
00059 #endif /* __PFMLIB_OS_I386_P6_H__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Fri Sep 2 2011 16:24:49 for Gaudi Framework, version v22r4 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004