[转载] 如何观察程序的执行情况?# Unix - 噫吁兮,危乎高哉
z*y
1 楼
【 以下文字转载自 Linux 讨论区 】
【 原文由 zyy 所发表 】
I want to know what part of the program costs the most of the cpu time.
Something like profil, but is there any command to do that? Thanks.
【 原文由 zyy 所发表 】
I want to know what part of the program costs the most of the cpu time.
Something like profil, but is there any command to do that? Thanks.