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
frequencyMaxint
SetToPreciseAuto()
void SetToPreciseAuto()
SetToPreciseManual(long)
void SetToPreciseManual(long spinwaitWindowParam)
Parameters
spinwaitWindowParamlong
SetToStandard()
void SetToStandard()
Throttle(out double)
bool Throttle(out double elapsedInSeconds)
Parameters
elapsedInSecondsdouble
Returns
Throttle(out long)
bool Throttle(out long elapsedInSwFreq)
Parameters
elapsedInSwFreqlong
Returns
Throttle(out TimeSpan)
bool Throttle(out TimeSpan elapsedTimeSpan)
Parameters
elapsedTimeSpanTimeSpan