|
From: | Richard Henderson |
Subject: | Re: [PATCH v2 1/5] target/ppc: Cache per-pmc insn and cycle count settings |
Date: | Mon, 3 Jan 2022 13:26:32 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 |
On 1/3/22 10:53 AM, Daniel Henrique Barboza wrote:
+ /* Composite status for PMC[1-5] enabled and counting insns or cycles. */ + uint8_t pmc_ins_cnt; + uint8_t pmc_cyc_cnt;
I should have updated the comment to 1-6 when I added cyc_cnt.
+ sel = extract64(mmcr1, MMCR1_PMC4EVT_EXTR, MMCR1_EVT_SIZE); + ins_cnt |= ((sel == 0xfa) || (sel == 0x2)) << 4;
Ah, thanks for fixing my typo. r~
[Prev in Thread] | Current Thread | [Next in Thread] |