Skip to main content

drwrap_stats_t

Type Alias drwrap_stats_t 

Source
pub type drwrap_stats_t = _drwrap_stats_t;
Expand description

Contains statistics retrievable by drwrap_get_stats().

Aliased Type§

#[repr(C)]
pub struct drwrap_stats_t { pub size: usize, pub flush_count: i64, }

Fields§

§size: usize

The size of this structure. Set this to sizeof(drwrap_stats_t).

§flush_count: i64

The 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.