#[repr(C)]pub struct _drwrap_stats_t {
pub size: usize,
pub flush_count: atomic_int_t,
}Expand description
Contains statistics retrievable by drwrap_get_stats().
Fields§
§size: usizeThe size of this structure. Set this to sizeof(drwrap_stats_t).
flush_count: atomic_int_tThe total number of code cache flushes. These occur due to return points already existing in the cache; replacing existing instrumentation; and removing wrap or replace instrumentation.
Trait Implementations§
Source§impl Clone for _drwrap_stats_t
impl Clone for _drwrap_stats_t
Source§fn clone(&self) -> _drwrap_stats_t
fn clone(&self) -> _drwrap_stats_t
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 _drwrap_stats_t
impl Debug for _drwrap_stats_t
impl Copy for _drwrap_stats_t
Auto Trait Implementations§
impl Freeze for _drwrap_stats_t
impl RefUnwindSafe for _drwrap_stats_t
impl Send for _drwrap_stats_t
impl Sync for _drwrap_stats_t
impl Unpin for _drwrap_stats_t
impl UnsafeUnpin for _drwrap_stats_t
impl UnwindSafe for _drwrap_stats_t
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more