Skip to main content

drwrap_get_stats

Function drwrap_get_stats 

Source
pub unsafe extern "C" fn drwrap_get_stats(
    stats: *mut drwrap_stats_t,
) -> bool_
Expand description

Retrieves various statistics exported by DR as global, process-wide values. The API is not thread-safe. The caller is expected to pass a pointer to a valid, initialized dr_stats_t value, with the size field set (see dr_stats_t). Returns false if stats are not enabled.