This commit is contained in:
Andreas Abel
2021-11-02 16:38:24 +01:00
parent 04bfd842a4
commit 1752910a15
2 changed files with 7 additions and 8 deletions

View File

@@ -75,9 +75,8 @@ The `asm-init` code is executed once in the beginning. It first sets RAX to R14-
We will get an output similar to the following.
Instructions retired: 1.00
Core cycles: 4.00
Reference cycles: 3.52
CORE_CYCLES: 4.00
INST_RETIRED: 1.00
UOPS_ISSUED.ANY: 1.00
UOPS_EXECUTED.THREAD: 1.00
UOPS_DISPATCHED_PORT.PORT_0: 0.00

View File

@@ -1,11 +1,11 @@
CC=gcc
CFLAGS=-Wall -fPIC
VPATH=../common/
CFLAGS=-Wall
all: nanoBench
nanoBench: nanoBench_main.o nanoBench.o
nanoBench_main.o: nanoBench_main.c ../common/nanoBench.h
nanoBench.o: ../common/nanoBench.c ../common/nanoBench.h
$(CC) $(CFLAGS) -c ../common/nanoBench.c -o $@
clean:
rm -f nanoBench *.o ../common/*.o
rm -f nanoBench *.o