Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit c59a2de

Browse files
committed
Merge branch 'dmius-duration-fix' into 'master'
Calculating of experiment duration fixed. See merge request postgres-ai-team/nancy!210
2 parents 0df7e65 + 4d8e8e9 commit c59a2de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nancy_run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2464,6 +2464,8 @@ while : ; do
24642464
stop_monitoring $i
24652465
collect_results $i
24662466

2467+
END_TIME=$(date +%s)
2468+
DURATION=$(echo $((END_TIME-START_TIME)) | awk '{printf "%d:%02d:%02d", $1/3600, ($1/60)%60, $1%60}')
24672469
echo "Run #$num done."
24682470
# start printing summary
24692471
if ([[ ! -z "$delta_config" ]] || [[ ! -z "$delta_ddl_do" ]]); then

0 commit comments

Comments
 (0)