Exemple #1
0
 public PerformanceCriticalCodeAnalysisStage(SolutionAnalysisService swa, CallGraphActivityTracker tracker, PerformanceCriticalCodeCallGraphAnalyzer performanceAnalyzer,
                                             ExpensiveCodeCallGraphAnalyzer expensiveAnalyzer)
 {
     Swa                 = swa;
     Tracker             = tracker;
     PerformanceAnalyzer = performanceAnalyzer;
     ExpensiveAnalyzer   = expensiveAnalyzer;
 }
Exemple #2
0
 public PerformanceCriticalCodeAnalysisProcess([NotNull] IDaemonProcess process, [NotNull] ICSharpFile file,
                                               [NotNull] SolutionAnalysisService swa, CallGraphActivityTracker tracker, [NotNull] PerformanceCriticalCodeCallGraphAnalyzer performanceAnalyzer,
                                               [NotNull] ExpensiveCodeCallGraphAnalyzer expensiveCodeCallGraphAnalyzer)
     : base(process, file)
 {
     mySwa     = swa;
     myTracker = tracker;
     myPerformanceAnalyzerId = performanceAnalyzer.AnalyzerId;
     myExpensiveAnalyzerId   = expensiveCodeCallGraphAnalyzer.AnalyzerId;
 }
 public PerformanceCriticalCodeAnalysisStage(SolutionAnalysisService swa,
                                             UnitySolutionTracker solutionTracker, CallGraphActivityTracker tracker,
                                             CallGraphSwaExtensionProvider callGraphSwaExtension,
                                             PerformanceCriticalCodeCallGraphAnalyzer performanceAnalyzer,
                                             ExpensiveCodeCallGraphAnalyzer expensiveAnalyzer)
 {
     Swa = swa;
     mySolutionTracker     = solutionTracker;
     Tracker               = tracker;
     CallGraphSwaExtension = callGraphSwaExtension;
     PerformanceAnalyzer   = performanceAnalyzer;
     ExpensiveAnalyzer     = expensiveAnalyzer;
 }
        public PerformanceCriticalCodeAnalysisProcess([NotNull] IDaemonProcess process, [NotNull] ICSharpFile file,
                                                      [NotNull] SolutionAnalysisService swa, CallGraphActivityTracker tracker, [NotNull] PerformanceCriticalCodeCallGraphAnalyzer performanceAnalyzer,
                                                      [NotNull] ExpensiveCodeCallGraphAnalyzer expensiveCodeCallGraphAnalyzer)
            : base(process, file)
        {
            mySwa     = swa;
            myTracker = tracker;
            myPerformanceAnalyzerId = performanceAnalyzer.AnalyzerId;
            myExpensiveAnalyzerId   = expensiveCodeCallGraphAnalyzer.AnalyzerId;

            myLineMarkerEnabled = DaemonProcess.ContextBoundSettingsStore.GetValue((UnitySettings key) =>
                                                                                   key.PerformanceHighlightingMode) == PerformanceHighlightingMode.Always;
        }