From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Are there any tools to calculate the cost of a VM exit Date: Tue, 07 Jun 2011 08:04:43 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: veerasena reddy , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 07/06/2011 07:33, "veerasena reddy" wrote: > Hi, > > I am looking to add a new hypercall to XEN-3.4.3 and invoke this new hypercall > very often (may be 50 to 500 thousands of times a sec) from a HVM guest. > I would like to see the cost of this to tradeoff with performance. > > Could you please advice if there are tools for this or any other method that i > can use? In the HVM guest: gettimeofday() (or RDTSC, or any other handy timestamp) gettimeofday() (or equiv, as above) -- Keir > Thanks in advance. > > Regards, > VSR. > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel