Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 May 2007 23:01:07 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Diomidis Spinellis <dds@aueb.gr>
Cc:        arch@FreeBSD.org, Robert Watson <rwatson@FreeBSD.org>, re@FreeBSD.org
Subject:   Re: Accounting changes 
Message-ID:  <21181.1178319667@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 05 May 2007 01:49:51 %2B0300." <463BB88F.4020804@aueb.gr> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <463BB88F.4020804@aueb.gr>, Diomidis Spinellis writes:
>Poul-Henning Kamp wrote:
>> In message <463B581E.6070804@aueb.gr>, Diomidis Spinellis writes:
>> 
>>> On modern processors the various time values were 0, because many 
>>> commands took less than 1/64s to execute [bde].  Now time values are 
>>> stored with microsecond precision as float numbers.(I've written code 
>>> that allows the kernel to write them without any floating point 
>>> operations.)
>> 
>> Why on earth introduce another time format ?
>> 
>> Please use a standard time format please.
>
>If we use struct timeval for the three time values the structure size 
>increases considerably (especially on an amd64).  Here are some numbers:
>
>i386
>Old size=48
>New size=64
>New size with timeval=76

that is a good argument.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21181.1178319667>