Interface IThreadThrottler
public interface IThreadThrottler
Properties
MinimumElapsedTime
TimeSpan MinimumElapsedTime { get; set; }
Property Value
Type
ThreadThrottler.ThrottlerType Type { get; }
Property Value
Methods
SetMaxFrequency(int)
void SetMaxFrequency(int frequencyMax)
Parameters
frequencyMax
int
SetToPreciseAuto()
void SetToPreciseAuto()
SetToPreciseManual(long)
void SetToPreciseManual(long spinwaitWindowParam)
Parameters
spinwaitWindowParam
long
SetToStandard()
void SetToStandard()
Throttle(out double)
bool Throttle(out double elapsedInSeconds)
Parameters
elapsedInSeconds
double
Returns
Throttle(out long)
bool Throttle(out long elapsedInSwFreq)
Parameters
elapsedInSwFreq
long
Returns
Throttle(out TimeSpan)
bool Throttle(out TimeSpan elapsedTimeSpan)
Parameters
elapsedTimeSpan
TimeSpan