fix: small fix

This commit is contained in:
wql 2024-09-11 11:20:31 +08:00
parent bbb7c29f4e
commit c325dbc0ef
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ while true; do
cur_time=$(date +"%Y-%m-%d %H:%M:%S") cur_time=$(date +"%Y-%m-%d %H:%M:%S")
json="{\"cur_time\": \"${cur_time}\", \"npu_power_dissipation\": [${npu_power_dissipation}], \"device_mem_usage\": [${device_mem_usage}]}" json="{\"cur_time\": \"${cur_time}\", \"npu_power_dissipation\": [${npu_power_dissipation}], \"device_mem_usage\": [${device_mem_usage}]}"
echo "$json" >> output_file_path echo "$json" >> ${output_file_path}
sleep "${sleep_time}" sleep "${sleep_time}"
if [ "$print_to_screen" -eq "1" ]; then if [ "$print_to_screen" -eq "1" ]; then