iai_callgrind::client_requests::callgrind

Function dump_stats_at

source
pub fn dump_stats_at<T>(c_str: T)
where T: AsRef<CStr>,
Available on crate feature client_requests_defs only.
Expand description

Dump current state of cost centers, and zero them afterward stating a reason

Same as dump_stats, but allows to specify a string to be able to distinguish profile dumps.

The argument is appended to a string stating the reason which triggered the dump. This string is written as a description field into the profile data dump.