Fix:Core:Renamed src to navit for cleanup of includes
[navit-package] / navit / profile.h
1 #ifndef NAVIT_PROFILE_H
2 #define NAVIT_PROFILE_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
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, ...);
12 #ifdef __cplusplus
13 }
14 #endif
15
16 #endif
17