|
From: Hien Le <Hi...@me...> - 2008-03-07 21:07:55
|
Can the client-request mechanism be used to detect which Valgrind tool
is active?
I'm using client-requests in my source as follows:
if(RUNNING_ON_VALGRIND) {
// code that's easier to leak check
} else {
// normal code
}
The first block gives more accurate MemCheck results but is slow so I'd
like the "normal code" to execute if I'm using Callgrind.
Thanks,
Hien
|