delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/06/29/15:56:07

Message-Id: <m0yqjBg-000S2iC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com
Date: Mon, 29 Jun 1998 16:08:17 +0000
MIME-Version: 1.0
Subject: Re: Windows 9X/NT file times
In-reply-to: <Pine.SUN.3.91.980629200514.4204A-100000@is>

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:

> Here's a sample output from my version of Windows 95:
> 
>      Statistics:   	   average           min              max
>    -----------------------------------------------------------------------
>    Creation time   	     +203msec	       +0msec	   +1.200sec
>    Last-access time	+16514.577sec	-71144.000sec	-71131.000sec
>    Last-write time 	     -997msec	   -1.989sec	      -49msec

And here is one from v4.00.1111:

  Statistics:   	   average           min              max
-----------------------------------------------------------------------
Creation time   	       +0msec	       +0msec	      +30msec
Last-access time	-13895.720sec	-57727.000sec	-57716.000sec
Last-write time 	     +956msec	       +0msec	   +1.981sec

The last row is clearly because the OS have 2s granularity so in average it have 
1s and in extreme cases 0 and 2s. Don't know why ever positive because you are 
sampling the time *after* the operation. Perhaps is related to the Windows
cache architecture. Perhaps they are using some write delay (like in UNIX) instead
of cache but M$ didn't take care about the time thing.

SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019