Corinna Vinschen
0ff057d5a5
Streamline time/times functionality. Remove last remains of former
...
Windows 9x compatibility.
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Drop now unneeded
casts in calls to_timestruc_t.
(fhandler_base::utimens_fs): Ditto for timespec_to_filetime.
* fhandler_proc.cc (format_proc_stat): Ditto for to_time_t.
* hires.h (class hires_ms): Remove unused member initime_ns.
Remove declarations for timeGetTime_ns and prime.
(hires_ms::uptime): Remove.
* posix_ipc.cc (ipc_cond_timedwait): Ditto for timespec_to_filetime.
* fhandler_registry.cc (fhandler_registry::fstat): Add cast.
* resource.cc (fill_rusage): Call NtQueryInformationProcess rather than
GetProcessTimes to deal with LARGE_INTEGER rather than FILETIME.
* times.cc: Simplify time handling. Throughout, use LARGE_INTEGER
rather than FILETIME to simplify computations. Throughout use
{u}int64_t rather than {unsigned} long long. Drop unneeded casts since
NSPERSEC is 64 bit anyway.
(systime_ns): Remove.
(times): Call NtQuerySystemInformation to fetch boot time. Call
NtQueryInformationProcess rather than GetProcessTimes to deal with
LARGE_INTEGER rather than FILETIME. Call GetSystemTimeAsFileTime.
(totimeval): Use constant 1000000 as in other functions.
(time_t_to_filetime): Remove.
(to_time_t): Change return type to time_t.
(time_as_timestruc_t): Rename filetime to systime.
(time): Ditto. Add cast.
(hires_ns::nsecs): Fix return type cast.
(hires_ms::timeGetTime_ns): Remove.
(hires_ns::prime): Remove.
(hires_ms::nsecs): Drop call to prime. Call GetSystemTimeAsFileTime
directly. Subtract FACTOR here since it's the only function needing
to do so.
(minperiod): Cosmetically change to ULONG.
(hires_ns::resolution): Fix return type cast.
(hires_ms::resolution): Simplify, rely on NtQueryTimerResolution.
* winsup.h: Align time related prototypes to above changes.
2013-06-14 09:09:41 +00:00
..
2011-12-17 23:39:47 +00:00
2013-06-07 09:21:53 +00:00
2013-04-23 09:44:36 +00:00
2013-05-21 19:04:49 +00:00
2013-04-23 09:44:36 +00:00
2013-06-12 17:45:42 +00:00
2013-04-30 23:43:08 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2012-11-23 13:22:47 +00:00
2013-06-02 10:22:14 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-06-14 09:09:41 +00:00
2012-01-01 16:57:25 +00:00
2013-01-02 18:34:06 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2012-02-13 13:12:37 +00:00
2013-05-21 19:04:49 +00:00
2013-04-30 23:43:28 +00:00
2013-04-30 23:43:08 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:34:52 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2012-03-19 17:49:40 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2013-01-21 04:38:31 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:34:52 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-06-08 14:38:20 +00:00
2013-04-09 01:01:19 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2013-01-21 04:38:31 +00:00
2013-05-23 20:10:35 +00:00
2013-01-21 04:34:52 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-06-07 15:37:11 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-05-27 19:31:04 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:34:52 +00:00
2013-05-24 13:32:10 +00:00
2013-05-24 13:32:10 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-06-08 16:54:41 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-06-02 10:22:14 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-05-01 01:20:37 +00:00
2013-05-01 01:20:37 +00:00
2013-06-14 09:09:41 +00:00
2013-05-01 01:20:37 +00:00
2013-05-01 01:20:37 +00:00
2013-05-01 01:20:37 +00:00
2013-05-01 01:20:37 +00:00
2013-05-01 01:20:37 +00:00
2013-04-23 09:44:36 +00:00
2012-04-04 12:45:24 +00:00
2013-06-14 09:09:41 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-05-28 15:07:01 +00:00
2013-04-23 09:44:36 +00:00
2013-05-01 01:20:37 +00:00
2013-04-23 09:44:36 +00:00
2013-06-14 09:09:41 +00:00
2013-05-01 01:20:37 +00:00
2013-05-01 01:20:37 +00:00
2013-05-01 01:20:37 +00:00
2013-04-23 09:44:36 +00:00
2013-06-08 14:42:44 +00:00
2013-05-01 01:20:37 +00:00
2013-04-23 09:44:36 +00:00
2013-05-01 01:20:37 +00:00
2013-05-01 01:20:37 +00:00
2013-06-04 10:24:43 +00:00
2013-06-04 10:24:43 +00:00
2013-06-04 10:24:43 +00:00
2013-05-24 08:43:43 +00:00
2013-05-27 19:31:04 +00:00
2012-04-02 20:41:46 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-05-23 14:23:01 +00:00
2012-08-14 19:38:43 +00:00
2013-05-14 09:07:30 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2013-06-14 09:09:41 +00:00
2013-04-23 09:44:36 +00:00
2013-05-13 19:25:35 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-05-14 13:34:05 +00:00
2013-05-24 21:12:16 +00:00
2013-04-23 09:44:36 +00:00
2013-06-08 16:39:52 +00:00
2013-01-21 04:34:52 +00:00
2012-03-19 17:49:40 +00:00
2013-04-23 09:44:36 +00:00
2013-05-21 19:04:49 +00:00
2013-01-21 04:38:31 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-04-24 10:16:13 +00:00
2013-04-24 10:16:13 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-06-13 19:37:14 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-06-02 10:22:14 +00:00
2013-05-01 01:20:37 +00:00
2013-04-23 09:44:36 +00:00
2013-06-12 17:45:42 +00:00
2013-04-24 10:16:13 +00:00
2013-04-23 09:44:36 +00:00
2013-05-24 13:43:26 +00:00
2013-04-23 09:44:36 +00:00
2013-05-01 01:20:37 +00:00
2013-04-23 09:44:36 +00:00
2013-06-14 09:09:41 +00:00
2013-06-13 12:50:28 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-06-14 09:09:41 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-06-10 15:33:12 +00:00
2013-05-01 01:20:37 +00:00
2013-04-23 09:44:36 +00:00
2013-04-24 10:16:13 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-05-23 14:23:01 +00:00
2013-05-22 16:55:55 +00:00
2013-04-23 09:44:36 +00:00
2013-05-01 01:20:37 +00:00
2013-06-07 15:37:11 +00:00
2013-04-23 09:44:36 +00:00
2013-05-01 01:20:37 +00:00
2013-05-03 19:39:01 +00:00
2013-04-23 09:44:36 +00:00
2013-05-22 16:55:55 +00:00
2013-04-23 09:44:36 +00:00
2013-05-01 01:20:37 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-05-21 10:04:45 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-05-01 01:20:37 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-06-14 09:09:41 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-05-01 01:20:37 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2013-01-21 16:20:23 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:34:52 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-05-01 01:20:37 +00:00
2013-01-21 04:38:31 +00:00
2013-01-21 04:34:52 +00:00
2013-01-21 04:34:52 +00:00
2013-04-23 09:44:36 +00:00
2013-06-14 09:09:41 +00:00
2013-06-11 07:46:40 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-05-13 19:25:35 +00:00