summaryrefslogtreecommitdiffstats
path: root/src/sandglass.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sandglass.h')
-rw-r--r--src/sandglass.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sandglass.h b/src/sandglass.h
index 9e37578..b17d2a2 100644
--- a/src/sandglass.h
+++ b/src/sandglass.h
@@ -123,6 +123,8 @@ int sandglass_elapse(sandglass_t *sandglass);
/* Warm up the cache for these functions */ \
sandglass_begin(sandglass); \
sandglass_elapse(sandglass); \
+ sandglass_begin(sandglass); \
+ sandglass_elapse(sandglass); \
\
/* Time an empty loop for our baseline */ \
sandglass_begin(sandglass); \
@@ -136,6 +138,7 @@ int sandglass_elapse(sandglass_t *sandglass);
\
/* Warm up the cache for our routine */ \
routine; \
+ routine; \
\
/* Time our routine in a loop */ \
sandglass_begin(sandglass); \
@@ -159,6 +162,8 @@ int sandglass_elapse(sandglass_t *sandglass);
/* Warm up the cache for these functions */ \
sandglass_begin(sandglass); \
sandglass_elapse(sandglass); \
+ sandglass_begin(sandglass); \
+ sandglass_elapse(sandglass); \
\
/* Time an empty routine for our baseline */ \
sandglass_begin(sandglass); \
@@ -167,6 +172,7 @@ int sandglass_elapse(sandglass_t *sandglass);
\
/* Warm up the cache for our routine */ \
routine; \
+ routine; \
\
/* Time the routine */ \
sandglass_begin(sandglass); \
@@ -183,6 +189,8 @@ int sandglass_elapse(sandglass_t *sandglass);
/* Warm up the cache for these functions */ \
sandglass_begin(sandglass); \
sandglass_elapse(sandglass); \
+ sandglass_begin(sandglass); \
+ sandglass_elapse(sandglass); \
\
/* Time an empty loop for our baseline */ \
sandglass_begin(sandglass); \