mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Since introducing the extra mapping in r250103 for architectural performance
events we have actually counted 'Branch Instruction Retired' when people asked for 'Unhalted core cycles' using the 'unhalted-core-cycles' event mask mnemonic. Reviewed by: jimharris Discussed with: gnn, rwatson MFC after: 3 days Sponsored by: DARPA/AFRL
This commit is contained in:
parent
41709d23c4
commit
c896236487
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272713
@ -1796,7 +1796,7 @@ iap_is_event_architectural(enum pmc_event pe, enum pmc_event *map)
|
||||
switch (pe) {
|
||||
case PMC_EV_IAP_ARCH_UNH_COR_CYC:
|
||||
ae = CORE_AE_UNHALTED_CORE_CYCLES;
|
||||
*map = PMC_EV_IAP_EVENT_C4H_00H;
|
||||
*map = PMC_EV_IAP_EVENT_3CH_00H;
|
||||
break;
|
||||
case PMC_EV_IAP_ARCH_INS_RET:
|
||||
ae = CORE_AE_INSTRUCTION_RETIRED;
|
||||
|
Loading…
Reference in New Issue
Block a user