diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-08-30 16:07:37 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-08-30 16:07:37 +0200 |
commit | 0a641bdf0b9ac9c5b3cd14311d2e62073f6114f5 (patch) | |
tree | 6289dba603e64547faa0d27f06cd5aa9cbc829a9 /src/core/wee-debug.h | |
parent | 421c0752d8fe3cf37d8c4b3ff13d4fe3dcb69034 (diff) | |
download | weechat-0a641bdf0b9ac9c5b3cd14311d2e62073f6114f5.zip |
core: add debug functions to measure time spent in code/functions
Diffstat (limited to 'src/core/wee-debug.h')
-rw-r--r-- | src/core/wee-debug.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/wee-debug.h b/src/core/wee-debug.h index 268fbb120..d3b52dcb5 100644 --- a/src/core/wee-debug.h +++ b/src/core/wee-debug.h @@ -29,6 +29,9 @@ extern void debug_hdata (); extern void debug_hooks (); extern void debug_infolists (); extern void debug_directories (); +extern void debug_time_start (const char *name); +extern void debug_time_end (int display); extern void debug_init (); +extern void debug_end (); #endif /* WEECHAT_DEBUG_H */ |