This is the mail archive of the
mailing list for the GCC project.
Re: for getting millisecond resolution in profiling with -pg option
- From: Mike Stump <mrs at apple dot com>
- To: jayaraj <jayaraj at blr dot pin dot philips dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 24 Mar 2006 01:28:38 -0800
- Subject: Re: for getting millisecond resolution in profiling with -pg option
- References: <1142693230.1649.10.camel@ingbtcpic2lx004>
On Mar 18, 2006, at 6:47 AM, jayaraj wrote:
I want to profile an application in linux. I used -pg option and
profiled the data with gprof. Here I am getting the resolution in
seconds only. but I wants in terms of milliseconds and microseconds.
can anybody help me. or any other options and tools available.
Wrong list, please use gcc-help instead.
Do it twice, once before and once after, then subtract. It will give
it to you in clock cycles, clock cycles are best. You can also use