EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to profile an EPICS application on Linux
From: "J. Lewis Muir" <[email protected]>
To: Mark Rivers <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Mon, 10 Sep 2012 16:48:33 -0500
On 9/10/12 4:17 PM, Mark Rivers wrote:
> Does anyone with gprof experience know why I am not getting the execution times in these functions?

Hi, Mark.

I don't have gprof experience, but it could be that your
application is spending most of its time sleeping or blocking,
so, since gprof works by taking measurements while your
application is running in user-space, it sees time spent in your
application as very small compared to time spent in
kernel-space, and thus results in times rounded to 0 for all
those function calls.

The following article talks about this toward the end:

  http://www.ibm.com/developerworks/library/l-gnuprof.html

It suggests that if you run your application with the "time"
command and the output says you're spending hardly any time in
user-space, then gprof might not be useful to you.

Lewis

Replies:
RE: How to profile an EPICS application on Linux Mark Rivers
References:
How to profile an EPICS application on Linux Mark Rivers

Navigate by Date:
Prev: RE: camonitor bug for string as array of chars Mark Rivers
Next: Re: Doubt regarding standards followed by EPICS Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: How to profile an EPICS application on Linux Mark Rivers
Next: RE: How to profile an EPICS application on Linux Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·