actually add new test
diff --git a/test/walltime_test.cc b/test/walltime_test.cc
new file mode 100644
index 0000000..b34c7b3
--- /dev/null
+++ b/test/walltime_test.cc
@@ -0,0 +1,24 @@
+
+#include <cstddef>
+
+#include "benchmark/benchmark_api.h"
+#include "../src/walltime.h"
+
+void BM_CPUTimeNow(benchmark::State& state) {
+ while (state.KeepRunning()) {
+ benchmark::WallTime volatile now = benchmark::walltime::CPUWalltimeNow();
+ ((void)now);
+ }
+}
+BENCHMARK(BM_CPUTimeNow);
+
+void BM_ChronoTimeNow(benchmark::State& state) {
+ while (state.KeepRunning()) {
+ benchmark::WallTime volatile now = benchmark::walltime::ChronoWalltimeNow();
+ ((void)now);
+ }
+}
+BENCHMARK(BM_ChronoTimeNow);
+
+
+BENCHMARK_MAIN()