src/winsup/cygwin ChangeLog fhandler_disk_file ...
Tue Oct 13 02:26:00 GMT 2009

CVSROOT:	/cvs/src
Module name:	src
Changes by:	2009-10-13 02:26:33

Modified files:
	winsup/cygwin  : ChangeLog hires.h 

Log message:
	Improve clock_gettime and utimensat resolution.
	* hires.h (hires_ms): Change initime_us to initime_ns, with 10x
	more resolution.
	(hires_ms::nsecs): New prototype.
	(hires_ms::usecs, hires_ms::msecs, hires_ms::uptime): Adjust.
	* (systime_ns): New helper function.
	(hires_ms::prime): Use it for more resolution.
	(hires_ms::usecs): Change to...
	(hires_ms::nsecs): ...with more resolution.
	(clock_gettime): Use more resolution.
	(systime): Rewrite in terms of systime_ns.
	(timespec_to_filetime): Rewrite math to reflect true operation.
	* (utimens_fs): Use higher resolution.


More information about the Cygwin-cvs mailing list