コード例 #1
0
        private DisassemblyDiagnoser(WindowsDisassembler windowsDisassembler, MonoDisassembler monoDisassembler, DisassemblyDiagnoserConfig config)
        {
            Config = config;
            this.windowsDisassembler = windowsDisassembler;
            this.monoDisassembler    = monoDisassembler;

            results   = new Dictionary <BenchmarkCase, DisassemblyResult>();
            Exporters = GetExporters(results, config);
        }
コード例 #2
0
        public DisassemblyDiagnoser(DisassemblyDiagnoserConfig config)
        {
            Config = config;
            windowsDisassembler = new WindowsDisassembler(config);
            linuxDisassembler   = new LinuxDisassembler(config);
            monoDisassembler    = new MonoDisassembler(config);

            results   = new Dictionary <BenchmarkCase, DisassemblyResult>();
            Exporters = GetExporters(results, config);
        }
コード例 #3
0
        public DisassemblyDiagnoser(DisassemblyDiagnoserConfig config)
        {
            Config = config;
            windowsDifferentArchitectureDisassembler = new WindowsDisassembler(config);
            sameArchitectureDisassembler             = new SameArchitectureDisassembler(config);
            monoDisassembler = new MonoDisassembler(config);

            results   = new Dictionary <BenchmarkCase, DisassemblyResult>();
            Exporters = GetExporters(results, config);
        }
コード例 #4
0
        internal DisassemblyDiagnoser(WindowsDisassembler windowsDisassembler, MonoDisassembler monoDisassembler)
        {
            this.windowsDisassembler = windowsDisassembler;
            this.monoDisassembler    = monoDisassembler;

            results   = new Dictionary <Benchmark, DisassemblyResult>();
            Exporters = new IExporter[]
            {
                new CombinedDisassemblyExporter(results),
                new RawDisassemblyExporter(results),
                new PrettyDisassemblyExporter(results)
            };
        }
コード例 #5
0
        private DisassemblyDiagnoser(WindowsDisassembler windowsDisassembler, MonoDisassembler monoDisassembler, DisassemblyDiagnoserConfig config)
        {
            Config = config;
            this.windowsDisassembler = windowsDisassembler;
            this.monoDisassembler    = monoDisassembler;

            results   = new Dictionary <BenchmarkCase, DisassemblyResult>();
            Exporters = new IExporter[]
            {
                new CombinedDisassemblyExporter(results),
                new RawDisassemblyExporter(results),
                new PrettyHtmlDisassemblyExporter(results),
                new PrettyGithubMarkdownDisassemblyExporter(results)
            };
        }
コード例 #6
0
 internal DisassemblyDiagnoser(WindowsDisassembler windowsDisassembler, MonoDisassembler monoDisassembler)
 {
     this.windowsDisassembler = windowsDisassembler;
     this.monoDisassembler    = monoDisassembler;
 }