[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] reading time value in dom0 and domU kernels


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "sanjay kumar" <sanjay.kushwaha@xxxxxxxxx>
  • Date: Sun, 9 Apr 2006 15:19:03 +0000
  • Delivery-date: Sun, 09 Apr 2006 08:19:22 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=GQa7LPnchz19aRmXLffWvWLP2IhU0BMH84L7o7ehn/Sl/uWFdoJxU4RbU7mqmTyBSA+i73BdBarSXYTY6dW7DLV54Z+GZfP1i3rfjv5FZwjYiCfe2/hhNa7D5VE/YYotQ3be1l+tz8DpOGnipWccLMwZcHNbhdYqObkHYmtc7Es=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi Folks,
I want to calculate latency in transferring a buffer from domU kernel to dom0 kernel and vice versa. for that I need a time 'flavour' (cycle counter time?) which reads the same in dom0 and domU. Could someone please let me know if cycle counter time is the right time to use? if not then which one (system time or wall clock time)? Also could someone please tell me how to read to read this timer value.

if I use rdtsc() in both dom0 and domU, will it give me the same time value?

Thanks,
Sanjay
--
----------------------
PhD Student, Georgia Tech
http://www.cc.gatech.edu/~ksanjay/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.