Class SeedBudgetCalibrator
Converts a time budget to seed work using observed seed cost.
public sealed class SeedBudgetCalibrator
- Inheritance
-
objectSeedBudgetCalibrator
Methods
Record(double, int)
Records the elapsed time for completed seed work.
public void Record(double elapsedSeconds, int seedsProcessed)
Parameters
SeedsFor(double)
Returns the seed count for a time budget.
public int SeedsFor(double budgetSeconds)
Parameters
budgetSecondsdoubleAvailable wall time in seconds.
Returns
- int
A seed count between 500 and 50000.