一、android

  • cpu占比  https://blog.csdn.net/weixin_39694445/article/details/104558638: 读取/proc/stat文件,可得到cpu.utime + cpu.ntime + cpu.stime + cpu.itime + cpu.iowtime + cpu.irqtime + cpu.sirqtime = 某时间cpu使用时长time1。一段时间间隔delta后,再取一次得到cpu使用时长time2。则cpu使用百分比:(time2-time1)/delta
  • 内存

相关文章:

  • 2022-01-01
  • 2021-06-02
  • 2021-06-25
  • 2021-06-02
  • 2021-09-11
  • 2021-12-06
猜你喜欢
  • 2022-01-08
  • 2022-02-28
  • 2021-10-02
  • 2021-12-05
  • 2021-10-09
  • 2022-01-27
相关资源
相似解决方案