Ejemplo n.º 1
0
        public ProfilerProcessor(ITestScenario scenario, ProfilerOptions options)
        {
            Options = options;

            visitor          = new Visitor(this, scenario.GetTrackedTypes());
            processingThread = new Thread(new ThreadStart(ProcessFile));
            processingThread.Start();
        }
Ejemplo n.º 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;
        }
Ejemplo n.º 3
0
 public LeakProcessor(ITestScenario scenario, ProfilerOptions options)
 {
     ProfilerOptions = options;
     this.scenario   = scenario;
 }