mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-09 12:49:12 +00:00
metrics: Fix result finding
This PR fixes the result finding for the general throughput for the tensorflow benchmark. Fixes #8466 Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
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