From: Matthias Maier Date: Thu, 17 Feb 2022 08:30:04 +0000 (-0600) Subject: CMake: output commit timestamp in performance.csv X-Git-Tag: v9.4.0-rc1~464^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df32e4ec251b0f066280005b5bc31da518595fde;p=dealii.git CMake: output commit timestamp in performance.csv --- diff --git a/tests/performance/collect_measurements b/tests/performance/collect_measurements index 8b9074ed82..b7ad6b12c2 100755 --- a/tests/performance/collect_measurements +++ b/tests/performance/collect_measurements @@ -31,6 +31,7 @@ shift branch="$(sed -n -e 's/.*Branch: \+\(.*\)/\1/p' revision.log)" revision="$(sed -n -e 's/.*Revision: \+\(.*\)/\1/p' revision.log)" +timestamp="$(sed -n -e 's/.*Timestamp: \+\(.*\)/\1/p' revision.log)" # # Now collect all output files and postprocess them into a tab-separated @@ -72,10 +73,11 @@ done | sort | tr $'\t' ',')" # ( - echo "# Date: $(date -u --rfc-3339=s)" - echo "# Site: ${site}" - echo "# Branch: $branch" - echo "# Revision: $revision" + echo "# Date: $(date -u --rfc-3339=s)" + echo "# Site: ${site}" + echo "# Branch: ${branch}" + echo "# Revision: ${revision}" + echo "# Timestamp: ${timestamp}" ) > performance.csv (