s****u 发帖数: 47 | 1 Thank you guys very much. I got a lot of ideas.
I'm sorry I didn't make myself clear when asking the question.
When I said "elapsed" time, I really meant CPU time,
because I/O time is useless in my computational comparisons.
The UNIX command, time, does measure CPU time. That's good.
But I can't measure the CPU time of PART of my program, the
"core" computations, using that command.
gprof is good for program optimization. However I think that
addition of debugging codes will alter the actual tim |
|