On 9/10/12 4:58 PM, Mark Rivers wrote:
> Hi Lewis,
>
> Thanks for the reply.
>
> I don't think that could be it, because I can reduce the CPU time of my application from 20% to 14% by changing a PV to eliminate calculations that are definitely done in my code. I collected the profile with those calculations enabled, so at least (20-14)/20 = 30% of the CPU time should be in my calculation function. It's spending the rest of its time reading short TCP messages which are coming in at 6.5 kHz, and I think that will result in a non-trivial amount of time in drvAsynIPPort. Some of it will be in the system Ethernet driver, network stack, etc.
Hi, Mark.
What does the "time" command show?
Lewis
- Replies:
- RE: How to profile an EPICS application on Linux Mark Rivers
- References:
- How to profile an EPICS application on Linux Mark Rivers
- Re: How to profile an EPICS application on Linux J. Lewis Muir
- RE: How to profile an EPICS application on Linux Mark Rivers
- Navigate by Date:
- Prev:
RE: 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
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: 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
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|