From owner-freebsd-arch@FreeBSD.ORG Fri May 4 23:01:13 2007 Return-Path: X-Original-To: arch@FreeBSD.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8536216A402; Fri, 4 May 2007 23:01:13 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 44ABE13C46A; Fri, 4 May 2007 23:01:13 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.64.2]) by phk.freebsd.dk (Postfix) with ESMTP id 4834517382; Fri, 4 May 2007 23:01:11 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.1/8.14.1) with ESMTP id l44N17lb021182; Fri, 4 May 2007 23:01:07 GMT (envelope-from phk@critter.freebsd.dk) To: Diomidis Spinellis From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sat, 05 May 2007 01:49:51 +0300." <463BB88F.4020804@aueb.gr> Date: Fri, 04 May 2007 23:01:07 +0000 Message-ID: <21181.1178319667@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: arch@FreeBSD.org, Robert Watson , re@FreeBSD.org Subject: Re: Accounting changes X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 23:01:13 -0000 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.