Struct opencv::core::TickMeter

source ·
pub struct TickMeter { /* private fields */ }
Expand description

a Class to measure passing time.

The class computes passing time by counting the number of ticks per second. That is, the following code computes the execution time in seconds: TickMeter_total

It is also possible to compute the average time over multiple runs: TickMeter_average

See also

getTickCount, getTickFrequency

Implementations§

the default constructor

Trait Implementations§

Wrap the specified raw pointer Read more
Return an the underlying raw pointer while consuming this wrapper. Read more
Return the underlying raw pointer. Read more
Return the underlying mutable raw pointer Read more
Executes the destructor for this type. Read more
starts counting ticks.
stops counting ticks.
resets internal values.
returns counted ticks.
returns passed time in microseconds.
returns passed time in milliseconds.
returns passed time in seconds.
returns internal counter value.
returns average FPS (frames per second) value.
returns average time in seconds
returns average time in milliseconds

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.