mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-03 18:04:16 +00:00
Merge pull request #8467 from GabyCT/topic/fixresult
metrics: Fix result finding in tensorflow benchmark
This commit is contained in:
@@ -28,8 +28,8 @@ CMD="$dst_dir/$start_script"
|
|||||||
guest_trigger_file="$dst_dir/$trigger_file"
|
guest_trigger_file="$dst_dir/$trigger_file"
|
||||||
host_trigger_file="$src_dir/$trigger_file"
|
host_trigger_file="$src_dir/$trigger_file"
|
||||||
INITIAL_NUM_PIDS=1
|
INITIAL_NUM_PIDS=1
|
||||||
CMD_FILE="cat results | grep 'Average Throughput' | wc -l"
|
CMD_FILE="cat results | grep 'Throughput' | wc -l"
|
||||||
CMD_RESULTS="cat results | grep 'Average Throughput' | cut -d':' -f2 | cut -d' ' -f2 | tr '\n' ','"
|
CMD_RESULTS="cat results | grep 'Throughput' | cut -d':' -f2 | cut -d' ' -f2 | tr '\n' ','"
|
||||||
|
|
||||||
function remove_tmp_file() {
|
function remove_tmp_file() {
|
||||||
rm -rf "${tensorflow_file}"
|
rm -rf "${tensorflow_file}"
|
||||||
|
Reference in New Issue
Block a user