Skip to main content

dr_get_stats

Function dr_get_stats 

Source
pub unsafe extern "C" fn dr_get_stats(
    drstats: *mut dr_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.