On a multi-core machine, how to use perf to count the percentage of time a program spends on CPU and IO

后端 未结 0 1193
长情又很酷
长情又很酷 2020-12-23 13:51
root@centos:~/task>perf stat ./bazel-bin/test
-289967296

 Performance counter stats for \'./bazel-bin/test\':

      18393.707761      task-clock (msec)                  


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