source: rtems/testsuites/sptests/spcpucounter01/spcpucounter01.scn @ 07dc970

4.115
Last change on this file since 07dc970 was 07dc970, checked in by Sebastian Huber <sebastian.huber@…>, on 02/24/14 at 08:53:16

sptests/spcpucounter01: Adjust test

Adjust test to work with clock driver based CPU counters. They have a
period equal to the clock tick interval.

  • Property mode set to 100644
File size: 911 bytes
Line 
1*** TEST SPCPUCOUNTER 1 ***
2CPU counter frequency: 25000000Hz
3nanoseconds for frequency count ticks: 1000000000
4test delay nanoseconds (10 times)
5busy wait duration: 1000840ns
6busy wait relative to clock tick: 0.000840
7busy wait duration: 1001200ns
8busy wait relative to clock tick: 0.001200
9busy wait duration: 1001480ns
10busy wait relative to clock tick: 0.001480
11busy wait duration: 1001200ns
12busy wait relative to clock tick: 0.001200
13busy wait duration: 1001120ns
14busy wait relative to clock tick: 0.001120
15busy wait duration: 1001280ns
16busy wait relative to clock tick: 0.001280
17busy wait duration: 1001120ns
18busy wait relative to clock tick: 0.001120
19busy wait duration: 1001240ns
20busy wait relative to clock tick: 0.001240
21busy wait duration: 1001120ns
22busy wait relative to clock tick: 0.001120
23busy wait duration: 1001280ns
24busy wait relative to clock tick: 0.001280
25*** END OF TEST SPCPUCOUNTER 1 ***
Note: See TracBrowser for help on using the repository browser.