[][src]Struct tensorflow_proto::tensorflow::tfprof::ExecProfile

pub struct ExecProfile {
    pub run_count: i64,
    pub all_start_micros: i64,
    pub latest_end_micros: i64,
    pub accelerator_execs: HashMap<String, ExecTime>,
    pub cpu_execs: HashMap<String, ExecTime>,
    pub memory_execs: Vec<ExecMemory>,
    pub allocations: Vec<AllocationRecord>,
    pub devices: Vec<String>,
}

Fields

run_count: i64

Can be larger than 1 if run multiple times in loop.

all_start_micros: i64

The earliest/latest time including scheduling and execution.

latest_end_micros: i64accelerator_execs: HashMap<String, ExecTime>

device -> vector of {op_start_micros, op_exec_micros} pairs. accelerator_execs: gpu:id/stream:all -> {op_start_micros, op_exec_micros} For accelerator, vector size can be larger than 1, multiple kernel fires or in tf.while_loop.

cpu_execs: HashMap<String, ExecTime>

cpu_execs: cpu/gpu:id -> {op_start_micros, op_exec_micros} For cpu, vector size can be larger than 1 if in tf.while_loop.

memory_execs: Vec<ExecMemory>

Each entry to memory information of a scheduling of the node. Normally, there will be multiple entries in while_loop.

allocations: Vec<AllocationRecord>

The allocation and deallocation times and sizes throughout execution.

devices: Vec<String>

The devices related to this execution.

Trait Implementations

impl Clone for ExecProfile[src]

impl Debug for ExecProfile[src]

impl Default for ExecProfile[src]

impl Message for ExecProfile[src]

impl PartialEq<ExecProfile> for ExecProfile[src]

impl StructuralPartialEq for ExecProfile[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.