From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNPY6-00040h-7C for qemu-devel@nongnu.org; Thu, 06 Aug 2015 14:05:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNPY3-0002LW-1Y for qemu-devel@nongnu.org; Thu, 06 Aug 2015 14:05:50 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:57638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNPY2-0002Ku-Ry for qemu-devel@nongnu.org; Thu, 06 Aug 2015 14:05:46 -0400 Message-ID: <55C3A1F5.4090001@codeaurora.org> Date: Thu, 06 Aug 2015 14:05:41 -0400 From: Christopher Covington MIME-Version: 1.0 References: <55C243CB.8080801@codeaurora.org> In-Reply-To: <55C243CB.8080801@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Logging number of translated instructions per basic block List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Carno , qemu-devel@nongnu.org On 08/05/2015 01:11 PM, Christopher Covington wrote: > Hi Anthony, > > On 07/28/2015 05:20 PM, Anthony Carno wrote: >> Hi there, >> >> As the subject of my email suggests, is there a way to log the number of >> translated instructions per basic block? I've dug into the debug code a bit >> (specifically /target_disas /and the arch-specific /print_insn_*/) and haven't >> found anything that would suggest this is doable, but before I go and move on >> to my plan B (which is devising a plan C haha), I'd like to ask and make sure >> I'm not missing something. Thank you! Perhaps a better answer than my previous one is cpu_get_ticks() when -icount is used: https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg00162.html Christopher Covington -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project