diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-07 03:44:33 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-07 03:44:33 +0000 |
commit | 9d0efbb3aeef0490d227c9b98bd478ac1964d16d (patch) | |
tree | 005964002ffa58bbddce64254ce2b60cfc9e0d59 /winsup/cygwin/strace.cc | |
parent | b841df7954ad31383688775114132af73b7693d4 (diff) | |
download | newlib-9d0efbb3aeef0490d227c9b98bd478ac1964d16d.zip newlib-9d0efbb3aeef0490d227c9b98bd478ac1964d16d.tar.gz newlib-9d0efbb3aeef0490d227c9b98bd478ac1964d16d.tar.bz2 |
* autoload.cc (timeGetDevCaps): Define new autoload function.
(timeGetTime): Ditto.
(timeBeginPeriod): Ditto.
(timeEndPeriod): Ditto.
* hires.h (hires_base): New class. Renamed from hires.
(hires_us): New class.
(hires_ms): New class.
* strace.cc (strace::microseconds): Use hires_us class.
* times.cc (gettimeofday): Use hires-ms class.
(hires_us::prime): Renamed from hires::prime.
(hires_us::usecs): Renamed from hires:usecs.
(hires_ms::prime): New method.
(hires_ms::usecs): New method.
(hires_ms::~hires_ms): New destructor.
Diffstat (limited to 'winsup/cygwin/strace.cc')
-rw-r--r-- | winsup/cygwin/strace.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/strace.cc b/winsup/cygwin/strace.cc index f0eb799..5a45491 100644 --- a/winsup/cygwin/strace.cc +++ b/winsup/cygwin/strace.cc @@ -63,7 +63,7 @@ strace::hello() int strace::microseconds () { - static hires now; + static hires_us now; return (int) now.usecs (true); } |