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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: rtems_cpu_usage_report |
From: | Ricardo Cardenes <[email protected]> |
To: | EPICS Tech Talk <[email protected]> |
Date: | Fri, 27 Apr 2018 07:35:00 -1000 |
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,-Matttcs-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 [...]