[Insight-developers] Missing ITK Valgrind? : Looking for Volunteers

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Thu May 21 18:03:24 EDT 2009


Le 21 mai 09 à 23:53, Sean McBride a écrit :

> On 5/20/09 4:05 PM, kent williams said:
>
>> Yeah. Valgrind works by tracking every variable mentioned in a  
>> program's
>> symbol table. In order to check every memory access, it's running an
>> interpreter that simulates a real-mode x86 CPU, so that every machine
>> instruction is checked for what memory it reads and writes.
>>
>> Given that you're running the CPU in software with, a bunch of extra
>> book-keeping, and hacking up malloc-level heap management so that  
>> out of
>> bounds writes and reads are detected in dynamically allocated  
>> memory, 80x
>> slowdown isn't that bad.
>
> Doesn't this cause the tests to timeout?  Do you need to raise the
> timeouts ridiculously high?


It does. The timeout has been increased to 3000 - it is 1500 by  
default IIRC.
Some tests are still I timeout though. Maybe I should try to increase  
it a bit again.

Gaëtan


-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.mandriva.org
http://www.itk.org  http://www.clavier-dvorak.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20090522/161fea59/attachment.pgp>


More information about the Insight-developers mailing list