summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spcpucounter01/spcpucounter01.scn
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-24 09:53:16 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-24 12:49:45 +0100
commit07dc9709a42b41e542ce955f0c4fc02967f901e5 (patch)
tree1fc594867e152adb17960830a45a9282bcf51ee4 /testsuites/sptests/spcpucounter01/spcpucounter01.scn
parentbsps: Add empty cache manager (diff)
downloadrtems-07dc9709a42b41e542ce955f0c4fc02967f901e5.tar.bz2
sptests/spcpucounter01: Adjust test
Adjust test to work with clock driver based CPU counters. They have a period equal to the clock tick interval.
Diffstat (limited to '')
-rw-r--r--testsuites/sptests/spcpucounter01/spcpucounter01.scn24
1 files changed, 17 insertions, 7 deletions
diff --git a/testsuites/sptests/spcpucounter01/spcpucounter01.scn b/testsuites/sptests/spcpucounter01/spcpucounter01.scn
index fc8e84951e..62f86d7b64 100644
--- a/testsuites/sptests/spcpucounter01/spcpucounter01.scn
+++ b/testsuites/sptests/spcpucounter01/spcpucounter01.scn
@@ -2,14 +2,24 @@
CPU counter frequency: 25000000Hz
nanoseconds for frequency count ticks: 1000000000
test delay nanoseconds (10 times)
-busy wait relative to clock tick: 0.001320
-busy wait relative to clock tick: 0.001640
-busy wait relative to clock tick: 0.001320
-busy wait relative to clock tick: 0.001160
+busy wait duration: 1000840ns
+busy wait relative to clock tick: 0.000840
+busy wait duration: 1001200ns
+busy wait relative to clock tick: 0.001200
+busy wait duration: 1001480ns
+busy wait relative to clock tick: 0.001480
+busy wait duration: 1001200ns
+busy wait relative to clock tick: 0.001200
+busy wait duration: 1001120ns
+busy wait relative to clock tick: 0.001120
+busy wait duration: 1001280ns
busy wait relative to clock tick: 0.001280
+busy wait duration: 1001120ns
+busy wait relative to clock tick: 0.001120
+busy wait duration: 1001240ns
busy wait relative to clock tick: 0.001240
-busy wait relative to clock tick: 0.001280
-busy wait relative to clock tick: 0.001280
-busy wait relative to clock tick: 0.001320
+busy wait duration: 1001120ns
+busy wait relative to clock tick: 0.001120
+busy wait duration: 1001280ns
busy wait relative to clock tick: 0.001280
*** END OF TEST SPCPUCOUNTER 1 ***