public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb•de>
To: Anton Blanchard <anton@samba•org>
Cc: Bryan Rosenburg <rosnbrg@us•ibm.com>,
	linuxppc-dev@ozlabs•org, Nathan Lynch <ntl@pobox•com>,
	Paul Mackerras <paulus@samba•org>,
	Christopher Yeoh <cyeoh@samba•org>
Subject: Re: [PATCH 0/3] powerpc: Instrument Hypervisor Calls
Date: Sat, 15 Jul 2006 18:42:26 +0200	[thread overview]
Message-ID: <200607151842.27568.arnd@arndb.de> (raw)
In-Reply-To: <20060715153053.GK31081@krispykreme>

On Saturday 15 July 2006 17:30, Anton Blanchard wrote:
> > What happened to the question whether to use PURR values for also measuring
> > cycles spent executing the hcall as opposed to cycles that passed before
> > the hcall returns. Did that turn out not giving extra information after all
> > or was there a different reason to drop that idea?
> 
> You have to be careful with PURR since it may be context switched
> between partitions.
> 

Not sure I follow you. I would expect the PURR value to be restored after
a context switch, even if we continue on a different physical CPU.

The idea behind monitoring both PURR and timebase is that the difference
between the two tells you how long the partition was suspended during
the hcall.

	Arnd <><

  reply	other threads:[~2006-07-15 16:42 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-14 23:37 [PATCH 0/3] powerpc: Instrument Hypervisor Calls Mike Kravetz
2006-07-14 23:39 ` [PATCH 1/3] powerpc: Instrument Hypervisor Calls: merge headers Mike Kravetz
2006-07-14 23:40 ` [PATCH 2/3] powerpc: Instrument Hypervisor Calls: add wrappers Mike Kravetz
2006-07-15  0:15   ` Nathan Lynch
2006-07-15  0:41     ` Mike Kravetz
2006-07-15  8:03       ` Nathan Lynch
2006-07-14 23:41 ` [PATCH 3/3] powerpc: Instrument Hypervisor Calls: add debugfs files Mike Kravetz
2006-07-15  0:00 ` [PATCH 0/3] powerpc: Instrument Hypervisor Calls Arnd Bergmann
2006-07-15  0:06   ` Mike Kravetz
2006-07-15 15:30   ` Anton Blanchard
2006-07-15 16:42     ` Arnd Bergmann [this message]
2006-07-15 22:07       ` Anton Blanchard
2006-07-16 23:02         ` Luke Browning
2006-07-17  2:02     ` Luke Browning
2006-07-16  3:53   ` Olof Johansson
2006-07-16 22:53     ` Luke Browning
2006-07-16 23:09       ` Olof Johansson
  -- strict thread matches above, loose matches on Subject: below --
2006-07-21  6:38 Mike Kravetz
2006-07-18 20:47 Mike Kravetz
2006-07-18 21:00 ` Paul Mackerras
2006-07-19  3:36   ` Mike Kravetz
2006-07-19 22:11     ` Mike Kravetz
2006-07-18 21:29 ` Mike Kravetz
2006-07-18 22:38   ` Olof Johansson
2006-06-22 22:56 Mike Kravetz
2006-06-23  0:28 ` Segher Boessenkool
2006-07-10 20:35 ` Mike Kravetz
2006-07-10 20:49   ` Arnd Bergmann
2006-07-12 18:05   ` Mike Kravetz
2006-06-14  3:47 Mike Kravetz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200607151842.27568.arnd@arndb.de \
    --to=arnd@arndb$(echo .)de \
    --cc=anton@samba$(echo .)org \
    --cc=cyeoh@samba$(echo .)org \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=ntl@pobox$(echo .)com \
    --cc=paulus@samba$(echo .)org \
    --cc=rosnbrg@us$(echo .)ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox