Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datasheet: fix: Update header in datasheet #175

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions tests/datasheet/convert_to_datasheet.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
#!/bin/bash

find /run/ -maxdepth 1 | grep -E "csv" | xargs sed -i 's/title/Model Name/g'
find /run/ -maxdepth 1 | grep -E "csv" | xargs sed -i 's/mpu/A53 Load (%)/g'
find /run/ -maxdepth 1 | grep -E "csv" | xargs sed -i 's/c7x_1/C7x Load (%)/g'
find /run/ -maxdepth 1 | grep -E "csv" | xargs sed -i 's/mpu/MPU Load (%)/g'
find /run/ -maxdepth 1 | grep -E "csv" | xargs sed -i 's/c7x_1/C7x_1 Load (%)/g'
find /run/ -maxdepth 1 | grep -E "csv" | xargs sed -i 's/c7x_2/C7x_2 Load (%)/g'
find /run/ -maxdepth 1 | grep -E "csv" | xargs sed -i 's/c7x_3/C7x_3 Load (%)/g'
find /run/ -maxdepth 1 | grep -E "csv" | xargs sed -i 's/c7x_4/C7x_4 Load (%)/g'
find /run/ -maxdepth 1 | grep -E "csv" | xargs sed -i 's/mcu2_0/MCU_2_0 Load (%)/g'
find /run/ -maxdepth 1 | grep -E "csv" | xargs sed -i 's/mcu2_1/MCU_2_1 Load (%)/g'
find /run/ -maxdepth 1 | grep -E "csv" | xargs sed -i 's/mcu3_0/MCU_3_0 Load (%)/g'
find /run/ -maxdepth 1 | grep -E "csv" | xargs sed -i 's/mcu3_1/MCU_3_1 Load (%)/g'
find /run/ -maxdepth 1 | grep -E "csv" | xargs sed -i 's/mcu4_0/MCU_4_0 Load (%)/g'
find /run/ -maxdepth 1 | grep -E "csv" | xargs sed -i 's/mcu4_1/MCU_4_1 Load (%)/g'
find /run/ -maxdepth 1 | grep -E "csv" | xargs sed -i 's/ddr_read_avg/DDR Read BW (MB\/s)/g'
find /run/ -maxdepth 1 | grep -E "csv" | xargs sed -i 's/ddr_write_avg/DDR Write BW (MB\/s)/g'
find /run/ -maxdepth 1 | grep -E "csv" | xargs sed -i 's/ddr_total_avg/DDR Total BW (MB\/s)/g'
Expand Down