update_rate

Build Status docs.rs documented available on crates.io

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); } ```