Struct halide_runtime::runtime::halide_profiler_func_stats
source · [−]#[repr(C)]pub struct halide_profiler_func_stats {
pub time: u64,
pub memory_current: u64,
pub memory_peak: u64,
pub memory_total: u64,
pub stack_peak: u64,
pub active_threads_numerator: u64,
pub active_threads_denominator: u64,
pub name: *const c_char,
pub num_allocs: c_int,
}Fields
time: u64memory_current: u64memory_peak: u64memory_total: u64stack_peak: u64active_threads_numerator: u64active_threads_denominator: u64name: *const c_charnum_allocs: c_intTrait Implementations
sourceimpl Clone for halide_profiler_func_stats
impl Clone for halide_profiler_func_stats
sourcefn clone(&self) -> halide_profiler_func_stats
fn clone(&self) -> halide_profiler_func_stats
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_func_stats
impl Debug for halide_profiler_func_stats
impl Copy for halide_profiler_func_stats
Auto Trait Implementations
impl RefUnwindSafe for halide_profiler_func_stats
impl !Send for halide_profiler_func_stats
impl !Sync for halide_profiler_func_stats
impl Unpin for halide_profiler_func_stats
impl UnwindSafe for halide_profiler_func_stats
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