Skip to main content

ReadPhaseTimes

Struct ReadPhaseTimes 

Source
pub struct ReadPhaseTimes {
Show 18 fields pub open_mmap_s: f64, pub pool_s: f64, pub pool_join_s: f64, pub scan_s: f64, pub slot_alloc_s: f64, pub worker_parse_s: f64, pub finish_s: f64, pub worker_sum_s: f64, pub worker_max_s: f64, pub close_s: f64, pub schedule_s: f64, pub scan_minflt: i64, pub parse_minflt: i64, pub llc_misses: i64, pub numa_remote: i64, pub slab_minflt: i64, pub touch_minflt: i64, pub mapped: bool,
}
Expand description

Seconds for one phased read. The open time is the file read or the map. Scan, slot allocation, and the worker parse are separate.

Fields§

§open_mmap_s: f64§pool_s: f64

Finding the shared pool, and building it on the first read at this width. Zero when the call stays on one thread.

§pool_join_s: f64

Dropping this read’s handle to the shared pool after the scan and the parse. The pool stays for the process and its workers are not joined, so this is the handle drop only. Zero when the call stays on one thread.

§scan_s: f64§slot_alloc_s: f64§worker_parse_s: f64§finish_s: f64

Moving each parsed Result into the frame vector.

§worker_sum_s: f64

Sum of per-chunk parse times. This is CPU time, not wall time.

§worker_max_s: f64

Slowest parse chunk. This is inside worker_parse_s.

§close_s: f64

Drop of the mapped or owned file buffer after the parse.

§schedule_s: f64

Wake of the worker pool and the other gaps inside the read.

§scan_minflt: i64

Minor faults during the scan.

§parse_minflt: i64

Sum of per-worker minor faults during the parse.

§llc_misses: i64

LLC read misses, or -1 when the guest refuses the counter.

§numa_remote: i64

Pages on a node other than node 0. Zero on a one-node guest.

§slab_minflt: i64

Minor faults while the coordinate slab is filled.

§touch_minflt: i64

Minor faults during the touch checksum.

§mapped: bool

True when the bytes came from a map rather than an owned buffer.

Trait Implementations§

Source§

impl Clone for ReadPhaseTimes

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for ReadPhaseTimes

Source§

impl Debug for ReadPhaseTimes

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ReadPhaseTimes

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.