|
From: | Richard Henderson |
Subject: | Re: [PATCH 12/19] target/ppc/pmu_book3s_helper.c: enable PMC1 counter negative EBB |
Date: | Wed, 11 Aug 2021 18:45:36 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 8/11/21 5:39 PM, David Gibson wrote:
I mean, nothing is stopping us from calculating cycles using time, but in the end we would do the same thing we're already doing today.Oh.. ok. I had assumed that icount worked by instrumenting the generate TCG code to actually count instructions, rather than working off the time.
David, you're right, icount instruments the generated tcg code. You also have to add -icount to the command-line. r~
[Prev in Thread] | Current Thread | [Next in Thread] |