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.