diff options
Diffstat (limited to 'cpu.c')
-rw-r--r-- | cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu.c b/cpu.c index d8bed66..f8bc030 100644 --- a/cpu.c +++ b/cpu.c @@ -146,8 +146,8 @@ void cpu_collect(scrape_req *req, void *ctx_ptr) { } } -// exposed only for testing - +#ifdef NANO_EXPORTER_TEST void cpu_test_override_tick(void *ctx, long tick) { ((struct cpu_context *) ctx)->clock_tick = tick; } +#endif // NANO_EXPORTER_TEST |