[][src]Attribute Macro timed::timed

#[timed]

Macro that times your function execution.

Call this using #[timed]
It will print by default with `println!`
If you want to change the printer you can use #[timed(printer = "info!")]
or any other macro or function that takes in a String.`
This example is not tested
#[timed(duration(printer = "println!"))]