Bonjour,
J'aimerais tester le temps d'execution d'une function en millisecondes.
Quelle function linux utiliser pour calculer un interval en millisecondes ?
Merci![]()
Bonjour,
J'aimerais tester le temps d'execution d'une function en millisecondes.
Quelle function linux utiliser pour calculer un interval en millisecondes ?
Merci![]()
Salut,
Tu peux par exemple utiliser GTimer de la glib: http://gtk.developpez.com/faq/?page=...IB_TEMPS_timer
Thierry
"The most important thing in the kitchen is the waste paper basket and it needs to be centrally located.", Donald Knuth
"If the only tool you have is a hammer, every problem looks like a nail.", probably Abraham Maslow
FAQ-Python FAQ-C FAQ-C++
+
Merci de ta réponse
Mais il n'existe pas un truc de plus "bas niveau" ?
meri
J'ai encore ça comme lien: http://2007.perso.orange.fr/Code/C/mesure.htm
Thierry
"The most important thing in the kitchen is the waste paper basket and it needs to be centrally located.", Donald Knuth
"If the only tool you have is a hammer, every problem looks like a nail.", probably Abraham Maslow
FAQ-Python FAQ-C FAQ-C++
+
Merci, gettimeofday() marche très bien et simplement![]()
A bientot
Partager