On 02/05/10 16:45, Milton Galo Patricio Inostroza Aguilera wrote:

¿timeit me asegura qué solamente medirá el tiempo cpu de mi proceso?
¿o hará lo mejor posible solamente?

Mírate esto y nos cuentas:

http://www.keyongtech.com/4882875-finding-cpu-time-spent-on

http://docs.python.org/library/resource.html?highlight=resource#module-resource

(aunque en general la gente usa timeit sin mayores preocupaciones)
_______________________________________________
Python-es mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-es
FAQ: http://python-es-faq.wikidot.com/

Responder a