aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2013-03-08 01:25:35 -0500
committerBjoern Brandenburg <bbb@mpi-sws.org>2013-03-12 09:47:01 -0400
commit072b486393ab702eea9ea0a7fef569dbf8be0a32 (patch)
treedda3128725f9324908c4f3daae992208030faaff /Makefile
parent7051511d6b059097f2eb5f650294e0ead7d8f488 (diff)
uncachedev: uncache test tool.
This adds the uncache test tool (bin/uncache.c). The tool can be used to test Litmus's char device driver for allocating uncacheable CPU memory. The tool runs various checks and gathers basic cache vs. main memory statistics. In the future, uncache could be extended to quantify the benefits of the L1, L2, and L3 caches, instead of treating them as a black box. Note: Uncache works best when compiled with '-O2'. While '-O2' has not been added to the Makefile, other code was updated (code in tests/ and rtspin), to compile with -O2. DEPENDS UPON LITMUS-RT PATCH 888d097deb6d1fdc0c89a4f9667fd81cf416cfc7.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8195752..5432edd 100644
--- a/Makefile
+++ b/Makefile
@@ -71,7 +71,7 @@ AR := ${CROSS_COMPILE}${AR}
71 71
72all = lib ${rt-apps} 72all = lib ${rt-apps}
73rt-apps = cycles base_task rt_launch rtspin release_ts measure_syscall \ 73rt-apps = cycles base_task rt_launch rtspin release_ts measure_syscall \
74 base_mt_task runtests 74 base_mt_task uncache runtests
75 75
76.PHONY: all lib clean dump-config TAGS tags cscope help 76.PHONY: all lib clean dump-config TAGS tags cscope help
77 77
@@ -215,6 +215,9 @@ obj-rt_launch = rt_launch.o common.o
215obj-rtspin = rtspin.o common.o 215obj-rtspin = rtspin.o common.o
216lib-rtspin = -lrt 216lib-rtspin = -lrt
217 217
218obj-uncache = uncache.o
219lib-uncache = -lrt
220
218obj-release_ts = release_ts.o 221obj-release_ts = release_ts.o
219 222
220obj-measure_syscall = null_call.o 223obj-measure_syscall = null_call.o