solana/measure/src
Illia Bobyr 1a71cd7fe2
measure: Measure::end_as{ns,us,ms,s,duration} (#30762)
In most cases, for a given `Measure` value, a `stop()` call must always be followed by a call to one of the `as_*()` methods. Combining them into a single function call makes the API a bit simpler.
2023-03-17 12:26:06 -07:00
..
lib.rs Add a measure! macro (#23084) (#24137) 2022-04-11 12:50:52 -05:00
macros.rs measure_us! use Instant and duration_to_us internally (#30339) 2023-02-15 12:43:47 -08:00
measure.rs measure: Measure::end_as{ns,us,ms,s,duration} (#30762) 2023-03-17 12:26:06 -07:00