Closed GoogleCodeExporter closed 9 years ago
'_last_proc_cpu_times' and '_last_sys_cpu_times' are null once you instantiate
a new Process.
They get filled when you call get_cpu_times() or get_cpu_percent().
Basically psutil avoids to unnecessarily fill them in case you DON'T want to
query process CPU stats.
I'm not sure why you think this is a bug with psutil.
Also you're not supposed to access them in the first place being them private
attributes.
Original comment by g.rodola
on 7 Feb 2014 at 3:46
Thank you for the information. I suppose the issue can be closed.
Original comment by d...@oversig.ht
on 10 Feb 2014 at 9:27
Original comment by g.rodola
on 10 Feb 2014 at 4:18
Original issue reported on code.google.com by
d...@oversig.ht
on 7 Feb 2014 at 2:20