fix: small fix
This commit is contained in:
parent
bbb7c29f4e
commit
c325dbc0ef
|
@ -46,7 +46,7 @@ while true; do
|
|||
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}]}"
|
||||
echo "$json" >> output_file_path
|
||||
echo "$json" >> ${output_file_path}
|
||||
sleep "${sleep_time}"
|
||||
|
||||
if [ "$print_to_screen" -eq "1" ]; then
|
||||
|
|
Loading…
Reference in New Issue