A generic, low-overhead rate counter for frames-per-second indicators, measurement averaging, and more.
```rust use update_rate::{RateCounter, RollingRateCounter};
let mut c = RollingRateCounter::new(10);
loop { c.update(); mycrate.work(); // Perform the slow operation println!("Updating at {}", c); } ```