From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Otte Date: Fri, 11 Jul 2008 07:34:07 +0000 Subject: Re: [PATCH 2/5] kvmtrace: make cycle calculation architecture aware Message-Id: <48770CEF.6090102@de.ibm.com> List-Id: References: <1215439013-11480-1-git-send-email-ehrhardt@linux.vnet.ibm.com> <4874821F.4060509@linux.vnet.ibm.com> <1215615799.22935.1.camel@localhost.localdomain> <200807101822.16163.sheng.yang@intel.com> <48760F6D.5000709@qumranet.com> In-Reply-To: <48760F6D.5000709@qumranet.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Avi Kivity Cc: "Yang, Sheng" , kvm@vger.kernel.org, Hollis Blanchard , Christian Ehrhardt , xiantao.zhang@intel.com, kvm-ppc@vger.kernel.org Avi Kivity wrote: > What is the overhead of ktime_get()? I think I'd like an arch specific timestamp. This way we could use our clock-cycle-granularity-non-privileged-timestamp instruction ;-). If we need a common implementation, I don't think there's much difference between different syscalls in terms of overhead.