diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-08-10 16:10:37 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-08-10 16:10:37 +0000 |
commit | f0266e169325eab8e2f7204e77937ae8ab98d47c (patch) | |
tree | 6019af358475fbf86f6e8a5beb477ba1f8bc7ea8 /cpukit/libfs/src/nfsclient/src/nfsTest.c | |
parent | 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-f0266e169325eab8e2f7204e77937ae8ab98d47c.tar.bz2 |
2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/__times.c, libfs/src/nfsclient/src/nfsTest.c,
libfs/src/nfsclient/src/rpcio.c: Convert calls to legacy routine
rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
Diffstat (limited to '')
-rw-r--r-- | cpukit/libfs/src/nfsclient/src/nfsTest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libfs/src/nfsclient/src/nfsTest.c b/cpukit/libfs/src/nfsclient/src/nfsTest.c index 9de6e2b43d..01ef860744 100644 --- a/cpukit/libfs/src/nfsclient/src/nfsTest.c +++ b/cpukit/libfs/src/nfsclient/src/nfsTest.c @@ -329,7 +329,7 @@ char *buf=0; } /* Timed main loop */ - rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &then); + then = rtems_clock_get_ticks_since_boot(); if ( nrd ) { off = 0; @@ -348,9 +348,9 @@ char *buf=0; } } - rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &now); + now = rtems_clock_get_ticks_since_boot(); now = (now-then)*1000; - rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &tickspsec); + ticksspec = rtems_clock_get_ticks_per_second(); now /= tickspsec; /* time in ms */ cleanup: |