source: rtems/c/src/ada-tests/samples/nsecs/nsecs.scn @ 78c7192

4.104.114.95
Last change on this file since 78c7192 was 42f07c5, checked in by Glenn Humphrey <glenn.humphrey@…>, on 10/25/07 at 19:51:06

2007-10-25 Glenn Humphrey <glenn.humphrey@…>

  • configure.ac, samples/Makefile.am: Added a test for Clock_Get_Uptime
  • samples/nsecs/.cvsignore, samples/nsecs/Makefile.am, samples/nsecs/config.h, samples/nsecs/nsecs.adb, samples/nsecs/nsecs.scn, samples/nsecs/sptest.adb, samples/nsecs/sptest.ads: New files.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1*** NANOSECOND CLOCK TEST ***
210 iterations of getting TOD NOT tested in Ada
3
410 iterations of getting Uptime
50:  9025000 0:  9034000 --> 0:     9000
60: 10724000 0: 10733000 --> 0:     9000
70: 12400000 0: 12409000 --> 0:     9000
80: 14076000 0: 14085000 --> 0:     9000
90: 15752000 0: 15761000 --> 0:     9000
100: 17428000 0: 17438000 --> 0:    10000
110: 19108000 0: 19117000 --> 0:     9000
120: 20814000 0: 20823000 --> 0:     9000
130: 22490000 0: 22499000 --> 0:     9000
140: 24166000 0: 24175000 --> 0:     9000
15
1610 iterations of getting Uptime with different loop values
17loop of  10000 0: 26747000 0: 29758000 --> 0:  3011000
18loop of  20000 0: 31927000 0: 37938000 --> 0:  6011000
19loop of  30000 0: 40108000 0: 49118000 --> 0:  9010000
20loop of  40000 0: 51287000 0: 63327000 --> 0: 12040000
21loop of  50000 0: 65471000 0: 80541000 --> 0: 15070000
22loop of  60000 0: 82684000 0:100754000 --> 0: 18070000
23loop of  70000 0:102892000 0:123963000 --> 0: 21071000
24loop of  80000 0:126096000 0:150196000 --> 0: 24100000
25loop of  90000 0:152329000 0:179399000 --> 0: 27070000
26loop of 100000 0:181562000 0:211662000 --> 0: 30100000
27*** END OF NANOSECOND CLOCK TEST ***
Note: See TracBrowser for help on using the repository browser.