From owner-freebsd-stable@FreeBSD.ORG Sun Mar 13 17:18:02 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1670E16A4CE for ; Sun, 13 Mar 2005 17:18:02 +0000 (GMT) Received: from mail.ticketswitch.com (mail.ticketswitch.com [194.200.93.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91C3E43D31 for ; Sun, 13 Mar 2005 17:18:01 +0000 (GMT) (envelope-from petefrench@ticketswitch.com) Received: from [172.16.1.6] (helo=dilbert.firstcallgroup.co.uk) by mail.ticketswitch.com with esmtp (Exim 4.50 (FreeBSD)) id 1DAWiv-000KdL-Fk; Sun, 13 Mar 2005 17:17:53 +0000 Received: from petefrench by dilbert.firstcallgroup.co.uk with local (Exim 4.43 (FreeBSD)) id 1DAWir-0002b2-8H; Sun, 13 Mar 2005 17:17:49 +0000 To: jilles@stack.nl, noackjr@alumni.rice.edu In-Reply-To: <20050313162533.GA14952@stack.nl> Message-Id: From: Pete French Date: Sun, 13 Mar 2005 17:17:49 +0000 cc: stable@FreeBSD.ORG cc: petefrench@ticketswitch.com Subject: Re: Just a sanity check before I sumbit a buig report X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2005 17:18:02 -0000 > getrusage(2) says that ru_ixrss is based on "statistics clock ticks" > with a frequency of sysconf(_SC_CLK_TCK). This cannot be right. Hmmmm... it was trying to interpret the results from getrusage which lead me to finding the bug. I notice that /usr/bin/time does a sysctl to get the clock rate in order to interpret the return values from getrusage. -pcf.