Skip to main content

Crate hotpath_macros

Crate hotpath_macros 

Source

Attribute Macrosยง

future_fn
Instruments an async function to track its lifecycle as a Future.
main
Initializes the hotpath profiling system and generates a performance report on program exit.
measure
Instruments a function to send performance measurements to the hotpath profiler.
measure_all
Instruments all functions in a module or impl block with the measure profiling macro.
skip
Marks a function to be excluded from profiling when used with measure_all.