aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2012-08-22 15:34:10 -0400
committerJonathan Herman <hermanjl@cs.unc.edu>2012-08-22 15:34:10 -0400
commitbd93158a49cd64b84d0e64735d2362dbceaecf87 (patch)
tree042294c2d01331e349254c7f034402eb9b3ac140 /Makefile
parent45ed020007488c4906740a10d1318c0d78c959f6 (diff)
Draw plot once on load, distributing records via hashing.
redraw_pixmap_backend was being called 3 times. 2 of these times were superflous calls to configure. Added a hack to ignore the second two configures. Plot CPU reduction: 70% Each record was being sent to every plot. Now, records are only sent to the CPU and Task plots which hash to a calculated PID. Container plots currently aren't covered by this. Plot CPU reduction (after previous change): 30%
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1a8c0a2..b69552f 100644
--- a/Makefile
+++ b/Makefile
@@ -215,8 +215,8 @@ INCLUDES = -I. $(CONFIG_INCLUDES)
215include features.mk 215include features.mk
216 216
217# Set compile option CFLAGS if not set elsewhere 217# Set compile option CFLAGS if not set elsewhere
218CFLAGS ?= -g -Wall 218CFLAGS ?= -g -Wall -pg
219LDFLAGS ?= 219LDFLAGS ?= -pg
220 220
221ifndef NO_PTRACE 221ifndef NO_PTRACE
222ifneq ($(call try-cc,$(SOURCE_PTRACE),),y) 222ifneq ($(call try-cc,$(SOURCE_PTRACE),),y)