Skip to content

Commit 936f2ca

Browse files
singalsulgirdwood
authored andcommitted
Scripts: sof-testbench-helper: Use memory model for xt-run
This change adds option --mem_model to xt-run command. It should give better realistic MCPS and cycles numbers for processing with the more accurate memory model. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent 5b0490c commit 936f2ca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/sof-testbench-helper.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,10 @@ if [[ "$XTRUN" == true ]]; then
147147
echo " input: $INFILE1, output: $OUTFILE1, trace: $TRACEFILE, profile: $PROFILETXT"
148148
source "$XTB4_SETUP"
149149
if [[ $PROFILE == true ]]; then
150-
"$XTENSA_PATH"/xt-run --profile="$PROFILEOUT" "$XTB4" $OPTS 2> "$TRACEFILE"
150+
"$XTENSA_PATH"/xt-run --mem_model --profile="$PROFILEOUT" "$XTB4" $OPTS 2> "$TRACEFILE"
151151
"$XTENSA_PATH"/xt-gprof "$XTB4" "$PROFILEOUT" > "$PROFILETXT"
152152
else
153-
"$XTENSA_PATH"/xt-run "$XTB4" $OPTS 2> "$TRACEFILE"
153+
"$XTENSA_PATH"/xt-run --mem_model "$XTB4" $OPTS 2> "$TRACEFILE"
154154
fi
155155
else
156156
if [ ! -x "$TB4" ]; then

0 commit comments

Comments
 (0)