pub struct PerfRecordIter<R: Read> { /* private fields */ }
Expand description

An iterator which incrementally reads and sorts the records from a perf.data file.

Implementations§

Iterates the records in this file. The records are emitted in the correct order, i.e. sorted by time.

next_record does some internal buffering so that the sort order can be guaranteed. This buffering takes advantage of FINISHED_ROUND records so that we don’t buffer more records than necessary.

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.