[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-arm: Use common CPU cycle infrastructure
From: |
Christopher Covington |
Subject: |
Re: [Qemu-devel] [PATCH] target-arm: Use common CPU cycle infrastructure |
Date: |
Wed, 14 Oct 2015 08:10:52 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0 |
On 10/13/2015 04:53 PM, Peter Maydell wrote:
> On 24 September 2015 at 20:43, Christopher Covington <address@hidden> wrote:
>> cpu_get_ticks() provides a common interface across targets for
>> calculating CPU cycles. Using this fixes PMCCNTR reads when -icount
>> is specified (previously a non-increasing value was returned).
>>
>> Signed-off-by: Christopher Covington <address@hidden>
>> ---
>> target-arm/helper.c | 9 +++------
>> 1 file changed, 3 insertions(+), 6 deletions(-)
>
> So, I think the conclusion from this thread was that we should
> (a) change the default cpu_get_host_ticks() implementation to
> call get_clock()
> (b) rebase this patch and apply it
>
> Is anybody planning to do that?
It's not in my plans at the moment.
Thanks,
Christopher Covington
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project