summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2008-10-23 08:06:29 +0000
committerSimon Marlow <marlowsd@gmail.com>2008-10-23 08:06:29 +0000
commit9d2324f0c439154aa5d1e8cc5bed72cc84e7d5bf (patch)
treed29bbdb45c068de6f0974dff80ad9fd623b16a63 /utils
parente1202fd33a406f4fc4f78d60a0dd48c030b7c9cf (diff)
downloadhaskell-9d2324f0c439154aa5d1e8cc5bed72cc84e7d5bf.tar.gz
generate a valid summary for older GHC versions too
Diffstat (limited to 'utils')
-rw-r--r--utils/runstdtest/runstdtest.prl4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/runstdtest/runstdtest.prl b/utils/runstdtest/runstdtest.prl
index ae1822ba2d..555e1eca59 100644
--- a/utils/runstdtest/runstdtest.prl
+++ b/utils/runstdtest/runstdtest.prl
@@ -527,6 +527,10 @@ sub process_stats_file {
$MaxResidency = 0 unless defined($MaxResidency);
$AvgResidency = 0 unless defined($AvgResidency);
$ResidencySamples = 0 unless defined($ResidencySamples);
+ $Gc0Time = 0.0 unless defined($Gc0Time);
+ $Gc0Elapsed = 0.0 unless defined($Gc0Elapsed);
+ $Gc1Time = 0.0 unless defined($Gc1Time);
+ $Gc1Elapsed = 0.0 unless defined($Gc1Elapsed);
# a bit of tidying
$BytesAlloc =~ s/,//g;