00001 #ifndef profile_h 00002 00003 #ifdef __cplusplus 00004 extern "C" { 00005 #endif 00006 extern void start_profile(int); 00007 extern void add_profile(int); 00008 #ifdef __cplusplus 00009 } 00010 #endif 00011 00012 #if defined(PROFILE) && PROFILE > 0 00013 #define PSTART(i) start_profile(i); 00014 #define PSTOP(i) add_profile(i); 00015 #else 00016 #define PSTART(i) 00017 #define PSTOP(i) 00018 #endif 00019 00020 #endif