iai_callgrind::client_requests::helgrind

Function annotate_new_memory

source
pub fn annotate_new_memory(addr: *const (), size: usize)
Available on crate feature client_requests_defs only.
Expand description

Report that a new memory at addr of size size has been allocated.

This might be used when the memory has been retrieved from a free list and is about to be reused, or when a locking discipline for a variable changes.

This is the same as clean_memory.