summaryrefslogtreecommitdiff
path: root/event-internal.h
diff options
context:
space:
mode:
authorNiels Provos <provos@gmail.com>2008-05-03 18:23:44 +0000
committerNiels Provos <provos@gmail.com>2008-05-03 18:23:44 +0000
commit45e6fb0dd263f878135bd210d3d410906eb45c9f (patch)
tree323c231ac97fd5dfc8fbd11cddd7d5b0170c4def /event-internal.h
parentf04497e493c6b665d6cc889a57f2441d71d176d1 (diff)
downloadlibevent-45e6fb0dd263f878135bd210d3d410906eb45c9f.tar.gz
cache clock_gettime/gettimeofday values in base
svn:r758
Diffstat (limited to 'event-internal.h')
-rw-r--r--event-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/event-internal.h b/event-internal.h
index f1372b23..e80171ee 100644
--- a/event-internal.h
+++ b/event-internal.h
@@ -68,6 +68,8 @@ struct event_base {
struct min_heap timeheap;
+ struct timeval tv_cache;
+
/* threading support */
unsigned long th_owner_id;
unsigned long (*th_get_id)(void);