[][src]Struct tensorflow_proto::xla::ExecutionProfile

pub struct ExecutionProfile {
    pub compilation_cache_hit: bool,
    pub compile_time_ms: i64,
    pub compute_cycle_count: i64,
    pub compute_time_ns: i64,
    pub compute_and_transfer_time_ns: i64,
    pub executable_size_in_bytes: i64,
    pub profile_cache_hit: bool,
}

Profile data from the execution of a computation.

Fields

compilation_cache_hit: bool

Whether the executable was read from the compilation cache.

compile_time_ms: i64

The time in milliseconds spent to compile the computation. This only set if the executable was not read from the compilation cache (compilation_cache_hit == false).

compute_cycle_count: i64

The number of cycles spent for the computation. This does not include the time taken for the data transfers between the host and the device. This is a target-dependent field and only used for debugging purposes.

compute_time_ns: i64

The time in nanoseconds spent for the computation, without data transfer.

compute_and_transfer_time_ns: i64

The time in nanoseconds spent for the entire computation, including the result data transfer time. Current implementation does not spend any cycles for the input data transfer since the memory is initialized with the proper values before the execution.

executable_size_in_bytes: i64

The size of the binary code in the executable.

profile_cache_hit: bool

Whether this profile was drawn from a cache of profiles instead of from execution on the hardware.

Trait Implementations

impl Clone for ExecutionProfile[src]

impl Debug for ExecutionProfile[src]

impl Default for ExecutionProfile[src]

impl Message for ExecutionProfile[src]

impl PartialEq<ExecutionProfile> for ExecutionProfile[src]

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