From 711f83be0cf030b6cf8e1bca7a5c777242b0bae9 Mon Sep 17 00:00:00 2001 From: Mooneer Salem Date: Fri, 8 Aug 2025 09:45:16 -0700 Subject: [PATCH] Use Time Profiler to get a better idea as to why RADE steps intermittently take longer to execute. --- test/test_rade_loss.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_rade_loss.sh b/test/test_rade_loss.sh index e40600b2..2332040f 100755 --- a/test/test_rade_loss.sh +++ b/test/test_rade_loss.sh @@ -79,7 +79,7 @@ $FREEDV_BINARY -f $(pwd)/$FREEDV_CONF_FILE -ut tx -utmode RADEV1 $TX_ARGS >tmp.l FDV_PID=$! if [ "$OPERATING_SYSTEM" != "Linux" ]; then - xctrace record --template "Audio System Trace" --window 3m --output "instruments_trace_tx_${FDV_PID}.trace" --attach $FDV_PID + xctrace record --template "Time Profiler" --window 3m --output "instruments_trace_tx_${FDV_PID}.trace" --attach $FDV_PID fi #sleep 30 @@ -103,7 +103,7 @@ $FREEDV_BINARY -f $(pwd)/$FREEDV_CONF_FILE -ut rx -utmode RADEV1 -rxfeaturefile FDV_PID=$! if [ "$OPERATING_SYSTEM" != "Linux" ]; then - xctrace record --template "Audio System Trace" --window 3m --output "instruments_trace_rx_${FDV_PID}.trace" --attach $FDV_PID + xctrace record --template "Time Profiler" --window 3m --output "instruments_trace_rx_${FDV_PID}.trace" --attach $FDV_PID fi wait $FDV_PID FREEDV_EXIT_CODE=$?