On 11/18/2010 06:40 PM, Josef Weidendorfer wrote: > The easiest would be to extend Valgrind to allow for full system emulation ;) > > Hmm... would it help for the cache simulator to maintain a virtual > time which can be asked for by a client request?
I'd like to say yes, but given all the places that gettimeofday, clock_gettime, or time is called in project it may do more harm than good. That is, if only one or two call-points are using the valgrind time function and others use the normal time, weird things might happen. I would however take the effort in my code to hunt down all such calls and replace them. :) -- edA-qa mort-ora-y -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- BigTPoker - Poker fun and games http://BigTPoker.com/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Sign: Please digitally sign your emails. Encrypt: I'm also happy to receive encrypted mail.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users