From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 21 11:24:16 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED87316A4CE for ; Fri, 21 Jan 2005 11:24:16 +0000 (GMT) Received: from smtpx.spintech.ro (smtpx.spintech.ro [81.181.24.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03F0B43D1F for ; Fri, 21 Jan 2005 11:24:15 +0000 (GMT) (envelope-from aanton@spintech.ro) Received: from smtpx.spintech.ro (antivirus [15.0.0.1]) by smtpx.spintech.ro (Postfix) with ESMTP id 3B3253A510; Fri, 21 Jan 2005 10:07:10 +0000 (UTC) Received: from [10.0.0.2] (beastie [10.0.0.2]) by smtpx.spintech.ro (Postfix) with ESMTP id 109DE3A509; Fri, 21 Jan 2005 10:07:10 +0000 (UTC) Message-ID: <41F0E6A0.6030600@spintech.ro> Date: Fri, 21 Jan 2005 13:25:20 +0200 From: Alin-Adrian Anton User-Agent: Mozilla Thunderbird 1.0 (X11/20041229) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Erich Dollansky , freebsd-hackers@freebsd.org References: <20050120004406.GF921@einstein.lab> <41EFBEA5.50007@spintech.ro> <41F0653D.2050408@pacific.net.sg> In-Reply-To: <41F0653D.2050408@pacific.net.sg> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Open-Source: www.opensource.org Subject: Re: clock time in milliseconds into a c program X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2005 11:24:17 -0000 Erich Dollansky wrote: > Hi, > > Alin-Adrian Anton wrote: > >> For this snippet (which deals with a B+tree) i got results of the form >> 0.3445866564 microseconds, which means 344.5867 miliseconds.. etc.. >> > You mixed the units up > > 1 second is 1 000 ms which is 1 000 000 µs which is 1 000 000 000 ns. > Yes I noticed. Sorry, been working. -- Alin-Adrian Anton GPG keyID 0x1E2FFF2E (2963 0C11 1AF1 96F6 0030 6EE9 D323 639D 1E2F FF2E) gpg --keyserver pgp.mit.edu --recv-keys 1E2FFF2E Never ask a man what OS he uses. If it's FreeBSD, he'll tell you. If it's not, why embarrass him? ..I'm sorry..