iai_callgrind::client_requests::valgrind

Function disable_error_reporting

source
pub fn disable_error_reporting()
Available on crate feature client_requests_defs only.
Expand description

Disable error reporting for this thread.

Behaves in a stack like way, so you can safely call this multiple times provided that enable_error_reporting is called the same number of times to re-enable reporting. The first call of this macro disables reporting. Subsequent calls have no effect except to increase the number of enable_error_reporting calls needed to re-enable reporting. Child threads do not inherit this setting from their parents – they are always created with reporting enabled.