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  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: rtems_cpu_usage_report
From: Ralph Lange <[email protected]>
To: EPICS Tech Talk <[email protected]>
Date: Fri, 27 Apr 2018 07:20:26 +0000
Hi Matt,

Nice printout. Is this from the commonly used iocStats module [1]?
You seem to be facing an underflow effect of a 32bit unsigned that is being converted to double.

Cheers,


On Thu, Apr 26, 2018 at 11:51 PM Matt Rippa <[email protected]> wrote:

We're running EPICS 3.14.12.7, RTEMS 4.10.2 on the mvme3100 bsp.​ We just added a small support module to calculate cpu statistics.


We're seeing corrupt calculations on some threads. Has anyone seen this? Any advice?

Thank you,
-Matt

tcs-sim-ioc> rtemsStatsReport   
-------------------------------------------------------------------------------
                             CPU USAGE BY THREAD
------------+----------------------------------------+---------------+---------
ID         | NAME                                   | SECONDS       | PERCENT
------------+----------------------------------------+---------------+---------
0x09010001 | IDLE                                   |    153.005592 |  66.361
0x0A010001 | UI1                                    |      6.594606 |   2.860
0x0A010002 | Imsg                                   |      0.000000 |   0.000 
[...] 

Replies:
Re: rtems_cpu_usage_report Andrew Johnson
Re: rtems_cpu_usage_report Ricardo Cardenes
References:
rtems_cpu_usage_report Matt Rippa

Navigate by Date:
Prev: RE: Radiation Monitors Andrew C. Starritt
Next: Re: NSLS-II Debian Repository in 2018 Ralph Lange
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: rtems_cpu_usage_report Matt Rippa
Next: Re: rtems_cpu_usage_report Andrew Johnson
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 27 Apr 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·