iai_callgrind::client_requests::valgrind

Function mempool_exists

source
pub fn mempool_exists(pool: *const ()) -> bool
Available on crate feature client_requests_defs only.
Expand description

Return true if a mempool exists, else false

This request informs the caller whether or not Memcheck is currently tracking a mempool at anchor address pool. It evaluates to true when there is a mempool associated with that address, false otherwise. This is a rare request, only useful in circumstances when client code might have lost track of the set of active mempools.

See also Memory Pools: describing and working with custom allocators