Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-06-07 07:44:33 +0400
committerChristopher Faylor <me@cgf.cx>2002-06-07 07:44:33 +0400
commit9d0efbb3aeef0490d227c9b98bd478ac1964d16d (patch)
tree005964002ffa58bbddce64254ce2b60cfc9e0d59 /winsup/cygwin/strace.cc
parentb841df7954ad31383688775114132af73b7693d4 (diff)
* 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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/strace.cc b/winsup/cygwin/strace.cc
index f0eb799da..5a4549161 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);
}