pub fn new_from_frequency(cycles_per_sec: f64) -> Self {
        Self {
            wrapped: RevLimiter {
                lockstep_enabled: false,
                catchup_enabled: false,
                interval: Duration::from_secs_f64(1.0 / cycles_per_sec),
                clock: Clock::new(),
                lag: Duration::new(0, 0),
                speed: 1.0,
            },
        }
    }
/// begin building a RevLimiter based off of a frequency (iterations per second)
begin building a RevLimiter based off of a frequency (iterations per second)
begin building a RevLimiter based off of a frequency ( iterations per second )
pub fn new_from_frequency(cycles_per_sec: f64) -> Self {
        Self {
            wrapped: RevLimiter {
                lockstep_enabled: false,
                catchup_enabled: false,
                interval: Duration::from_secs_f64(1.0 / cycles_per_sec),
                clock: Clock::new(),
                lag: Duration::new(0, 0),
                speed: 1.0,
            },
        }
    }
pub fn new_from_frequency ( cycles_per_sec : f64 ) -> Self { Self { wrapped : RevLimiter { lockstep_enabled : false , catchup_enabled : false , interval : Duration :: from_secs_f64 ( 1.0 / cycles_per_sec ) , clock : Clock :: new ( ) , lag : Duration :: new ( 0 , 0 ) , speed : 1.0 , } , } }
begin building a RevLimiter based off of a frequency (iterations per second)
begin building a RevLimiter based off of a frequency ( iterations per second )
cycles_per_sec
f64