On 23/Jun/03 16:13 +0200, Fabian Vilers wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Bonjour à tou,s
> 
> J'ai écrit deux petits programmes qui font la meme chose mais de
> manières différentes (différent algos). J'aimerais tester leur
> performance en terme de vitesse d'exécution, de nombre
> d'instructions, etc... Pas vraiment un full benchmark donc.
> 
> Avez-vous quelques pistes?

Si ton application est en C/C++, tu peux utiliser l'excellent gprof :

http://www.gnu.org/manual/gprof-2.9.1/html_chapter/gprof_toc.html

Sinon un 'strace -s' n'est pas suffisant ? 

strace -s 'tonsuperprogam'

hope this helps,

adulau


-- 
--                   Alexandre Dulaunoy (adulau) -- http://www.foo.be/
--         http://pgp.ael.be:11371/pks/lookup?op=get&search=0x44E6CBCD
--         "Knowledge can create problems, it is not through ignorance
--                                that we can solve them" Isaac Asimov

Attachment: pgp00000.pgp
Description: PGP signature

_______________________________________________________
Linux Mailing List - http://www.unixtech.be
Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux
Archives: http://www.mail-archive.com/[EMAIL PROTECTED]
IRC: efnet.unixtech.be:6667 - #unixtech

Répondre à