From e9bebe253fdecee009414bdce7ccdfba83f980e6 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 13 Dec 2017 15:29:23 +0100 Subject: add simple cache benchmark application --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3569430..0860731 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,18 @@ CXXFLAGS = -std=c++14 TARGETS = src/app/${app}/main.cc src/os/object/cpp_helpers.cc src/os/object/outputstream.cc +ifeq (${timer_cycles}, 1) + COMMON_FLAGS += -DTIMER_CYCLES +endif + +ifeq (${timer_us}, 1) + COMMON_FLAGS += -DTIMER_US +endif + +ifeq (${timer_s}, 1) + COMMON_FLAGS += -DTIMER_S +endif + ifeq (${loop}, 1) COMMON_FLAGS += -DWITH_LOOP endif -- cgit v1.2.3