C# Class SilverFactorial.Benchmark.BenchmarkWorker

Show file Open project: PeterLuschny/Fast-Factorial-Functions Class Usage Examples

Public Methods

Method Description
BenchmarkWorker ( LoggedTextBox ws ) : System
DoTheBenchmark ( BackgroundWorker worker, DoWorkEventArgs workEvent, TestParameters test ) : int
SanityCheck ( int length ) : void

Private Methods

Method Description
DoTest ( Candidate cand, int n, bool showFullValue, bool verbose ) : void
PerformanceProfile ( int benchValues, int benchStart ) : void
RelativeRanking ( int n ) : void
TestValuesToString ( int val, int benchStart ) : string
UsedTime ( int benchValues, int benchStart ) : void

Method Details

BenchmarkWorker() public method

public BenchmarkWorker ( LoggedTextBox ws ) : System
ws LoggedTextBox
return System

DoTheBenchmark() public method

public DoTheBenchmark ( BackgroundWorker worker, DoWorkEventArgs workEvent, TestParameters test ) : int
worker System.ComponentModel.BackgroundWorker
workEvent System.ComponentModel.DoWorkEventArgs
test TestParameters
return int

SanityCheck() public method

public SanityCheck ( int length ) : void
length int
return void