示例#1
0
        public virtual string GetBenchmarkDetailsString(bool debug = false)
        {
            var writer = new StringWriter();

            PrintBenchmarkDetailsImpl(useColors: false, debug: debug, writer: writer);

            return writer.GetString();
        }
示例#2
0
        public static string GetResultDetailsString(BenchmarkResult result, bool printThreadResults = false, TimePeriod periodForPerformanceDisplay = null, bool debug = false)
        {
            var writer = new StringWriter();

            PrintResultDetailsImpl(result: result,
                                   printThreadResults: printThreadResults,
                                   useColors: false,
                                   periodForPerformanceDisplay: periodForPerformanceDisplay,
                                   debug: debug,
                                   writer: writer);

            return writer.GetString();
        }