Attribute Macro quork_proc::time

source ·
#[time]
Expand description

Time a given function

Measures the start and finish times of the function, and prints them at the end of the function.

You can pass “s”, “ms”, “ns”