summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorDavid Goldblatt <davidgoldblatt@fb.com>2017-04-19 20:39:33 (GMT)
committerDavid Goldblatt <davidtgoldblatt@gmail.com>2017-04-24 17:33:21 (GMT)
commitbf2dc7e67840807fb90451ab34e7150401f7f7c4 (patch)
tree9c77417e674621c8136c31b93e09082b3a6ae960 /test/unit
parentfa3ad730c492c50f19fc68050ea5d5175b1df3cb (diff)
downloadjemalloc-bf2dc7e67840807fb90451ab34e7150401f7f7c4.zip
jemalloc-bf2dc7e67840807fb90451ab34e7150401f7f7c4.tar.gz
jemalloc-bf2dc7e67840807fb90451ab34e7150401f7f7c4.tar.bz2
Header refactoring: ticker module - remove from the catchall and unify.
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/decay.c2
-rw-r--r--test/unit/ticker.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/decay.c b/test/unit/decay.c
index 26359fa..389f6e0 100644
--- a/test/unit/decay.c
+++ b/test/unit/decay.c
@@ -1,5 +1,7 @@
#include "test/jemalloc_test.h"
+#include "jemalloc/internal/ticker.h"
+
static nstime_monotonic_t *nstime_monotonic_orig;
static nstime_update_t *nstime_update_orig;
diff --git a/test/unit/ticker.c b/test/unit/ticker.c
index c2ad729..e5790a3 100644
--- a/test/unit/ticker.c
+++ b/test/unit/ticker.c
@@ -1,5 +1,7 @@
#include "test/jemalloc_test.h"
+#include "jemalloc/internal/ticker.h"
+
TEST_BEGIN(test_ticker_tick) {
#define NREPS 2
#define NTICKS 3