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: i64
§accelerator_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§
Source§impl Clone for ExecProfile
impl Clone for ExecProfile
Source§fn clone(&self) -> ExecProfile
fn clone(&self) -> ExecProfile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExecProfile
impl Debug for ExecProfile
Source§impl Default for ExecProfile
impl Default for ExecProfile
Source§impl Message for ExecProfile
impl Message for ExecProfile
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.Source§impl PartialEq for ExecProfile
impl PartialEq for ExecProfile
impl StructuralPartialEq for ExecProfile
Auto Trait Implementations§
impl Freeze for ExecProfile
impl RefUnwindSafe for ExecProfile
impl Send for ExecProfile
impl Sync for ExecProfile
impl Unpin for ExecProfile
impl UnwindSafe for ExecProfile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more