[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reg graphs

From: Nick Clifton
Subject: Re: reg graphs
Date: Tue, 05 Jul 2005 13:08:12 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Hi Nithya,

Is it possible for us to draw the graph that shows the cpu utilization during the various time intervals.

It is not clear what you mean by "CPU utilization" here.

gprof tool gives us the CPU utilization of the various functions.

No it does not. It shows you how the CPU time that was consumed by the program was divided up amongst the functions that make up that program.

I want the CPU utilization for the whole interval for the various time periods

Are you referring to how much CPU time a given program is using over specific time periods ? In which case a tool like "ps" or "top" can probably give you the information you need.

Or maybe you want to see a graph of which function was consuming CPU cycles at any given point in time ? This information is recorded in the gmon.out file produced by a profiled program, and the format of this file is documented. (See gprof/gprof.texi). You will probably have to write your own tool to extract this information in the format that you desire.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]