#[repr(C)]pub struct halide_profiler_state {
pub lock: halide_mutex,
pub sleep_time: c_int,
pub first_free_id: c_int,
pub current_func: c_int,
pub active_threads: c_int,
pub pipelines: *mut halide_profiler_pipeline_stats,
pub get_remote_profiler_state: Option<unsafe extern "C" fn(func: *mut c_int, active_workers: *mut c_int)>,
pub sampling_thread: *mut halide_thread,
}Fields§
§lock: halide_mutex§sleep_time: c_int§first_free_id: c_int§current_func: c_int§active_threads: c_int§pipelines: *mut halide_profiler_pipeline_stats§get_remote_profiler_state: Option<unsafe extern "C" fn(func: *mut c_int, active_workers: *mut c_int)>§sampling_thread: *mut halide_threadTrait Implementations§
Source§impl Clone for halide_profiler_state
impl Clone for halide_profiler_state
Source§fn clone(&self) -> halide_profiler_state
fn clone(&self) -> halide_profiler_state
Returns a copy 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 halide_profiler_state
impl Debug for halide_profiler_state
impl Copy for halide_profiler_state
Auto Trait Implementations§
impl Freeze for halide_profiler_state
impl RefUnwindSafe for halide_profiler_state
impl !Send for halide_profiler_state
impl !Sync for halide_profiler_state
impl Unpin for halide_profiler_state
impl UnwindSafe for halide_profiler_state
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