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

Reply via email to