From: Ricardo Markiewicz Date: Sat, 22 Oct 2005 19:49:31 +0000 (+0000) Subject: Profiling X-Git-Tag: 1_0-pre1~34 X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/commitdiff_plain/4e51d02990176dc36c8c23a820feda7c5ade78f9 Profiling --- diff --git a/src/Makefile b/src/Makefile index a496d72..de39baf 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,12 +1,17 @@ TARGETS=btree btree_variable btree_delete libbtree.a CXXFLAGS=-Wall -g -BTREE_COMMON=btree.o clave_fija.o btree_data.o clave_variable.o +#Descomentar si se quiere agregar informacion para profiling +PROF=-pg + +CXXFLAGS += $(PROF) + +BTREE_COMMON=btree.o clave_fija.o btree_data.o clave_variable.o random.o all: $(TARGETS) btree: main.o $(BTREE_COMMON) - g++ -o btree main.o $(BTREE_COMMON) + g++ $(PROF) -o btree main.o $(BTREE_COMMON) btree_delete: main_con_delete.o $(BTREE_COMMON) g++ -o btree_delete main_con_delete.o $(BTREE_COMMON)