public ProfilerProcessor(ITestScenario scenario, ProfilerOptions options)
        {
            Options = options;

            visitor          = new Visitor(this, scenario.GetTrackedTypes());
            processingThread = new Thread(new ThreadStart(ProcessFile));
            processingThread.Start();
        }
Beispiel #2
0
        public StressTestApp(StressTestOptions options)
        {
            Iterations      = options.Iterations;
            ProfilerOptions = options.Profiler;
            if (!string.IsNullOrEmpty(options.MonoDevelopBinPath))
            {
                MonoDevelopBinPath = options.MonoDevelopBinPath;
            }

            if (options.UseInstalledApplication)
            {
                MonoDevelopBinPath = GetInstalledVisualStudioBinPath();
            }

            provider = options.Provider;
        }
Beispiel #3
0
 public LeakProcessor(ITestScenario scenario, ProfilerOptions options)
 {
     ProfilerOptions = options;
     this.scenario   = scenario;
 }