From owner-freebsd-current@FreeBSD.ORG Thu Jan 26 06:06:45 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66A6E16A420; Thu, 26 Jan 2006 06:06:45 +0000 (GMT) (envelope-from ianf@hetzner.co.za) Received: from mail1a.your-server.co.za (mail1a.your-server.co.za [196.7.18.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC0AE43D46; Thu, 26 Jan 2006 06:06:44 +0000 (GMT) (envelope-from ianf@hetzner.co.za) Received: from [196.7.18.226] (helo=hetzner.co.za) by mail1a.your-server.co.za with esmtp (Exim 4.54) id 1F20HI-0000P9-31; Thu, 26 Jan 2006 08:06:40 +0200 Received: from localhost ([127.0.0.1]) by hetzner.co.za with esmtp (Exim 4.51 (FreeBSD)) id 1F20HI-000IRb-0x; Thu, 26 Jan 2006 08:06:40 +0200 To: "Poul-Henning Kamp" From: Ian FREISLICH In-reply-to: Your message of "Wed, 25 Jan 2006 20:09:54 +0100." <19559.1138216194@critter.freebsd.dk> X-Attribution: BOFH Date: Thu, 26 Jan 2006 08:06:40 +0200 Sender: ianf@hetzner.co.za Message-Id: X-Virus-Scanned: Clear (ClamAV 0.88/1251/Thu Jan 26 02:25:09 2006) Cc: Alexander Leidinger , current@freebsd.org, arch@freebsd.org Subject: Re: [TEST/REVIEW] CPU accounting patches X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 06:06:45 -0000 "Poul-Henning Kamp" wrote: > In message , Ian FREISLICH writes: > > >"One second's worth of the computer's processing time, which is > >based on actual machine cycles used, not calendar time." ? > > > >Is the getrusage() manual page out of date? > > Yes. > > It was written before anybody had gotten the rather weird idea to > have a CPU change frequency. Back then it was all about running > as fast as possible all the time. > > We are therefore forced to try to divine the intent behind the text, > and as somebody who were around back in the eighties I can testify > that the intent was to be able to bill computer users for CPU > instructions. I wonder how many people still bill for CPU time? I'd go for the faster context switches. Ian -- Ian Freislich