summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Gillespie <sean.william.g@gmail.com>2016-04-29 09:46:46 -0700
committerSean Gillespie <sean.william.g@gmail.com>2016-04-29 09:46:46 -0700
commit601b1051c1022d5f764224e35be59f02a6074ad0 (patch)
treef30cee50ae8ed0a0778f5dbfe196d03c824d5b49
parent91b1067a8b6ebd43262e1578d02bf4fdcd6ba818 (diff)
parent06d8b35d150262abcac5ae1f46b1c7aed1162fed (diff)
downloadcoreclr-601b1051c1022d5f764224e35be59f02a6074ad0.tar.gz
coreclr-601b1051c1022d5f764224e35be59f02a6074ad0.tar.bz2
coreclr-601b1051c1022d5f764224e35be59f02a6074ad0.zip
Merge pull request #4658 from swgillespie/gc-perf-typo
Fix a typo in GCMetrics that provides the wrong generation's statistics
-rw-r--r--tests/src/GC/Performance/Framework/Metrics/GCMetrics.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/GC/Performance/Framework/Metrics/GCMetrics.cs b/tests/src/GC/Performance/Framework/Metrics/GCMetrics.cs
index d569f776a8..7c10849749 100644
--- a/tests/src/GC/Performance/Framework/Metrics/GCMetrics.cs
+++ b/tests/src/GC/Performance/Framework/Metrics/GCMetrics.cs
@@ -253,7 +253,7 @@ namespace GCPerfTestFramework.Metrics
protected override double YieldMetric()
{
- return ProcessInfo.Generations[0].MeanPauseDurationMSec;
+ return ProcessInfo.Generations[1].MeanPauseDurationMSec;
}
}
#endregion