diff --git a/nemu/1 b/nemu/1 index a27056d..9869cc3 100644 --- a/nemu/1 +++ b/nemu/1 @@ -167,9 +167,9 @@ If it is the second case, remember: 0x80000068: 02 f7 66 33 rem a2, a4, a5 [INFO] src/cpu/cpu-exec.c:125 cpu_exec() nemu: ABORT at pc = 0x80000068 [INFO] src/cpu/cpu-exec.c:125 cpu_exec() nemu: ABORT at pc = 0x80000068 -[INFO] src/cpu/cpu-exec.c:93 statistic() host time spent = 368 us -[INFO] src/cpu/cpu-exec.c:93 statistic() host time spent = 368 us +[INFO] src/cpu/cpu-exec.c:93 statistic() host time spent = 415 us +[INFO] src/cpu/cpu-exec.c:93 statistic() host time spent = 415 us [INFO] src/cpu/cpu-exec.c:94 statistic() total guest instructions = 123 [INFO] src/cpu/cpu-exec.c:94 statistic() total guest instructions = 123 -[INFO] src/cpu/cpu-exec.c:95 statistic() simulation frequency = 334,239 inst/s -[INFO] src/cpu/cpu-exec.c:95 statistic() simulation frequency = 334,239 inst/s +[INFO] src/cpu/cpu-exec.c:95 statistic() simulation frequency = 296,385 inst/s +[INFO] src/cpu/cpu-exec.c:95 statistic() simulation frequency = 296,385 inst/s diff --git a/nemu/Makefile b/nemu/Makefile index 8b60447..3d3a7b9 100644 --- a/nemu/Makefile +++ b/nemu/Makefile @@ -84,7 +84,7 @@ $(IMAGES): %: %.bin $(BINARY) integration-tests: $(IMAGES) @cat $(RESULT) - @printf "ALL: %s, FAILED: %s" $(words $(IMAGES)) $(shell wc -l $(RESULT) | cut -f1 -d' ') + @printf "ALL: %s, FAILED: %s\n" $(words $(IMAGES)) $(shell wc -l $(RESULT) | cut -f1 -d' ') @$(RM) $(RESULT) test: unit-tests integration-tests