From a13100b93f5e0a5207dd0cd8eec244bebe484eb4 Mon Sep 17 00:00:00 2001 From: garbervetsky Date: Fri, 12 May 2017 17:47:20 -0300 Subject: [PATCH] Remove subtration of extra analysis overhead to get baseline results. --- ColumnReductionAnalysis/ScopeAnalyzer/ScopeAnalysis.cs | 3 ++- ScopeProgramAnalysis/DependencyAnalysis.cs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ColumnReductionAnalysis/ScopeAnalyzer/ScopeAnalysis.cs b/ColumnReductionAnalysis/ScopeAnalyzer/ScopeAnalysis.cs index 4e215de..ceef8a6 100644 --- a/ColumnReductionAnalysis/ScopeAnalyzer/ScopeAnalysis.cs +++ b/ColumnReductionAnalysis/ScopeAnalyzer/ScopeAnalysis.cs @@ -224,7 +224,8 @@ namespace ScopeAnalyzer var r = me.AnalyzeMethod(method); sw.Stop(); - r.ElapsedTime = sw.Elapsed-me.nonAnalysisOverhead; + //r.ElapsedTime = sw.Elapsed-me.nonAnalysisOverhead; + r.ElapsedTime = sw.Elapsed; return r; } diff --git a/ScopeProgramAnalysis/DependencyAnalysis.cs b/ScopeProgramAnalysis/DependencyAnalysis.cs index 7b337e1..c109e43 100644 --- a/ScopeProgramAnalysis/DependencyAnalysis.cs +++ b/ScopeProgramAnalysis/DependencyAnalysis.cs @@ -154,7 +154,8 @@ namespace ScopeProgramAnalysis var result = this.AnalyzeScopeMethod(cfg, pointsToAnalyzer, protectedNodes); sw.Stop(); - return Tuple.Create(result, sw.Elapsed - AnalysisStats.extraAnalysisOverHead.Elapsed); + //return Tuple.Create(result, sw.Elapsed - AnalysisStats.extraAnalysisOverHead.Elapsed); + return Tuple.Create(result, sw.Elapsed); } private IEnumerable GetMethodsToInline()