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()