1 #ifndef NAVIT_PROFILE_H
2 #define NAVIT_PROFILE_H
7 #define profile_str2(x) #x
8 #define profile_str1(x) profile_str2(x)
9 #define profile_module profile_str1(MODULE)
10 #define profile(level,fmt...) profile_timer(level,profile_module,__PRETTY_FUNCTION__,fmt)
11 void profile_timer(int level, const char *module, const char *function, const char *fmt, ...);