[][src]Struct tensorflow_proto::tensorflow::ProfileRequest

pub struct ProfileRequest {
    pub duration_ms: u64,
    pub max_events: u64,
    pub tools: Vec<String>,
    pub tool_options: HashMap<String, ToolRequestOptions>,
    pub opts: Option<ProfileOptions>,
    pub repository_root: String,
    pub session_id: String,
    pub host_name: String,
}

Fields

duration_ms: u64

In future, the caller will be able to customize when profiling starts and stops. For now, it collects duration_ms milliseconds worth of data.

max_events: u64

The maximum number of events to return. By default (value 0), return all events.

tools: Vec<String>

Required profiling tools name such as "input_pipeline_analyzer" etc

tool_options: HashMap<String, ToolRequestOptions>

Specifies the requirement for each tools.

opts: Option<ProfileOptions>

Optional profiling options that control how a TF session will be profiled.

repository_root: String

The place where we will dump profile data. We will normally use MODEL_DIR/plugin/profile/ as our repository root.

session_id: String

The user provided profile session identifier.

host_name: String

The hostname of system where the profile should happen. We use it as identifier in part of our output filename.

Trait Implementations

impl Clone for ProfileRequest[src]

impl Debug for ProfileRequest[src]

impl Default for ProfileRequest[src]

impl Message for ProfileRequest[src]

impl PartialEq<ProfileRequest> for ProfileRequest[src]

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