Function iai_callgrind::client_requests::valgrind::count_errors
source ยท pub fn count_errors() -> usizeAvailable on crate feature
client_requests_defs only.Expand description
Counts the number of errors that have been recorded by a tool.
Can be useful to eg. can send output to /dev/null and still count errors.
The tool must record the errors with VG_(maybe_record_error)() or VG_(unique_error)() for
them to be counted. These are to my best knowledge (as of Valgrind 3.22) Memcheck, DRD and
Helgrind.