C# Class SilverFactorial.Benchmark.BenchmarkWorker

Afficher le fichier Open project: PeterLuschny/Fast-Factorial-Functions Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public BenchmarkWorker ( LoggedTextBox ws ) : System
ws LoggedTextBox
Résultat System

DoTheBenchmark() public méthode

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

SanityCheck() public méthode

public SanityCheck ( int length ) : void
length int
Résultat void