]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: output commit timestamp in performance.csv
authorMatthias Maier <tamiko@43-1.org>
Thu, 17 Feb 2022 08:30:04 +0000 (02:30 -0600)
committerMatthias Maier <tamiko@43-1.org>
Fri, 18 Feb 2022 08:53:16 +0000 (02:53 -0600)
tests/performance/collect_measurements

index 8b9074ed82fb31064b95d13aa9dabc6324d05178..b7ad6b12c2d9a464b6fd24f41290fccec127a80e 100755 (executable)
@@ -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
 
 (

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.