#[repr(C)]pub struct dv_infer_statistics {Show 17 fields
pub ep_hw_sys_clk: c_int,
pub ep_hw_nnp_clk: c_int,
pub ep_hw_sbp_clk: c_int,
pub ep_hw_dram_clk: c_int,
pub ep_hw_total_inference_cycles: u32,
pub ep_hw_fp_cycles: u32,
pub input_transfer_time: f32,
pub output_transfer_time: f32,
pub ep_queue_submission_time: f32,
pub cumulative_replay_count: u32,
pub current_replay_count: u32,
pub input_transfer_start_time_stamp: timespec,
pub output_transfer_start_time_stamp: timespec,
pub inference_start_time_stamp: timespec,
pub inference_execution_time: f32,
pub input_ddr_address: u32,
pub output_ddr_address: u32,
}Fields§
§ep_hw_sys_clk: c_int< ep hardware system core clock in MHz
ep_hw_nnp_clk: c_int< ep hardware external nnp clock in MHz
ep_hw_sbp_clk: c_int< ep hardware external sbp clock in MHz
ep_hw_dram_clk: c_int< ep hardware external dram clock in MHz
ep_hw_total_inference_cycles: u32< total cycles taken to compute inference in hardware, including floating point computation
ep_hw_fp_cycles: u32< cycles taken to compute floating point operation in hardware
input_transfer_time: f32< time taken in microseconds to transfer input(s) from host dram to ep hardware dram
output_transfer_time: f32< time taken in microseconds to transfer output(s) from ep hardware dram to host dram
ep_queue_submission_time: f32< time taken in microseconds to submit inference request to ep hardware As of now this is not supported and assigned a default value -1
cumulative_replay_count: u32< Total number of infer retries occured per session of proxy
current_replay_count: u32< Total number of infer retries occured per inference
input_transfer_start_time_stamp: timespec< time stamp when input transfer started
output_transfer_start_time_stamp: timespec< time stamp when output transfer started
inference_start_time_stamp: timespec< time stamp when inference went into NNP queue
inference_execution_time: f32< time taken for inference execution in microseconds
input_ddr_address: u32< input ddr address
output_ddr_address: u32< output ddr address
Trait Implementations§
Source§impl Clone for dv_infer_statistics
impl Clone for dv_infer_statistics
Source§fn clone(&self) -> dv_infer_statistics
fn clone(&self) -> dv_infer_statistics
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more