 
#ifndef profile_DEFINED
#define profile_DEFINED 1
 
#ifndef class_DEFINED
#include <class.h>
#endif /* class_DEFINED */
/* 
 * This file was generated by the Andrew class system preprocessor.
 * Don't make changes to this file as it is created from profile.ch and will be
 * overwritten.  Make changes to profile.ch instead.
 */ 
 
#ifndef class_StaticInfoOnly
/* 
 * The following information was copied, as-is, from profile.ch.
 */ 
 
/* ********************************************************************** *\
 *         Copyright IBM Corporation 1988,1991 - All Rights Reserved      *
 *        For full copyright information see:'andrew/config/COPYRITE'     *
\* ********************************************************************** */

/*
	$Disclaimer: 
*Permission to use, copy, modify, and distribute this software and its 
*documentation for any purpose is hereby granted without fee, 
*provided that the above copyright notice appear in all copies and that 
*both that copyright notice, this permission notice, and the following 
*disclaimer appear in supporting documentation, and that the names of 
*IBM, Carnegie Mellon University, and other copyright holders, not be 
*used in advertising or publicity pertaining to distribution of the software 
*without specific, written prior permission.
*
*IBM, CARNEGIE MELLON UNIVERSITY, AND THE OTHER COPYRIGHT HOLDERS 
*DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 
*ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.  IN NO EVENT 
*SHALL IBM, CARNEGIE MELLON UNIVERSITY, OR ANY OTHER COPYRIGHT HOLDER 
*BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY 
*DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 
*WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS 
*ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
*OF THIS SOFTWARE.
* $
*/

#ifdef sun
#define profile_STATICBASE	0x8000
#endif /* sun */
#ifdef vax
#define profile_STATICBASE	2
#endif /* vax */
#ifdef ibm032
#define profile_STATICBASE	0
#endif /* ibm032 */

#ifndef profile_STATICBASE
#define	profile_STATICBASE	2
#endif /* profile_STATICBASE */





#define profile_DEFAULTFILE "gmon.out"


/* 
 * End of information copied from profile.ch.
 */ 
 
#endif /* class_StaticInfoOnly *//* 
 * Include the superclass information
 */ 
/* profile has no super class */ 
 
 
#ifndef class_StaticInfoOnly
/* 
 * Data structure for profile 
 */ 
/* profile is a package.  Packages don't have any data */ 

 
/* 
 * End of data structure for profile.
 */ 
 

#endif /* class_StaticInfoOnly */

#ifndef class_StaticInfoOnly

#ifndef profile_PROGRAMMERVERSION
#define profile_PROGRAMMERVERSION 1
#endif /* profile_PROGRAMMERVERSION */

#ifdef profile_VERSION
#undef profile_VERSION
#endif /* profile_VERSION */
#define profile_VERSION ((((profile_PROGRAMMERVERSION << 16) ^ (4 << 8)) & 0x7ffff) + (4 << 20))


#endif /* class_StaticInfoOnly */
#define profile_StaticLoadOnlyThisClass()  \
{ extern struct classinfo *profile__GetClassInfo(); \
 extern struct classheader *profile_classheader_StaticExport; \
  (void) class_EnterInfo(NULL, profile_classheader_StaticExport->name, profile__GetClassInfo, NULL, profile_classheader_StaticExport->namekey); } 
 
#define profile_StaticLoad()  \
    { \
    profile_StaticLoadOnlyThisClass();  \
    } 
 
#define profile_StaticEntry  {profile_StaticLoad()} 
 
#ifndef class_StaticInfoOnly
static struct classheader profile_classheader = {
    profile_VERSION,
    "profile",
    "profile",
    (struct basicobject_methods *) &class_RoutineStruct,
};

#define profile_CLASSPROCEDURES (profile_classheader.classprocedures)
int profile_classref_;
#endif /* class_StaticInfoOnly */

#endif /* profile_DEFINED */

#if !defined(profile_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_profile) && !defined(class_StaticEntriesOnly)
#define profile_ROUTINESDEFINED


#define profile_Start(textbase,textlength,filename) \
    (*((int (*)()) (profile_CLASSPROCEDURES->routines[0])))(&profile_classheader,textbase,textlength,filename)
#define profile_StartClass(classname,filename) \
    (*((int (*)()) (profile_CLASSPROCEDURES->routines[1])))(&profile_classheader,classname,filename)
#define profile_Stop() \
    (*((int (*)()) (profile_CLASSPROCEDURES->routines[2])))(&profile_classheader)
#define profile_Active() \
    (*((int (*)()) (profile_CLASSPROCEDURES->routines[3])))(&profile_classheader)

#define profile_GetStaticBase() \
     (profile_STATICBASE)

#endif /* !defined(profile_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_profile ) && !defined(class_StaticEntriesOnly)*/

