From: Keir Fraser Subject: Re: [PATCH 1/2] cpu steal time accounting Date: Thu, 23 Feb 2006 10:04:47 +0000 Message-ID: <8ae84a6b234b27d104c214e2a401e291@cl.cam.ac.uk> References: <43FCCB2C.5000408@vmware.com> <43FCFA9F.8080407@vmware.com> <9c33166283d6dd2f00e26eb8c15c977c@cl.cam.ac.uk> 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: <9c33166283d6dd2f00e26eb8c15c977c@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com, Dan Hecht List-Id: xen-devel@lists.xenproject.org On 23 Feb 2006, at 08:48, Keir Fraser wrote: >> 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? Ah, okay, I see that in fact it is. :-) Why not just have a halted_time instead? I think that's what we'd go for in Xen. -- Keir