From owner-freebsd-current@FreeBSD.ORG Thu Feb 23 15:32:08 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 36D7916A420 for ; Thu, 23 Feb 2006 15:32:08 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7D4C43D46 for ; Thu, 23 Feb 2006 15:32:07 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 2E65746BAE; Thu, 23 Feb 2006 10:31:50 -0500 (EST) Date: Thu, 23 Feb 2006 15:36:01 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Andrew Gallatin In-Reply-To: <17405.53911.686306.362353@grasshopper.cs.duke.edu> Message-ID: <20060223153135.C9642@fledge.watson.org> References: <20060223143856.O9642@fledge.watson.org> <17405.53911.686306.362353@grasshopper.cs.duke.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@FreeBSD.org Subject: Re: The sixty second pmc howto 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, 23 Feb 2006 15:32:08 -0000 On Thu, 23 Feb 2006, Andrew Gallatin wrote: > Robert Watson writes: > > > (2) Run "pmcstat -S instructions -O /tmp/sample.out" to start sampling of > > instruction retirement events, saving the results to /tmp/sample.out. > > Dumb question, but what does "instructions" really mean? The number of > instructions, the time spent executing them, ? pmcstat magically translates 'instructions' into 'p4-instr-retired', which might well refer to what happens to an instruction when it is believed to have successfully executed. Presumably this happens once you know it hasn't been mispredicted, etc, but I'm sure someone can give a better and more detailed answer. Robert N M Watson