Struct perfcnt::linux::perf_format::ReadFormat [] [src]

pub struct ReadFormat {
    pub time_enabled: Option<u64>,
    pub time_running: Option<u64>,
    pub values: Vec<(u64, Option<u64>)>,
}

We use the same read format for READ_FORMAT_GROUP and non-grouped reads for simplicity

Fields

if PERF_FORMAT_TOTAL_TIME_ENABLED

if PERF_FORMAT_TOTAL_TIME_RUNNING

Collection of (value, Some(id) if PERF_FORMAT_ID)

Trait Implementations

impl Debug for ReadFormat
[src]

Formats the value using the given formatter.

impl Default for ReadFormat
[src]

Returns the "default value" for a type. Read more