[pyar] Tiempo real de ejecución de un threading.Thread

Marcos Dione mdione en grulic.org.ar
Vie Ene 5 14:53:43 ART 2018


On Fri, Jan 05, 2018 at 06:49:38PM +0100, Marcos Dione wrote:
>     una punta va porái:
> 
> https://docs.python.org/2.7/library/os.html#os.times
> 
>     de ahí a:
> 
> https://hg.python.org/cpython/file/v2.7.13/Modules/posixmodule.c#l6430
> https://linux.die.net/man/2/times
> 
>     viendo los see also:
> 
> https://linux.die.net/man/2/getrusage
> 
> RUSAGE_THREAD (since Linux 2.6.26)
>     Return resource usage statistics for the calling thread. 
> 
>     te la dejo picando :)

    ja! https://docs.python.org/2/library/resource.html

-- 
(Not so) Random fortune:
The technology industry sees itself as in rebellion against corporate
America: not corrupt, not buttoned-up, not empty. In fact, a tech company
can be as corrupt, soulless, and empty as any corporation, but being
unprofessional helps us maintain the belief that we are somehow different
from Wall Street.
	    -- Shanley Kane


Más información sobre la lista de distribución pyar