4.104.115
Last change
on this file since ab2422c was
ab2422c,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/14/09 at 17:59:29
|
2009-09-14 Joel Sherrill <joel.sherrill@…>
- psxtests/psxclock/init.c, psxtests/psxclock/psxclock.scn: Add test
case for nanosleep of a very small delay which mathematically is less
than a clock tick.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[88271c33] | 1 | *** POSIX CLOCK TEST *** |
---|
| 2 | Init: clock_gettime - EINVAL (NULL timespec) |
---|
| 3 | Init: clock_gettime - EINVAL (invalid clockid) |
---|
| 4 | Init: clock_settime - EINVAL (invalid clockid) |
---|
| 5 | Thu Jan 1 00:00:01 1970 |
---|
| 6 | Init: clock_settime - before 1988 EINVAL |
---|
| 7 | Init: clock_getres - EINVAL (invalid clockid) |
---|
| 8 | Init: clock_getres - EINVAL (NULL resolution) |
---|
| 9 | Init: clock_getres - SUCCESSFUL |
---|
| 10 | Init: resolution = sec (0), nsec (10000000) |
---|
| 11 | |
---|
| 12 | Fri May 24 11:05:00 1996 |
---|
| 13 | Init: clock_settime - SUCCESSFUL |
---|
| 14 | Fri May 24 11:05:00 1996 |
---|
| 15 | Fri May 24 11:05:00 1996 |
---|
| 16 | Time since boot: (3, 10131000) |
---|
| 17 | Fri May 24 11:05:03 1996 |
---|
| 18 | Fri May 24 11:05:03 1996 |
---|
| 19 | Init: seconds remaining (0) |
---|
| 20 | |
---|
| 21 | Init: nanosleep - EINVAL (NULL time) |
---|
| 22 | Init: nanosleep - EINVAL (too many nanoseconds) |
---|
| 23 | Init: nanosleep - negative seconds small delay |
---|
[ab2422c] | 24 | Init: nanosleep - delay so small results in one tick |
---|
[88271c33] | 25 | Init: nanosleep - yield with remaining |
---|
| 26 | Init: nanosleep - yield with NULL time remaining |
---|
| 27 | Init: nanosleep - 1.05 seconds |
---|
| 28 | Fri May 24 11:05:06 1996 |
---|
| 29 | Init: sec (0), nsec (0) remaining |
---|
| 30 | Init: usleep - 1.35 seconds |
---|
| 31 | Fri May 24 11:05:07 1996 |
---|
[1e2d7510] | 32 | clock_gettime - CLOCK_THREAD_CPUTIME -- ENOSYS |
---|
| 33 | clock_settime - CLOCK_PROCESS_CPUTIME -- ENOSYS |
---|
| 34 | clock_settime - CLOCK_THREAD_CPUTIME -- ENOSYS |
---|
[88271c33] | 35 | *** END OF POSIX CLOCK TEST *** |
---|
Note: See
TracBrowser
for help on using the repository browser.