diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-08-22 15:34:10 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-08-22 15:34:10 -0400 |
commit | bd93158a49cd64b84d0e64735d2362dbceaecf87 (patch) | |
tree | 042294c2d01331e349254c7f034402eb9b3ac140 /Makefile | |
parent | 45ed020007488c4906740a10d1318c0d78c959f6 (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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -215,8 +215,8 @@ INCLUDES = -I. $(CONFIG_INCLUDES) | |||
215 | include features.mk | 215 | include features.mk |
216 | 216 | ||
217 | # Set compile option CFLAGS if not set elsewhere | 217 | # Set compile option CFLAGS if not set elsewhere |
218 | CFLAGS ?= -g -Wall | 218 | CFLAGS ?= -g -Wall -pg |
219 | LDFLAGS ?= | 219 | LDFLAGS ?= -pg |
220 | 220 | ||
221 | ifndef NO_PTRACE | 221 | ifndef NO_PTRACE |
222 | ifneq ($(call try-cc,$(SOURCE_PTRACE),),y) | 222 | ifneq ($(call try-cc,$(SOURCE_PTRACE),),y) |