From owner-freebsd-questions@FreeBSD.ORG Wed May 30 17:34:17 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5DE4C16A4C6 for ; Wed, 30 May 2007 17:34:17 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.freebsd.org (Postfix) with ESMTP id 6471313C51B for ; Wed, 30 May 2007 17:34:12 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 4BB795E7C; Wed, 30 May 2007 13:34:08 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yG71ZX9MreFL; Wed, 30 May 2007 13:34:06 -0400 (EDT) Received: from [192.168.1.3] (pool-71-190-78-62.nycmny.east.verizon.net [71.190.78.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 81E125D06; Wed, 30 May 2007 13:34:06 -0400 (EDT) Message-ID: <465DB587.6010109@mac.com> Date: Wed, 30 May 2007 13:33:59 -0400 From: Chuck Swiger User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Akihiro KAYAMA References: <20070528.154753.32719103.kayama@personal-media.co.jp> In-Reply-To: <20070528.154753.32719103.kayama@personal-media.co.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: wall-clock time profiling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2007 17:34:17 -0000 Akihiro KAYAMA wrote: > Hi all. > > What is the right way to measure wall-clock time in profiling on FreeBSD? The time shell builtin command or "/usr/bin/time -l _program_"? The latter variant displays the rusage struct (ie, from "man getrusage")? -- -Chuck