On 7/17/20 1:19 PM, Siddons, David via Tech-talk wrote:
> I'd like to understand where my IOC code is taking its time, and gprof seems like the right tool for this, is that right? Where would I add the compile flags (-pg)?
You might also investigate the Linux 'perf' utility.
It doesn't need any special compiler flags, though
it's hard to find much sense without debug symbols.
I especially like the 'top' mode, which can inspect
an already running process. eg.
$ perf top -g -p <pid>
https://perf.wiki.kernel.org/index.php/Main_Page
- Replies:
- RE: profiling an IOC Mark Rivers via Tech-talk
- References:
- profiling an IOC Siddons, David via Tech-talk
- Navigate by Date:
- Prev:
Re: archiver viewer plug in with archiver appliance in Linux Michael Davidsaver via Tech-talk
- Next:
RE: profiling an IOC Mark Rivers via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: profiling an IOC Johnson, Andrew N. via Tech-talk
- Next:
RE: profiling an IOC Mark Rivers via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
|