aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-26 15:52:11 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-26 15:52:42 +0100
commit22d602b81fe3315007075f7807bb9d944a72cb94 (patch)
tree1841992bbb7f8457d8c2b07ad2cb6ab57facc523 /src/libutil/util.h
parentb08a65087f4ec74b6076038d26bf084bb485973c (diff)
downloadrspamd-22d602b81fe3315007075f7807bb9d944a72cb94.tar.gz
rspamd-22d602b81fe3315007075f7807bb9d944a72cb94.zip
[Feature] Use rdtsc where possible
Diffstat (limited to 'src/libutil/util.h')
-rw-r--r--src/libutil/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.h b/src/libutil/util.h
index d8a1eae60..ab677210e 100644
--- a/src/libutil/util.h
+++ b/src/libutil/util.h
@@ -295,7 +295,7 @@ gint rspamd_read_passphrase (gchar *buf, gint size, gint rwflag, gpointer key);
* Portably return the current clock ticks as seconds
* @return
*/
-gdouble rspamd_get_ticks (void);
+gdouble rspamd_get_ticks (gboolean rdtsc_ok);
/**
* Portably return the current virtual clock ticks as seconds