From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <17597.19430.983453.919592@cargo.ozlabs.ibm.com> Date: Wed, 19 Jul 2006 07:00:22 +1000 From: Paul Mackerras To: Mike Kravetz Subject: Re: [PATCH 0/3] powerpc: Instrument Hypervisor Calls In-Reply-To: <20060718204723.GA6104@w-mikek2.ibm.com> References: <20060718204723.GA6104@w-mikek2.ibm.com> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mike Kravetz writes: > A small update from the last version. By popular demand, both > wall time (mftb) and cpu cycles(PURR) are collected for each call. > It is interesting to see these two values side by side in the > output files. Did you see the patch from Anton that I posted a week or so ago, which reduces the number of plpar_hcall_* functions? I'd rather the instrumentation stuff was based on that. My other comment is this: wouldn't it actually turn out simpler if we read the timebase (and PURR, if we really want to do that too) in the assembly code that implements plpar_hcall_*? Paul.