File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed
Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -77,8 +77,6 @@ DTC ?= dtc
7777E :=
7878S := $E $E
7979
80- LDFLAGS := -pg
81-
8280SMP ?= 1
8381CFLAGS += -D SEMU_BOOT_TARGET_TIME=10
8482.PHONY : riscv-harts.dtsi
Original file line number Diff line number Diff line change @@ -8,19 +8,11 @@ for N in $(seq 1 32); do
88 echo " Starting experiment with SMP=$N "
99 echo " ============================================="
1010
11- # 2) Build and run checks with SMP=N, capturing emulator output
12- # The 'tee' command copies output to the terminal AND a log file
1311 echo " Building and running 'make check SMP=$N '..."
1412 make check SMP=$N 2>&1 | tee " logs/emulator_SMP_${N} .log"
1513
16- # 3) After the emulator run, record gprof output
17- # We assume 'gprof ./semu' uses data from 'gmon.out'
18- echo " Running gprof for SMP=$N ..."
19- gprof ./semu > " logs/gprof_SMP_${N} .log" 2>&1
20-
2114 echo " Done with SMP=$N . Logs saved:"
2215 echo " - logs/emulator_SMP_${N} .log"
23- echo " - logs/gprof_SMP_${N} .log"
2416 echo
2517done
2618
You can’t perform that action at this time.
0 commit comments