aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-13 15:52:10 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-13 15:52:10 +0000
commit52a47b8cfb1c9acaa1bd0dd78ec295c32849417d (patch)
treee4e4f270e1a9d2443a9435c30e4de3884592544a /src/libserver/task.h
parentf4093e086e3edd5cbf12eb8d37c88e7343b22840 (diff)
downloadrspamd-52a47b8cfb1c9acaa1bd0dd78ec295c32849417d.tar.gz
rspamd-52a47b8cfb1c9acaa1bd0dd78ec295c32849417d.zip
[Feature] Cache and insert scan time into the protocol
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r--src/libserver/task.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h
index ba03d8819..97329ce3b 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -175,6 +175,8 @@ struct rspamd_task {
rspamd_mempool_t *task_pool; /**< memory pool for task */
double time_real;
double time_virtual;
+ double time_real_finish;
+ double time_virtual_finish;
struct timeval tv;
gboolean (*fin_callback)(struct rspamd_task *task, void *arg);
/**< calback for filters finalizing */