diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2023-12-01 08:57:58 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2023-12-01 08:57:58 +0100 |
commit | 87f6ad41589028457803af90f1391cc010ffa583 (patch) | |
tree | 780820b64a933e8e78e6a8c9b73f64ae9b0b4b1d /BS/Makefile | |
parent | 27db7a5b221770bedede103410c16462f1f5cff1 (diff) |
BS: add overhead measurements
Diffstat (limited to 'BS/Makefile')
-rw-r--r-- | BS/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/BS/Makefile b/BS/Makefile index fae815c..90896a8 100644 --- a/BS/Makefile +++ b/BS/Makefile @@ -1,13 +1,18 @@ NR_DPUS ?= 1 NR_TASKLETS ?= 16 PROBLEM_SIZE ?= 8192 # original 2, wtf +WITH_ALLOC_OVERHEAD ?= 0 +WITH_LOAD_OVERHEAD ?= 0 +WITH_FREE_OVERHEAD ?= 0 +WITH_DPUINFO ?= 0 +SDK_SINGLETHREADED ?= 0 COMMON_INCLUDES := support HOST_SOURCES := $(wildcard host/*.c) DPU_SOURCES := $(wildcard dpu/*.c) COMMON_FLAGS := -Wall -Wextra -g -I${COMMON_INCLUDES} -HOST_FLAGS := ${COMMON_FLAGS} -std=c11 -O3 `dpu-pkg-config --cflags --libs dpu` -DNR_TASKLETS=${NR_TASKLETS} -DNR_DPUS=${NR_DPUS} -DPROBLEM_SIZE=${PROBLEM_SIZE} +HOST_FLAGS := ${COMMON_FLAGS} -std=c11 -O3 `dpu-pkg-config --cflags --libs dpu` -DNR_TASKLETS=${NR_TASKLETS} -DNR_DPUS=${NR_DPUS} -DPROBLEM_SIZE=${PROBLEM_SIZE} -DWITH_ALLOC_OVERHEAD=${WITH_ALLOC_OVERHEAD} -DWITH_LOAD_OVERHEAD=${WITH_LOAD_OVERHEAD} -DWITH_FREE_OVERHEAD=${WITH_FREE_OVERHEAD} -DWITH_DPUINFO=${WITH_DPUINFO} -DSDK_SINGLETHREADED=${SDK_SINGLETHREADED} DPU_FLAGS := ${COMMON_FLAGS} -O2 -DNR_TASKLETS=${NR_TASKLETS} QUIET = @ |