summaryrefslogtreecommitdiff
path: root/src/core/wee-debug.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-08-30 16:07:37 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-08-30 16:07:37 +0200
commit0a641bdf0b9ac9c5b3cd14311d2e62073f6114f5 (patch)
tree6289dba603e64547faa0d27f06cd5aa9cbc829a9 /src/core/wee-debug.h
parent421c0752d8fe3cf37d8c4b3ff13d4fe3dcb69034 (diff)
downloadweechat-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.h3
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 */