From 4a842296780b55cc270b5056e87cf135b749cc84 Mon Sep 17 00:00:00 2001 From: TuDatTr Date: Thu, 14 Jan 2021 15:44:12 +0100 Subject: [PATCH] Added stuff for gprof and added the resulting gmon.out to gitignore --- .gitignore | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 6abc0a0..d857140 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.o TAGS mdriver +gmon.out diff --git a/Makefile b/Makefile index ce27fd2..a8a9e6f 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ # Students' Makefile for the Malloc Lab # CC = gcc -CFLAGS = -Wall -O2 -m32 -g03 +CFLAGS = -Wall -O2 -m32 -g03 -pg OBJS = mdriver.o mm.o memlib.o fsecs.o fcyc.o clock.o ftimer.o