Closed souravsingh closed 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
Fixed Compatibility with psutil by changing get_cpu_percent to cpu_percent