diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-08-25 13:50:35 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-08-25 13:50:35 +0400 |
commit | b8c51743357c4bc1fc5067dc0bd5e8992310c93d (patch) | |
tree | 107b63862fa9ed007f5b52ac318bde810b921a6e /src/util.h | |
parent | c902ecdf5a000d02884dbcd811e7f97b5477ad9f (diff) | |
download | rspamd-b8c51743357c4bc1fc5067dc0bd5e8992310c93d.tar.gz rspamd-b8c51743357c4bc1fc5067dc0bd5e8992310c93d.zip |
* Improve google perf tools support
* Pass to event_add only copies of struct timeval to avoid timing problems
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index d7665d462..139a44262 100644 --- a/src/util.h +++ b/src/util.h @@ -67,5 +67,7 @@ double set_counter (const char *name, long int value); guint rspamd_strcase_hash (gconstpointer key); gboolean rspamd_strcase_equal (gconstpointer v, gconstpointer v2); +void gperf_profiler_init (struct config_file *cfg, const char *descr); + #endif |