From: Keir Fraser Subject: Re: [PATCH 1/2] cpu steal time accounting Date: Thu, 23 Feb 2006 08:48:00 +0000 Message-ID: <9c33166283d6dd2f00e26eb8c15c977c@cl.cam.ac.uk> References: <43FCCB2C.5000408@vmware.com> <43FCFA9F.8080407@vmware.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <43FCFA9F.8080407@vmware.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Hecht Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 22 Feb 2006, at 23:58, Dan Hecht wrote: > The interface does not provide a way for a vcpu to atomically read the > entire set of time values { wallclock time, real time counter, > available > time counter, stolen time counter }. While it seems that such a > mechanism might be "nice" to have in theory, it seems unnecessary in > practice. Indeed, real hardware rarely provides this functionality. > > One nice side effect of having this feature is that the explicit stolen > time counter (or available time counter) can be dropped entirely from > the interface, since its value can be inferred from the real time > counter and available time counter (or stolen time counter). I don't understand the last paragraph here. It's not true that, for example, available_time = real_time - stolen_time right? -- Keir