[rtems commit] smptests/smpload01: Report profiling only once
Sebastian Huber
sebh at rtems.org
Wed Sep 17 08:23:59 UTC 2014
Module: rtems
Branch: master
Commit: 8f0a2c995b16c77520ac65eefc92ea3a61a98b99
Changeset: http://git.rtems.org/rtems/commit/?id=8f0a2c995b16c77520ac65eefc92ea3a61a98b99
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Sep 17 10:28:13 2014 +0200
smptests/smpload01: Report profiling only once
Rely on test extension to report profiling.
---
testsuites/smptests/smpload01/init.c | 3 -
testsuites/smptests/smpload01/smpload01.scn | 181 ---------------------------
2 files changed, 0 insertions(+), 184 deletions(-)
diff --git a/testsuites/smptests/smpload01/init.c b/testsuites/smptests/smpload01/init.c
index a817d92..2a4e955 100644
--- a/testsuites/smptests/smpload01/init.c
+++ b/testsuites/smptests/smpload01/init.c
@@ -24,7 +24,6 @@
#include <rtems.h>
#include <rtems/counter.h>
-#include <rtems/profiling.h>
#include <rtems/score/smpbarrier.h>
#include <rtems/score/smplock.h>
@@ -376,8 +375,6 @@ static void test(void)
ctx->inherit_obtain_counter[i]
);
}
-
- rtems_profiling_report_xml("SMPLOAD 1", rtems_printf_plugin, NULL, 1, " ");
}
static void Init(rtems_task_argument arg)
diff --git a/testsuites/smptests/smpload01/smpload01.scn b/testsuites/smptests/smpload01/smpload01.scn
index 2110e7e..f37d3f7 100644
--- a/testsuites/smptests/smpload01/smpload01.scn
+++ b/testsuites/smptests/smpload01/smpload01.scn
@@ -100,185 +100,4 @@ priority inheritance obtain count 0: 298
priority inheritance obtain count 1: 298
priority inheritance obtain count 2: 298
priority inheritance obtain count 3: 298
- <ProfilingReport name="SMPLOAD 1">
- <PerCPUProfilingReport processorIndex="0">
- <MaxThreadDispatchDisabledTime unit="ns">439505</MaxThreadDispatchDisabledTime>
- <ThreadDispatchDisabledCount>107380</ThreadDispatchDisabledCount>
- <TotalThreadDispatchDisabledTime unit="ns">2828036354</TotalThreadDispatchDisabledTime>
- <MaxInterruptTime unit="ns">449825</MaxInterruptTime>
- <MaxInterruptDelay unit="ns">209910</MaxInterruptDelay>
- <InterruptCount>45379</InterruptCount>
- <TotalInterruptTime unit="ns">468103979</TotalInterruptTime>
- </PerCPUProfilingReport>
- <PerCPUProfilingReport processorIndex="1">
- <MaxThreadDispatchDisabledTime unit="ns">192520</MaxThreadDispatchDisabledTime>
- <ThreadDispatchDisabledCount>107354</ThreadDispatchDisabledCount>
- <TotalThreadDispatchDisabledTime unit="ns">2951472564</TotalThreadDispatchDisabledTime>
- <MaxInterruptTime unit="ns">12310</MaxInterruptTime>
- <MaxInterruptDelay unit="ns">0</MaxInterruptDelay>
- <InterruptCount>24014</InterruptCount>
- <TotalInterruptTime unit="ns">55580995</TotalInterruptTime>
- </PerCPUProfilingReport>
- <PerCPUProfilingReport processorIndex="2">
- <MaxThreadDispatchDisabledTime unit="ns">180210</MaxThreadDispatchDisabledTime>
- <ThreadDispatchDisabledCount>111122</ThreadDispatchDisabledCount>
- <TotalThreadDispatchDisabledTime unit="ns">3083151549</TotalThreadDispatchDisabledTime>
- <MaxInterruptTime unit="ns">10800</MaxInterruptTime>
- <MaxInterruptDelay unit="ns">0</MaxInterruptDelay>
- <InterruptCount>24595</InterruptCount>
- <TotalInterruptTime unit="ns">56849370</TotalInterruptTime>
- </PerCPUProfilingReport>
- <PerCPUProfilingReport processorIndex="3">
- <MaxThreadDispatchDisabledTime unit="ns">192305</MaxThreadDispatchDisabledTime>
- <ThreadDispatchDisabledCount>129066</ThreadDispatchDisabledCount>
- <TotalThreadDispatchDisabledTime unit="ns">160126153</TotalThreadDispatchDisabledTime>
- <MaxInterruptTime unit="ns">12715</MaxInterruptTime>
- <MaxInterruptDelay unit="ns">0</MaxInterruptDelay>
- <InterruptCount>28961</InterruptCount>
- <TotalInterruptTime unit="ns">66604305</TotalInterruptTime>
- </PerCPUProfilingReport>
- <SMPLockProfilingReport name="SMP lock stats">
- <MaxAcquireTime unit="ns">8305</MaxAcquireTime>
- <MaxSectionTime unit="ns">21735</MaxSectionTime>
- <UsageCount>16</UsageCount>
- <TotalAcquireTime unit="ns">37930</TotalAcquireTime>
- <TotalSectionTime unit="ns">76770</TotalSectionTime>
- <ContentionCount initialQueueLength="0">16</ContentionCount>
- <ContentionCount initialQueueLength="1">0</ContentionCount>
- <ContentionCount initialQueueLength="2">0</ContentionCount>
- <ContentionCount initialQueueLength="3">0</ContentionCount>
- </SMPLockProfilingReport>
- <SMPLockProfilingReport name="Giant">
- <MaxAcquireTime unit="ns">430280</MaxAcquireTime>
- <MaxSectionTime unit="ns">445580</MaxSectionTime>
- <UsageCount>215584</UsageCount>
- <TotalAcquireTime unit="ns">2553573107</TotalAcquireTime>
- <TotalSectionTime unit="ns">742278475</TotalSectionTime>
- <ContentionCount initialQueueLength="0">56087</ContentionCount>
- <ContentionCount initialQueueLength="1">107063</ContentionCount>
- <ContentionCount initialQueueLength="2">51715</ContentionCount>
- <ContentionCount initialQueueLength="3">719</ContentionCount>
- </SMPLockProfilingReport>
- <SMPLockProfilingReport name="LEON3 IrqCtrl">
- <MaxAcquireTime unit="ns">2340</MaxAcquireTime>
- <MaxSectionTime unit="ns">5045</MaxSectionTime>
- <UsageCount>3</UsageCount>
- <TotalAcquireTime unit="ns">6355</TotalAcquireTime>
- <TotalSectionTime unit="ns">13795</TotalSectionTime>
- <ContentionCount initialQueueLength="0">3</ContentionCount>
- <ContentionCount initialQueueLength="1">0</ContentionCount>
- <ContentionCount initialQueueLength="2">0</ContentionCount>
- <ContentionCount initialQueueLength="3">0</ContentionCount>
- </SMPLockProfilingReport>
- <SMPLockProfilingReport name="per-CPU state">
- <MaxAcquireTime unit="ns">69505</MaxAcquireTime>
- <MaxSectionTime unit="ns">17495</MaxSectionTime>
- <UsageCount>12</UsageCount>
- <TotalAcquireTime unit="ns">170575</TotalAcquireTime>
- <TotalSectionTime unit="ns">92800</TotalSectionTime>
- <ContentionCount initialQueueLength="0">7</ContentionCount>
- <ContentionCount initialQueueLength="1">4</ContentionCount>
- <ContentionCount initialQueueLength="2">1</ContentionCount>
- <ContentionCount initialQueueLength="3">0</ContentionCount>
- </SMPLockProfilingReport>
- <SMPLockProfilingReport name="per-CPU">
- <MaxAcquireTime unit="ns">45820</MaxAcquireTime>
- <MaxSectionTime unit="ns">80520</MaxSectionTime>
- <UsageCount>191623</UsageCount>
- <TotalAcquireTime unit="ns">725817290</TotalAcquireTime>
- <TotalSectionTime unit="ns">3761923355</TotalSectionTime>
- <ContentionCount initialQueueLength="0">183684</ContentionCount>
- <ContentionCount initialQueueLength="1">7939</ContentionCount>
- <ContentionCount initialQueueLength="2">0</ContentionCount>
- <ContentionCount initialQueueLength="3">0</ContentionCount>
- </SMPLockProfilingReport>
- <SMPLockProfilingReport name="per-CPU">
- <MaxAcquireTime unit="ns">57105</MaxAcquireTime>
- <MaxSectionTime unit="ns">143510</MaxSectionTime>
- <UsageCount>178463</UsageCount>
- <TotalAcquireTime unit="ns">839695710</TotalAcquireTime>
- <TotalSectionTime unit="ns">3300422075</TotalSectionTime>
- <ContentionCount initialQueueLength="0">164040</ContentionCount>
- <ContentionCount initialQueueLength="1">14423</ContentionCount>
- <ContentionCount initialQueueLength="2">0</ContentionCount>
- <ContentionCount initialQueueLength="3">0</ContentionCount>
- </SMPLockProfilingReport>
- <SMPLockProfilingReport name="per-CPU">
- <MaxAcquireTime unit="ns">53715</MaxAcquireTime>
- <MaxSectionTime unit="ns">86980</MaxSectionTime>
- <UsageCount>183928</UsageCount>
- <TotalAcquireTime unit="ns">911318930</TotalAcquireTime>
- <TotalSectionTime unit="ns">3376328605</TotalSectionTime>
- <ContentionCount initialQueueLength="0">168809</ContentionCount>
- <ContentionCount initialQueueLength="1">15119</ContentionCount>
- <ContentionCount initialQueueLength="2">0</ContentionCount>
- <ContentionCount initialQueueLength="3">0</ContentionCount>
- </SMPLockProfilingReport>
- <SMPLockProfilingReport name="per-CPU">
- <MaxAcquireTime unit="ns">54975</MaxAcquireTime>
- <MaxSectionTime unit="ns">115400</MaxSectionTime>
- <UsageCount>214576</UsageCount>
- <TotalAcquireTime unit="ns">1114797360</TotalAcquireTime>
- <TotalSectionTime unit="ns">3997196165</TotalSectionTime>
- <ContentionCount initialQueueLength="0">196216</ContentionCount>
- <ContentionCount initialQueueLength="1">18360</ContentionCount>
- <ContentionCount initialQueueLength="2">0</ContentionCount>
- <ContentionCount initialQueueLength="3">0</ContentionCount>
- </SMPLockProfilingReport>
- <SMPLockProfilingReport name="chains">
- <MaxAcquireTime unit="ns">5175</MaxAcquireTime>
- <MaxSectionTime unit="ns">12355</MaxSectionTime>
- <UsageCount>13</UsageCount>
- <TotalAcquireTime unit="ns">25275</TotalAcquireTime>
- <TotalSectionTime unit="ns">37815</TotalSectionTime>
- <ContentionCount initialQueueLength="0">13</ContentionCount>
- <ContentionCount initialQueueLength="1">0</ContentionCount>
- <ContentionCount initialQueueLength="2">0</ContentionCount>
- <ContentionCount initialQueueLength="3">0</ContentionCount>
- </SMPLockProfilingReport>
- <SMPLockProfilingReport name="TOD">
- <MaxAcquireTime unit="ns">17910</MaxAcquireTime>
- <MaxSectionTime unit="ns">24835</MaxSectionTime>
- <UsageCount>255282</UsageCount>
- <TotalAcquireTime unit="ns">1081011595</TotalAcquireTime>
- <TotalSectionTime unit="ns">1868447965</TotalSectionTime>
- <ContentionCount initialQueueLength="0">254784</ContentionCount>
- <ContentionCount initialQueueLength="1">498</ContentionCount>
- <ContentionCount initialQueueLength="2">0</ContentionCount>
- <ContentionCount initialQueueLength="3">0</ContentionCount>
- </SMPLockProfilingReport>
- <SMPLockProfilingReport name="mount table entry">
- <MaxAcquireTime unit="ns">2740</MaxAcquireTime>
- <MaxSectionTime unit="ns">4520</MaxSectionTime>
- <UsageCount>43</UsageCount>
- <TotalAcquireTime unit="ns">67340</TotalAcquireTime>
- <TotalSectionTime unit="ns">103785</TotalSectionTime>
- <ContentionCount initialQueueLength="0">43</ContentionCount>
- <ContentionCount initialQueueLength="1">0</ContentionCount>
- <ContentionCount initialQueueLength="2">0</ContentionCount>
- <ContentionCount initialQueueLength="3">0</ContentionCount>
- </SMPLockProfilingReport>
- <SMPLockProfilingReport name="thread zombies">
- <MaxAcquireTime unit="ns">8490</MaxAcquireTime>
- <MaxSectionTime unit="ns">12865</MaxSectionTime>
- <UsageCount>103</UsageCount>
- <TotalAcquireTime unit="ns">289735</TotalAcquireTime>
- <TotalSectionTime unit="ns">537645</TotalSectionTime>
- <ContentionCount initialQueueLength="0">103</ContentionCount>
- <ContentionCount initialQueueLength="1">0</ContentionCount>
- <ContentionCount initialQueueLength="2">0</ContentionCount>
- <ContentionCount initialQueueLength="3">0</ContentionCount>
- </SMPLockProfilingReport>
- <SMPLockProfilingReport name="constructor">
- <MaxAcquireTime unit="ns">6525</MaxAcquireTime>
- <MaxSectionTime unit="ns">15660</MaxSectionTime>
- <UsageCount>1</UsageCount>
- <TotalAcquireTime unit="ns">6525</TotalAcquireTime>
- <TotalSectionTime unit="ns">15660</TotalSectionTime>
- <ContentionCount initialQueueLength="0">1</ContentionCount>
- <ContentionCount initialQueueLength="1">0</ContentionCount>
- <ContentionCount initialQueueLength="2">0</ContentionCount>
- <ContentionCount initialQueueLength="3">0</ContentionCount>
- </SMPLockProfilingReport>
- </ProfilingReport>
*** END OF TEST SMPLOAD 1 ***
More information about the vc
mailing list