summaryrefslogtreecommitdiffstats
path: root/tests/monotonic-realticks.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/monotonic-realticks.c')
-rw-r--r--tests/monotonic-realticks.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/monotonic-realticks.c b/tests/monotonic-realticks.c
index e3e973a..1e48ca5 100644
--- a/tests/monotonic-realticks.c
+++ b/tests/monotonic-realticks.c
@@ -36,9 +36,11 @@ main()
return EXIT_FAILURE;
}
+#if SANDGLASS_TSC
sandglass_bench_fine(&sandglass, sandglass_get_tsc());
-
printf("%ld\n", sandglass.grains);
-
return EXIT_SUCCESS;
+#else
+ return EXIT_FAILURE;
+#endif
}