diff options
Diffstat (limited to 'navit/profile.h')
-rw-r--r-- | navit/profile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/navit/profile.h b/navit/profile.h index 5441221be..e6f900fce 100644 --- a/navit/profile.h +++ b/navit/profile.h @@ -29,6 +29,10 @@ extern "C" { #define profile_str2(x) #x #define profile_str1(x) profile_str2(x) #define profile_module profile_str1(MODULE) +/* + * Macro for logging timing information. + * See function profile_timer for more information. + */ #define profile(level,...) profile_timer(level,profile_module,__PRETTY_FUNCTION__,__VA_ARGS__) void profile_timer(int level, const char *module, const char *function, const char *fmt, ...); #ifdef __cplusplus |