OSDN Git Service

* hires.h (hires_ms::initime_ms): Delete.
authorcgf <cgf>
Wed, 7 Dec 2005 22:28:49 +0000 (22:28 +0000)
committercgf <cgf>
Wed, 7 Dec 2005 22:28:49 +0000 (22:28 +0000)
commit3827cf86862f59c9048e27240af1c3c2c90f6318
tree5bdc74295b15ff96579689365d7b9123ebc12a35
parent9921a4491fda222a94a72b3c1917e697fffb870a
* hires.h (hires_ms::initime_ms): Delete.
(hires_ms::initime_us): Just define as LONGLONG.
(hires_ms::uptime): New function.
* select.cc (select_stuff::wait): Use gtod for timing to attempt to avoid
windows 32 bit wraparound.
* times.cc (systime): New function.
(times): Replace GetTickCount with gtod.uptime.
(hires_us::prime): Use systime() to calculate system time rather than calling
GetSystemTimeAsFileTime directly.
(hires_ms::prime): Ditto.  Eliminate initime_ms.
(hires_ms::usecs): Try harder to detect wraparound.
* fhandler_proc.cc (format_proc_partitions): Set drive_size to zero to avoid a
compiler warning.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_proc.cc
winsup/cygwin/hires.h
winsup/cygwin/select.cc
winsup/cygwin/times.cc