From 35dff9ff5076f0a387f6b57d9c19b8f5fc00f9a2 Mon Sep 17 00:00:00 2001
From: simonm <unknown>
Date: Mon, 18 Jan 1999 16:35:37 +0000
Subject: [PATCH] [project @ 1999-01-18 16:35:37 by simonm] Update for new
 stats output.

---
 glafp-utils/runstdtest/runstdtest.prl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/glafp-utils/runstdtest/runstdtest.prl b/glafp-utils/runstdtest/runstdtest.prl
index d6907a8f660a..882dbf9ee9ac 100644
--- a/glafp-utils/runstdtest/runstdtest.prl
+++ b/glafp-utils/runstdtest/runstdtest.prl
@@ -374,7 +374,7 @@ sub process_stats_file {
 	local($tot_samples) = 0;
 
 	while (<STATS>) {
-	    if (! /Minor/ && /^\s*\d+\s+\d+\s+(\d+)\s+\d+\.\d+\%/ ) {
+	    if (! /Gen:\s+0/ && /^\s*\d+\s+\d+\s+(\d+)\s+\d+\.\d+/ ) {
 		$max_live = $1 if $max_live < $1;
 		$tot_live += $1;
 		$tot_samples += 1;
@@ -386,7 +386,7 @@ sub process_stats_file {
 #		$MaxResidency = $1; $ResidencySamples = $2;
 #	    }
 
-	    $GCs = $1 if /^\s*([0-9,]+) garbage collections? performed/;
+	    $GCs = $1 if /^\s*([0-9,]+) collections? in generation 0/;
 
 	    if ( /^\s*INIT\s+time\s*(\d+\.\d\d)s\s*\(\s*(\d+\.\d\d)s elapsed\)/ ) {
 		$InitTime = $1; $InitElapsed = $2;
-- 
GitLab