-
Re: PMC events meaning
cwoolf Jan 24, 2019 2:39 PM (in response to jiepan)The instrument is data driven based on files we receive from the CPU architecture teams. If you think a description is incorrect for a given counter, then please file a bug report (bugreport.apple.com) with that counter and device in question, and we can fix up the database.
Most CPUs have a limited number of counter registers that can be programmed (configured) to count the events you see in that list. So while there are hundreds of possible events, you don't have hundreds of programmable registers to count them, so you're limited to however many the hardware supports each recording you take in Instruments. You can choose a different set of events for the next run, but the number of events you can record depends on how many programmable registers the CPU has. The FIXED events, however, have dedicated registers associated with them, so they don't count toward your register budget when configuring the instrument. So "FIXED_INSTRUCTIONS" is just the count of instructions executed, but it's held in one of these non-programmable registers so it's more or less free to record.
-
Re: PMC events meaning
jiepan Jan 24, 2019 11:26 PM (in response to cwoolf)Thank you, cwoolf,
"FIXED_INSTRUCTIONS" is just the count of instructions executed, how can I get count of instructions retired? Thanks!
-
Re: PMC events meaning
cwoolf Feb 7, 2019 1:26 PM (in response to jiepan)I'm sorry, I'm not sure. We'd have to find a person familiar with those counters on that family of CPU.
-
Re: PMC events meaning
jiepan Feb 12, 2019 7:34 PM (in response to cwoolf)Thanks! Looking forward to your reply
-
-
-