【发布时间】:2016-03-17 01:30:26
【问题描述】:
当我得到平面文件时,我正在尝试使用 gprof(我必须使用 gprof - 没有其他选项可用),即使一切正常,结果也是空的。
顺便说一句,代码是c,所以我用的是gcc。
结果:
Each sample counts as 0.01 seconds.
no time accumulated
% cumulative self self total
time seconds seconds calls Ts/call Ts/call name
我能做些什么来解决这个问题?谢谢。
【问题讨论】:
-
请分享您的源代码和编译/分析命令行。
-
即使它有效,它也不会告诉你太多。 Look here.