pub fn running_on_valgrind() -> usize
Available on crate feature
client_requests_defs
only.Expand description
Returns the number of Valgrinds this code is running under
That is, 0 if running natively, 1 if running under Valgrind, 2 if running under Valgrind which is running under another Valgrind, etc.