summaryrefslogtreecommitdiffstats
path: root/dis
diff options
context:
space:
mode:
authorJoshua Bakita <bakitajoshua@gmail.com>2020-05-26 21:38:52 -0400
committerJoshua Bakita <bakitajoshua@gmail.com>2020-05-26 21:51:16 -0400
commitb0a383d5bd705e9e38b38e6a3ec00eb53166f1b6 (patch)
treec6a574719690eb62d5a85d5db72d10d3d047dd16 /dis
parent4f1aa00f177646b5129304a7d587658aad949946 (diff)
Code cleanup and bugfixes for infrastructure code
- Remove unused parameters to extra.h - Use floats to avoid integer overflow when timing long loops - Only include litmus headers and/or MMDC headers if the appropriate define is set in extra.h - Update job parameters to match those used in my PRP experiments
Diffstat (limited to 'dis')
-rwxr-xr-x[-rw-r--r--]dis/original/Makefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/dis/original/Makefile b/dis/original/Makefile
index 98634ac..7ff5e2a 100644..100755
--- a/dis/original/Makefile
+++ b/dis/original/Makefile
@@ -1,8 +1,20 @@
1LIBLITMUS ?= /media/speedy/litmus/liblitmus 1LIBLITMUS ?= /media/speedy/litmus/liblitmus
2CC ?= gcc 2CC ?= gcc
3CFLAGS = -pthread -O2 -I${LIBLITMUS}/include -I${LIBLITMUS}/arch/arm/include -I/playpen/jbakita/HRTSMT-RTSS19/FinalBenchmarkSetup/baseline/source 3CFLAGS = -pthread -O2 -g -I../../baseline/source
4LDFLAGS = -lrt -lm -L${LIBLITMUS} -llitmus 4LDFLAGS = -lrt -lm
5COMMON = /playpen/jbakita/HRTSMT-RTSS19/FinalBenchmarkSetup/baseline/source/extra.h /media/speedy/litmus/tools/mmdc/mmdc.c 5COMMON = ../../baseline/source/extra.h
6
7# Handle cases where we're also profiling with the MMDC on the i.MX6Q
8ifneq ($(shell grep "define MMDC 1" ../../baseline/source/extra.h),)
9»···COMMON += /media/speedy/litmus/tools/mmdc/mmdc.c
10endif
11
12# Include all the LITMUS^RT headers if we're using it
13ifneq ($(shell grep "define LITMUS 1" ../../baseline/source/extra.h),)
14 CFLAGS += -I${LIBLITMUS}/include -I${LIBLITMUS}/arch/arm/include
15 LDFLAGS += -L${LIBLITMUS} -llitmus
16endif
17
6 18
7all: field matrix neighborhood pointer transitive update 19all: field matrix neighborhood pointer transitive update
8 20