Struct cretonne_codegen::timing::TimingToken [] [src]

pub struct TimingToken { /* fields omitted */ }

A timing token is responsible for timing the currently running pass. Timing starts when it is created and ends when it is dropped.

Multiple passes can be active at the same time, but they must be started and stopped in a LIFO fashion.

Trait Implementations

impl Drop for TimingToken
[src]

Dropping a timing token indicated the end of the pass.

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for TimingToken

impl Sync for TimingToken