astrofrog / psrecord

Record the CPU and memory activity of a process :chart_with_upwards_trend:
BSD 2-Clause "Simplified" License
595 stars 77 forks source link

Fixed Compatibility with psutil #17

Closed souravsingh closed 8 years ago

souravsingh commented 9 years ago

Fixed Compatibility with psutil by changing get_cpu_percent to cpu_percent

astrofrog commented 8 years ago

@souravsingh - sorry for the delay, and thanks for the contribution! I opened another PR that does the same but also for the memory, and preserves backward compatibility with older psutil versions: https://github.com/astrofrog/psrecord/pull/18