Crate aleo_std_timer[][src]

Expand description

This crate implements a straightforward timer to conveniently time code blocks.

Macros

Makes an existing timer output a ‘finished’ message and suppresses the normal drop message. Only the first call has any effect, subsequent calls will be ignored.

Makes an existing timer output an ‘lap’ message. Can be called multiple times.

Initializes a timer that logs a start and finish message.

Structs

When this struct is dropped, it logs a message stating its name and how long the execution time was. Can be used to time functions or other critical areas.

Constants

Statics