From 048724cc438fda189289e01023271762bca74036 Mon Sep 17 00:00:00 2001 From: noah Date: Sat, 5 Feb 2022 02:16:18 -0600 Subject: [PATCH] Timing metric change --- build/sync_data_col.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/build/sync_data_col.sh b/build/sync_data_col.sh index 1d07163..8fa6fcf 100755 --- a/build/sync_data_col.sh +++ b/build/sync_data_col.sh @@ -124,7 +124,9 @@ if [[ "$SKIPSYNC" == false ]]; then done #Get runtime and states from the output - RUNTIME=`cat "$FILE" | grep -oP '(?<=total run time is )[^ ]*'` + #RUNTIME=`cat "$FILE" | grep -oP '(?<=total run time is )[^ ]*'` + RUNTIME=`cat "$FILE" | grep -oP '(?<=AG TOOK )[^ ]*'` + STATES=`cat "$FILE" | grep -oP '(?<=Total States: )[^ ]*'` if ! test -s "$ERR" || test "$SKIP_FLAG" -eq 1 ; then @@ -226,7 +228,9 @@ if [[ "$SKIPSYNC" == false ]]; then done #Get runtime and states from the output - RUNTIME=`cat "$FILE" | grep -oP '(?<=total run time is )[^ ]*'` + #RUNTIME=`cat "$FILE" | grep -oP '(?<=total run time is )[^ ]*'` + RUNTIME=`cat "$FILE" | grep -oP '(?<=AG TOOK )[^ ]*'` + STATES=`cat "$FILE" | grep -oP '(?<=Total States: )[^ ]*'` if ! test -s "$ERR" || test "$SKIP_FLAG" -eq 1 ; then