[转载] GPROF problem# Computation - 科学计算
n*s
1 楼
【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: needreasons (walkman), 信区: Programming
标 题: GPROF problem
发信站: Unknown Space - 未名空间 (Fri Jan 21 18:56:33 2005) WWW-POST
Using gprof to profile the running time of a program, get the total time is
about 120s. At the same time, the "time" shell command gives ~180s.
In another case, the two could be ~170s and ~400s, respectively.
Should the time provided by gprof be almost the same as that counted by
"time"?
Thanks
发信人: needreasons (walkman), 信区: Programming
标 题: GPROF problem
发信站: Unknown Space - 未名空间 (Fri Jan 21 18:56:33 2005) WWW-POST
Using gprof to profile the running time of a program, get the total time is
about 120s. At the same time, the "time" shell command gives ~180s.
In another case, the two could be ~170s and ~400s, respectively.
Should the time provided by gprof be almost the same as that counted by
"time"?
Thanks