Struct halide_runtime::runtime::halide_profiler_state
source · [−]#[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_mutexsleep_time: c_intfirst_free_id: c_intcurrent_func: c_intactive_threads: c_intpipelines: *mut halide_profiler_pipeline_statsget_remote_profiler_state: Option<unsafe extern "C" fn(func: *mut c_int, active_workers: *mut c_int)>sampling_thread: *mut halide_threadTrait Implementations
sourceimpl Clone for halide_profiler_state
impl Clone for halide_profiler_state
sourcefn clone(&self) -> halide_profiler_state
fn clone(&self) -> halide_profiler_state
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for halide_profiler_state
impl Debug for halide_profiler_state
impl Copy for halide_profiler_state
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more