[][src]Struct tensorflow_proto::tensorflow::profiler::TraceEvent

pub struct TraceEvent {
    pub device_id: u32,
    pub resource_id: u32,
    pub name: String,
    pub timestamp_ps: u64,
    pub duration_ps: u64,
    pub args: HashMap<String, String>,
}

Fields

device_id: u32

The id of the device that this event occurred on. The full dataset should have this device present in the Trace object.

resource_id: u32

The id of the resource that this event occurred on. The full dataset should have this resource present in the Device object of the Trace object. A resource_id is unique on a specific device, but not necessarily within the trace.

name: String

The name of this trace event.

timestamp_ps: u64

The timestamp that this event occurred at (in picos since tracing started).

duration_ps: u64

The duration of the event in picoseconds if applicable. Events without duration are called instant events.

args: HashMap<String, String>

Extra arguments that will be displayed in trace view.

Trait Implementations

impl Clone for TraceEvent[src]

impl Debug for TraceEvent[src]

impl Default for TraceEvent[src]

impl Message for TraceEvent[src]

impl PartialEq<TraceEvent> for TraceEvent[src]

impl StructuralPartialEq for TraceEvent[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.