psutil gives other result than resource

前端 未结 0 1264
有刺的猬
有刺的猬 2021-02-02 07:57

I want to check memory consumption of my python code and have therefore added the following rows in the code:

import resource
print(resource.getrusage(resource.RU         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题