From cfbcbdb0ce55d05524e2f1c219d6ee193f1a2512 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Wed, 26 Aug 2009 21:20:27 -0300 Subject: [PATCH] micro: Remove ".c" suffix from plotted files Originally a ".c" suffix was used to mark files as being related to *C*ollections. But since both collections and allocations statistics are now plotted in the same file, there is no point in that distinction (which, OTOH, is wrong too). --- micro/Makefile | 6 +++--- micro/{plot-c.gpi => plot.gpi} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename micro/{plot-c.gpi => plot.gpi} (100%) diff --git a/micro/Makefile b/micro/Makefile index 48b7308..b234261 100644 --- a/micro/Makefile +++ b/micro/Makefile @@ -19,7 +19,7 @@ stat_c := $(addprefix $(STAT_DIR)/,$(addsuffix .c.csv,$(sources:.d=))) stat_a := $(addprefix $(STAT_DIR)/,$(addsuffix .a.csv,$(sources:.d=))) stat_h := $(addprefix $(STAT_DIR)/,$(addsuffix .h.csv,$(sources:.d=))) stat := $(stat_c) $(stat_a) $(stat_h) -graphs_c := $(addprefix $(PLOT_DIR)/,$(addsuffix .c.eps,$(sources:.d=))) +graphs_c := $(addprefix $(PLOT_DIR)/,$(addsuffix .eps,$(sources:.d=))) graphs := $(graphs_c) @@ -82,8 +82,8 @@ plot: $(graphs) $(PLOT_DIR)/%.tics: $(STAT_DIR)/%.h.csv tics.awk $(P_AWK) awk -F, -f $(lastword $^) $< > $@ -$(PLOT_DIR)/%.c.eps: $(STAT_DIR)/%.c.csv $(STAT_DIR)/%.a.csv \ - $(STAT_DIR)/%.h.csv $(PLOT_DIR)/%.tics plot-c.gpi +$(PLOT_DIR)/%.eps: $(STAT_DIR)/%.c.csv $(STAT_DIR)/%.a.csv \ + $(STAT_DIR)/%.h.csv $(PLOT_DIR)/%.tics plot.gpi $(P_PLOT) sed "s|@@PRG@@|$(*F)|g; s|@@COL@@|$(VERS)|g; \ s|@@INC@@|$(word 1,$^)|g; s|@@INA@@|$(word 2,$^)|g; \ s|@@INH@@|$(word 3,$^)|g; s|@@OUT@@|$@|g; \ diff --git a/micro/plot-c.gpi b/micro/plot.gpi similarity index 100% rename from micro/plot-c.gpi rename to micro/plot.gpi -- 2.43.0