|
|
| |
PMC.HASWELL(3) |
FreeBSD Library Functions Manual |
PMC.HASWELL(3) |
pmc.haswell —
measurement events for Intel Haswell family CPUs
Performance Counters Library (libpmc, -lpmc)
Intel Haswell CPUs contain PMCs conforming to version 2 of the Intel performance
measurement architecture. These CPUs may contain up to two classes of PMCs:
PMC_CLASS_IAF
- Fixed-function counters that count only one hardware event per
counter.
PMC_CLASS_IAP
- Programmable counters that may be configured to count one of a defined set
of hardware events.
The number of PMCs available in each class and their widths need
to be determined at run time by calling
pmc_cpuinfo(3).
Intel Haswell PMCs are documented in
Combined Volumes: 1, 2A, 2B, 2C, 3A, 3B
and 3C, Intel(R) 64 and IA-32 Architectures Software
Developer's Manual, Order Number: 325462-045US,
Intel Corporation, January
2013.
These PMCs and their supported events are documented in
pmc.iaf(3).
The programmable PMCs support the following capabilities:
Capability |
Support |
PMC_CAP_CASCADE |
No |
PMC_CAP_EDGE |
Yes |
PMC_CAP_INTERRUPT |
Yes |
PMC_CAP_INVERT |
Yes |
PMC_CAP_READ |
Yes |
PMC_CAP_PRECISE |
No |
PMC_CAP_SYSTEM |
Yes |
PMC_CAP_TAGGING |
No |
PMC_CAP_THRESHOLD |
Yes |
PMC_CAP_USER |
Yes |
PMC_CAP_WRITE |
Yes |
Event specifiers for these PMCs support the following common qualifiers:
rsp= value
- Configure the Off-core Response bits.
DMND_DATA_RD
- Counts the number of demand and DCU prefetch data reads of full and
partial cachelines as well as demand data page table entry cacheline
reads. Does not count L2 data read prefetches or instruction
fetches.
REQ_DMND_RFO
- Counts the number of demand and DCU prefetch reads for ownership (RFO)
requests generated by a write to data cacheline. Does not count L2 RFO
prefetches.
REQ_DMND_IFETCH
- Counts the number of demand and DCU prefetch instruction cacheline
reads. Does not count L2 code read prefetches.
REQ_WB
- Counts the number of writeback (modified to exclusive)
transactions.
REQ_PF_DATA_RD
- Counts the number of data cacheline reads generated by L2
prefetchers.
REQ_PF_RFO
- Counts the number of RFO requests generated by L2 prefetchers.
REQ_PF_IFETCH
- Counts the number of code reads generated by L2 prefetchers.
REQ_PF_LLC_DATA_RD
- L2 prefetcher to L3 for loads.
REQ_PF_LLC_RFO
- RFO requests generated by L2 prefetcher
REQ_PF_LLC_IFETCH
- L2 prefetcher to L3 for instruction fetches.
REQ_BUS_LOCKS
- Bus lock and split lock requests.
REQ_STRM_ST
- Streaming store requests.
REQ_OTHER
- Any other request that crosses IDI, including I/O.
RES_ANY
- Catch all value for any response types.
RES_SUPPLIER_NO_SUPP
- No Supplier Information available.
RES_SUPPLIER_LLC_HITM
- M-state initial lookup stat in L3.
RES_SUPPLIER_LLC_HITE
- E-state.
RES_SUPPLIER_LLC_HITS
- S-state.
RES_SUPPLIER_LLC_HITF
- F-state.
RES_SUPPLIER_LOCAL
- Local DRAM Controller.
RES_SNOOP_SNP_NONE
- No details on snoop-related information.
RES_SNOOP_SNP_NO_NEEDED
- No snoop was needed to satisfy the request.
RES_SNOOP_SNP_MISS
- A snoop was needed and it missed all snooped caches: -For LLC Hit,
ReslHitl was returned by all cores -For LLC Miss, Rspl was returned by
all sockets and data was returned from DRAM.
RES_SNOOP_HIT_NO_FWD
- A snoop was needed and it hits in at least one snooped cache. Hit
denotes a cache-line was valid before snoop effect. This includes:
-Snoop Hit w/ Invalidation (LLC Hit, RFO) -Snoop Hit, Left Shared (LLC
Hit/Miss, IFetch/Data_RD) -Snoop Hit w/ Invalidation and No Forward
(LLC Miss, RFO Hit S) In the LLC Miss case, data is returned from
DRAM.
RES_SNOOP_HIT_FWD
- A snoop was needed and data was forwarded from a remote socket. This
includes: -Snoop Forward Clean, Left Shared (LLC Hit/Miss,
IFetch/Data_RD/RFT).
RES_SNOOP_HITM
- A snoop was needed and it HitM-ed in local or remote cache. HitM
denotes a cache-line was in modified state before effect as a results
of snoop. This includes: -Snoop HitM w/ WB (LLC miss, IFetch/Data_RD)
-Snoop Forward Modified w/ Invalidation (LLC Hit/Miss, RFO) -Snoop
MtoS (LLC Hit, IFetch/Data_RD).
RES_NON_DRAM
- Target was non-DRAM system address. This includes MMIO
transactions.
cmask= value
- Configure the PMC to increment only if the number of configured events
measured in a cycle is greater than or equal to
value.
edge
- Configure the PMC to count the number of de-asserted to asserted
transitions of the conditions expressed by the other qualifiers. If
specified, the counter will increment only once whenever a condition
becomes true, irrespective of the number of clocks during which the
condition remains true.
inv
- Invert the sense of comparison when the
“
cmask ” qualifier is present, making
the counter increment when the number of events per cycle is less than the
value specified by the “cmask ”
qualifier.
os
- Configure the PMC to count events happening at processor privilege level
0.
usr
- Configure the PMC to count events occurring at privilege levels 1, 2 or
3.
If neither of the “os ” or
“usr ” qualifiers are specified, the
default is to enable both.
Haswell programmable PMCs support the following events:
LD_BLOCKS.STORE_FORWARD
- (Event 03H, Umask 02H) Loads blocked by overlapping with store buffer that
cannot be forwarded.
MISALIGN_MEM_REF.LOADS
- (Event 05H, Umask 01H) Speculative cache-line split load uops dispatched
to L1D.
MISALIGN_MEM_REF.STORES
- (Event 05H, Umask 02H) Speculative cache-line split Store-address uops
dispatched to L1D.
LD_BLOCKS_PARTIAL.ADDRESS_ALIAS
- (Event 07H, Umask 01H) False dependencies in MOB due to partial compare on
address.
DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK
- (Event 08H, Umask 01H) Misses in all TLB levels that cause a page walk of
any page size.
DTLB_LOAD_MISSES.WALK_COMPLETED_4K
- (Event 08H, Umask 02H) Completed page walks due to demand load misses that
caused 4K page walks in any TLB levels.
DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4K
- (Event 08H, Umask 02H) Completed page walks due to demand load misses that
caused 2M/4M page walks in any TLB levels.
DTLB_LOAD_MISSES.WALK_COMPLETED
- (Event 08H, Umask 0EH) Completed page walks in any TLB of any page size
due to demand load misses
DTLB_LOAD_MISSES.WALK_DURATION
- (Event 08H, Umask 10H) Cycle PMH is busy with a walk.
DTLB_LOAD_MISSES.STLB_HIT_4K
- (Event 08H, Umask 20H) Load misses that missed DTLB but hit STLB
(4K).
DTLB_LOAD_MISSES.STLB_HIT_2M
- (Event 08H, Umask 40H) Load misses that missed DTLB but hit STLB
(2M).
DTLB_LOAD_MISSES.STLB_HIT
- (Event 08H, Umask 60H) Number of cache load STLB hits. No page walk.
DTLB_LOAD_MISSES.PDE_CACHE_MISS
- (Event 08H, Umask 80H) DTLB demand load misses with low part of linear-to-
physical address translation missed
INT_MISC.RECOVERY_CYCLES
- (Event 0DH, Umask 03H) Cycles waiting to recover after Machine Clears
except JEClear. Set Cmask= 1.
UOPS_ISSUED.ANY
- (Event 0EH, Umask 01H) ncrements each cycle the # of Uops issued by the
RAT to RS. Set Cmask = 1, Inv = 1, Any= 1to count stalled cycles of this
core.
UOPS_ISSUED.FLAGS_MERGE
- (Event 0EH, Umask 10H) Number of flags-merge uops allocated. Such uops
adds delay.
UOPS_ISSUED.SLOW_LEA
- (Event 0EH, Umask 20H) Number of slow LEA or similar uops allocated. Such
uop has 3 sources (e.g. 2 sources + immediate) regardless if as a result
of LEA instruction or not.
UOPS_ISSUED.SiNGLE_MUL
- (Event 0EH, Umask 40H) Number of multiply packed/scalar single precision
uops allocated.
L2_RQSTS.DEMAND_DATA_RD_MISS
- (Event 24H, Umask 21H) Demand Data Read requests that missed L2, no
rejects.
L2_RQSTS.DEMAND_DATA_RD_HIT
- (Event 24H, Umask 41H) Demand Data Read requests that hit L2 cache.
L2_RQSTS.ALL_DEMAND_DATA_RD
- (Event 24H, Umask E1H) Counts any demand and L1 HW prefetch data load
requests to L2.
L2_RQSTS.RFO_HIT
- (Event 24H, Umask 42H) Counts the number of store RFO requests that hit
the L2 cache.
L2_RQSTS.RFO_MISS
- (Event 24H, Umask 22H) Counts the number of store RFO requests that miss
the L2 cache.
L2_RQSTS.ALL_RFO
- (Event 24H, Umask E2H) Counts all L2 store RFO requests.
L2_RQSTS.CODE_RD_HIT
- (Event 24H, Umask 44H) Number of instruction fetches that hit the L2
cache.
L2_RQSTS.CODE_RD_MISS
- (Event 24H, Umask 24H) Number of instruction fetches that missed the L2
cache.
L2_RQSTS.ALL_DEMAND_MISS
- (Event 24H, Umask 27H) Demand requests that miss L2 cache.
L2_RQSTS.ALL_DEMAND_REFERENCES
- (Event 24H, Umask E7H) Demand requests to L2 cache.
L2_RQSTS.ALL_CODE_RD
- (Event 24H, Umask E4H) Counts all L2 code requests.
L2_RQSTS.L2_PF_HIT
- (Event 24H, Umask 50H) Counts all L2 HW prefetcher requests that hit
L2.
L2_RQSTS.L2_PF_MISS
- (Event 24H, Umask 30H) Counts all L2 HW prefetcher requests that missed
L2.
L2_RQSTS.ALL_PF
- (Event 24H, Umask F8H) Counts all L2 HW prefetcher requests.
L2_RQSTS.MISS
- (Event 24H, Umask 3FH) All requests that missed L2.
L2_RQSTS.REFERENCES
- (Event 24H, Umask FFH) All requests to L2 cache.
L2_DEMAND_RQSTS.WB_HIT
- (Event 27H, Umask 50H) Not rejected writebacks that hit L2 cache
LONGEST_LAT_CACHE.REFERENCE
- (Event 2EH, Umask 4FH) This event counts requests originating from the
core that reference a cache line in the last level cache.
LONGEST_LAT_CACHE.MISS
- (Event 2EH, Umask 41H) This event counts each cache miss condition for
references to the last level cache.
CPU_CLK_UNHALTED.THREAD_P
- (Event 3CH, Umask 00H) Counts the number of thread cycles while the thread
is not in a halt state. The thread enters the halt state when it is
running the HLT instruction. The core frequency may change from time to
time due to power or thermal throttling.
CPU_CLK_THREAD_UNHALTED.REF_XCLK
- (Event 3CH, Umask 01H) Increments at the frequency of XCLK (100 MHz) when
not halted.
L1D_PEND_MISS.PENDING
- (Event 48H, Umask 01H) Increments the number of outstanding L1D misses
every cycle. Set Cmaks = 1 and Edge =1 to count occurrences.
DTLB_STORE_MISSES.MISS_CAUSES_A_WALK
- (Event 49H, Umask 01H) Miss in all TLB levels causes an page walk of any
page size (4K/2M/4M/1G).
DTLB_STORE_MISSES.WALK_COMPLETED_4K
- (Event 49H, Umask 02H) Completed page walks due to store misses in one or
more TLB levels of 4K page structure.
DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M
- (Event 49H, Umask 04H) Completed page walks due to store misses in one or
more TLB levels of 2M/4M page structure.
DTLB_STORE_MISSES.WALK_COMPLETED
- (Event 49H, Umask 0EH) Completed page walks due to store miss in any TLB
levels of any page size (4K/2M/4M/1G).
DTLB_STORE_MISSES.WALK_DURATION
- (Event 49H, Umask 10H) Cycles PMH is busy with this walk.
DTLB_STORE_MISSES.STLB_HIT_4K
- (Event 49H, Umask 20H) Store misses that missed DTLB but hit STLB
(4K).
DTLB_STORE_MISSES.STLB_HIT_2M
- (Event 49H, Umask 40H) Store misses that missed DTLB but hit STLB
(2M).
DTLB_STORE_MISSES.STLB_HIT
- (Event 49H, Umask 60H) Store operations that miss the first TLB level but
hit the second and do not cause page walks.
DTLB_STORE_MISSES.PDE_CACHE_MISS
- (Event 49H, Umask 80H) DTLB store misses with low part of
linear-to-physical address translation missed.
LOAD_HIT_PRE.SW_PF
- (Event 4CH, Umask 01H) Non-SW-prefetch load dispatches that hit fill
buffer allocated for S/W prefetch.
LOAD_HIT_PRE.HW_PF
- (Event 4CH, Umask 02H) Non-SW-prefetch load dispatches that hit fill
buffer allocated for H/W prefetch.
L1D.REPLACEMENT
- (Event 51H, Umask 01H) Counts the number of lines brought into the L1 data
cache.
MOVE_ELIMINATION.INT_NOT_ELIMINATED
- (Event 58H, Umask 04H) Number of integer Move Elimination candidate uops
that were not eliminated.
MOVE_ELIMINATION.SMID_NOT_ELIMINATED
- (Event 58H, Umask 08H) Number of SIMD Move Elimination candidate uops that
were not eliminated.
MOVE_ELIMINATION.INT_ELIMINATED
- (Event 58H, Umask 01H) Unhalted core cycles when the thread is in ring
0.
MOVE_ELIMINATION.SMID_ELIMINATED
- (Event 58H, Umask 02H) Number of SIMD Move Elimination candidate uops that
were eliminated.
CPL_CYCLES.RING0
- (Event 5CH, Umask 02H) Unhalted core cycles when the thread is in ring
0.
CPL_CYCLES.RING123
- (Event 5CH, Umask 01H) Unhalted core cycles when the thread is not in ring
0.
RS_EVENTS.EMPTY_CYCLES
- (Event 5EH, Umask 01H) Cycles the RS is empty for the thread.
OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD
- (Event 60H, Umask 01H) Offcore outstanding Demand Data Read transactions
in SQ to uncore. Set Cmask=1 to count cycles.
OFFCORE_REQUESTS_OUTSTANDING.DEMAND_CORE_RD
- (Event 60H, Umask 02H) Offcore outstanding Demand code Read transactions
in SQ to uncore. Set Cmask=1 to count cycles.
OFFCORE_REQUESTS_OUTSTANDING.DEMAND_RFO
- (Event 60H, Umask 04H) Offcore outstanding RFO store transactions in SQ to
uncore. Set Cmask=1 to count cycles.
OFFCORE_REQUESTS_OUTSTANDING.ALL_DATA_RD
- (Event 60H, Umask 08H) Offcore outstanding cacheable data read
transactions in SQ to uncore. Set Cmask=1 to count cycles.
LOCK_CYCLES.SPLIT_LOCK_UC_LOCK_DURATION
- (Event 63H, Umask 01H) Cycles in which the L1D and L2 are locked, due to a
UC lock or split lock.
LOCK_CYCLES.CACHE_LOCK_DURATION
- (Event 63H, Umask 02H) Cycles in which the L1D is locked.
IDQ.EMPTY
- (Event 79H, Umask 02H) Counts cycles the IDQ is empty.
IDQ.MITE_UOPS
- (Event 79H, Umask 04H) Increment each cycle # of uops delivered to IDQ
from MITE path. Set Cmask = 1 to count cycles.
IDQ.DSB_UOPS
- (Event 79H, Umask 08H) Increment each cycle. # of uops delivered to IDQ
from DSB path. Set Cmask = 1 to count cycles.
IDQ.MS_DSB_UOPS
- (Event 79H, Umask 10H) Increment each cycle # of uops delivered to IDQ
when MS_busy by DSB. Set Cmask = 1 to count cycles. Add Edge=1 to count #
of delivery.
IDQ.MS_MITE_UOPS
- (Event 79H, Umask 20H) ncrement each cycle # of uops delivered to IDQ when
MS_busy by MITE. Set Cmask = 1 to count cycles.
IDQ.MS_UOPS
- (Event 79H, Umask 30H) Increment each cycle # of uops delivered to IDQ
from MS by either DSB or MITE. Set Cmask = 1 to count cycles.
IDQ.ALL_DSB_CYCLES_ANY_UOPS
- (Event 79H, Umask 18H) Counts cycles DSB is delivered at least one uops.
Set Cmask = 1.
IDQ.ALL_DSB_CYCLES_4_UOPS
- (Event 79H, Umask 18H) Counts cycles DSB is delivered four uops. Set
Cmask=4.
IDQ.ALL_MITE_CYCLES_ANY_UOPS
- (Event 79H, Umask 24H) Counts cycles MITE is delivered at least one uops.
Set Cmask = 1.
IDQ.ALL_MITE_CYCLES_4_UOPS
- (Event 79H, Umask 24H) Counts cycles MITE is delivered four uops. Set
Cmask =4.
IDQ.MITE_ALL_UOPS
- (Event 79H, Umask 3CH) # of uops delivered to IDQ from any path.
ICACHE.MISSES
- (Event 80H, Umask 02H) Number of Instruction Cache, Streaming Buffer and
Victim Cache Misses. Includes UC accesses.
ITLB_MISSES.MISS_CAUSES_A_WALK
- (Event 85H, Umask 01H) Misses in ITLB that causes a page walk of any page
size.
ITLB_MISSES.WALK_COMPLETED_4K
- (Event 85H, Umask 02H) Completed page walks due to misses in ITLB 4K page
entries.
TLB_MISSES.WALK_COMPLETED_2M_4M
- (Event 85H, Umask 04H) Completed page walks due to misses in ITLB 2M/4M
page entries.
ITLB_MISSES.WALK_COMPLETED
- (Event 85H, Umask 0EH) Completed page walks in ITLB of any page size.
ITLB_MISSES.WALK_DURATION
- (Event 85H, Umask 10H) Cycle PMH is busy with a walk.
ITLB_MISSES.STLB_HIT_4K
- (Event 85H, Umask 20H) ITLB misses that hit STLB (4K).
ITLB_MISSES.STLB_HIT_2M
- (Event 85H, Umask 40H) ITLB misses that hit STLB (2K).
ITLB_MISSES.STLB_HIT
- (Event 85H, Umask 60H) TLB misses that hit STLB. No page walk.
ILD_STALL.LCP
- (Event 87H, Umask 01H) Stalls caused by changing prefix length of the
instruction.
ILD_STALL.IQ_FULL
- (Event 87H, Umask 04H) Stall cycles due to IQ is full.
BR_INST_EXEC.NONTAKEN_COND
- (Event 88H, Umask 41H) Count conditional near branch instructions that
were executed (but not necessarily retired) and not taken.
BR_INST_EXEC.TAKEN_COND
- (Event 88H, Umask 81H) Count conditional near branch instructions that
were executed (but not necessarily retired) and taken.
BR_INST_EXEC.DIRECT_JMP
- (Event 88H, Umask 82H) Count all unconditional near branch instructions
excluding calls and indirect branches.
BR_INST_EXEC.INDIRECT_JMP_NON_CALL_RET
- (Event 88H, Umask 84H) Count executed indirect near branch instructions
that are not calls nor returns.
BR_INST_EXEC.RETURN_NEAR
- (Event 88H, Umask 88H) Count indirect near branches that have a return
mnemonic.
BR_INST_EXEC.DIRECT_NEAR_CALL
- (Event 88H, Umask 90H) Count unconditional near call branch instructions,
excluding non call branch, executed.
BR_INST_EXEC.INDIRECT_NEAR_CALL
- (Event 88H, Umask A0H) Count indirect near calls, including both register
and memory indirect, executed.
BR_INST_EXEC.ALL_BRANCHES
- (Event 88H, Umask FFH) Counts all near executed branches (not necessarily
retired).
BR_MISP_EXEC.NONTAKEN_COND
- (Event 89H, Umask 41H) Count conditional near branch instructions
mispredicted as nontaken.
BR_MISP_EXEC.TAKEN_COND
- (Event 89H, Umask 81H) Count conditional near branch instructions
mispredicted as taken.
BR_MISP_EXEC.INDIRECT_JMP_NON_CALL_RET
- (Event 89H, Umask 84H) Count mispredicted indirect near branch
instructions that are not calls nor returns.
BR_MISP_EXEC.RETURN_NEAR
- (Event 89H, Umask 88H) Count mispredicted indirect near branches that have
a return mnemonic.
BR_MISP_EXEC.DIRECT_NEAR_CALL
- (Event 89H, Umask 90H) Count mispredicted unconditional near call branch
instructions, excluding non call branch, executed.
BR_MISP_EXEC.INDIRECT_NEAR_CALL
- (Event 89H, Umask A0H) Count mispredicted indirect near calls, including
both register and memory indirect, executed.
BR_MISP_EXEC.ALL_BRANCHES
- (Event 89H, Umask FFH) Counts all mispredicted near executed branches (not
necessarily retired).
IDQ_UOPS_NOT_DELIVERED.CORE
- (Event 9CH, Umask 01H) Count number of non-delivered uops to RAT per
thread.
UOPS_EXECUTED_PORT.PORT_0
- (Event A1H, Umask 01H) Cycles which a Uop is dispatched on port 0 in this
thread.
UOPS_EXECUTED_PORT.PORT_1
- (Event A1H, Umask 02H) Cycles which a Uop is dispatched on port 1 in this
thread.
UOPS_EXECUTED_PORT.PORT_2
- (Event A1H, Umask 04H) Cycles which a Uop is dispatched on port 2 in this
thread.
UOPS_EXECUTED_PORT.PORT_3
- (Event A1H, Umask 08H) Cycles which a Uop is dispatched on port 3 in this
thread.
UOPS_EXECUTED_PORT.PORT_4
- (Event A1H, Umask 10H) Cycles which a Uop is dispatched on port 4 in this
thread.
UOPS_EXECUTED_PORT.PORT_5
- (Event A1H, Umask 20H) Cycles which a Uop is dispatched on port 5 in this
thread.
UOPS_EXECUTED_PORT.PORT_6
- (Event A1H, Umask 40H) Cycles which a Uop is dispatched on port 6 in this
thread.
UOPS_EXECUTED_PORT.PORT_7
- (Event A1H, Umask 80H) Cycles which a Uop is dispatched on port 7 in this
thread.
RESOURCE_STALLS.ANY
- (Event A2H, Umask 01H) Cycles Allocation is stalled due to Resource
Related reason.
RESOURCE_STALLS.RS
- (Event A2H, Umask 04H) Cycles stalled due to no eligible RS entry
available.
RESOURCE_STALLS.SB
- (Event A2H, Umask 08H) Cycles stalled due to no store buffers available
(not including draining form sync).
RESOURCE_STALLS.ROB
- (Event A2H, Umask 10H) Cycles stalled due to re-order buffer full.
CYCLE_ACTIVITY.CYCLES_L2_PENDING
- (Event A3H, Umask 01H) Cycles with pending L2 miss loads. Set Cmask=2 to
count cycle.
CYCLE_ACTIVITY.CYCLES_LDM_PENDING
- (Event A3H, Umask 02H) Cycles with pending memory loads. Set Cmask=2 to
count cycle.
CYCLE_ACTIVITY.STALLS_L2_PENDING
- (Event A3H, Umask 05H) Number of loads missed L2.
CYCLE_ACTIVITY.CYCLES_L1D_PENDING
- (Event A3H, Umask 08H) Cycles with pending L1 cache miss loads. Set
Cmask=8 to count cycle.
ITLB.ITLB_FLUSH
- (Event AEH, Umask 01H) Counts the number of ITLB flushes, includes
4k/2M/4M pages.
OFFCORE_REQUESTS.DEMAND_DATA_RD
- (Event B0H, Umask 01H) Demand data read requests sent to uncore.
OFFCORE_REQUESTS.DEMAND_CODE_RD
- (Event B0H, Umask 02H) Demand code read requests sent to uncore.
OFFCORE_REQUESTS.DEMAND_RFO
- (Event B0H, Umask 04H) Demand RFO read requests sent to uncore, including
regular RFOs, locks, ItoM.
OFFCORE_REQUESTS.ALL_DATA_RD
- (Event B0H, Umask 08H) Data read requests sent to uncore (demand and
prefetch).
UOPS_EXECUTED.CORE
- (Event B1H, Umask 02H) Counts total number of uops to be executed per-core
each cycle.
OFF_CORE_RESPONSE_0
- (Event B7H, Umask 01H) Requires MSR 01A6H
OFF_CORE_RESPONSE_1
- (Event BBH, Umask 01H) Requires MSR 01A7H
PAGE_WALKER_LOADS.DTLB_L1
- (Event BCH, Umask 11H) Number of DTLB page walker loads that hit in the
L1+FB.
PAGE_WALKER_LOADS.ITLB_L1
- (Event BCH, Umask 21H) Number of ITLB page walker loads that hit in the
L1+FB.
PAGE_WALKER_LOADS.DTLB_L2
- (Event BCH, Umask 12H) Number of DTLB page walker loads that hit in the
L2.
PAGE_WALKER_LOADS.ITLB_L2
- (Event BCH, Umask 22H) Number of ITLB page walker loads that hit in the
L2.
PAGE_WALKER_LOADS.DTLB_L3
- (Event BCH, Umask 14H) Number of DTLB page walker loads that hit in the
L3.
PAGE_WALKER_LOADS.ITLB_L3
- (Event BCH, Umask 24H) Number of ITLB page walker loads that hit in the
L3.
PAGE_WALKER_LOADS.DTLB_MEMORY
- (Event BCH, Umask 18H) Number of DTLB page walker loads from memory.
PAGE_WALKER_LOADS.ITLB_MEMORY
- (Event BCH, Umask 28H) Number of ITLB page walker loads from memory.
TLB_FLUSH.DTLB_THREAD
- (Event BDH, Umask 01H) DTLB flush attempts of the thread-specific
entries.
TLB_FLUSH.STLB_ANY
- (Event BDH, Umask 20H) Count number of STLB flush attempts.
INST_RETIRED.ANY_P
- (Event C0H, Umask 00H) Number of instructions at retirement.
INST_RETIRED.ALL
- (Event C0H, Umask 01H) Precise instruction retired event with HW to reduce
effect of PEBS shadow in IP distribution.
OTHER_ASSISTS.AVX_TO_SSE
- (Event C1H, Umask 08H) Number of transitions from AVX-256 to legacy SSE
when penalty applicable.
OTHER_ASSISTS.SSE_TO_AVX
- (Event C1H, Umask 10H) Number of transitions from SSE to AVX-256 when
penalty applicable.
OTHER_ASSISTS.ANY_WB_ASSIST
- (Event C1H, Umask 40H) Number of microcode assists invoked by HW upon uop
writeback.
UOPS_RETIRED.ALL
- (Event C2H, Umask 01H) Counts the number of micro-ops retired, Use cmask=1
and invert to count active cycles or stalled cycles.
UOPS_RETIRED.RETIRE_SLOTS
- (Event C2H, Umask 02H) Counts the number of retirement slots used each
cycle.
MACHINE_CLEARS.MEMORY_ORDERING
- (Event C3H, Umask 02H) Counts the number of machine clears due to memory
order conflicts.
MACHINE_CLEARS.SMC
- (Event C3H, Umask 04H) Number of self-modifying-code machine clears
detected.
MACHINE_CLEARS.MASKMOV
- (Event C3H, Umask 20H) Counts the number of executed AVX masked load
operations that refer to an illegal address range with the mask bits set
to 0.
BR_INST_RETIRED.ALL_BRANCHES
- (Event C4H, Umask 00H) Branch instructions at retirement.
BR_INST_RETIRED.CONDITIONAL
- (Event C4H, Umask 01H) Counts the number of conditional branch
instructions Supports PEBS retired.
BR_INST_RETIRED.NEAR_CALL
- (Event C4H, Umask 02H) Direct and indirect near call instructions
retired.
BR_INST_RETIRED.ALL_BRANCHES
- (Event C4H, Umask 04H) Counts the number of branch instructions
retired.
BR_INST_RETIRED.NEAR_RETURN
- (Event C4H, Umask 08H) Counts the number of near return instructions
retired.
BR_INST_RETIRED.NOT_TAKEN
- (Event C4H, Umask 10H) Counts the number of not taken branch instructions
retired.
It Li BR_INST_RETIRED.NEAR_TAKEN (Event C4H, Umask 20H) Number of near
taken branches retired.
BR_INST_RETIRED.FAR_BRANCH
- (Event C4H, Umask 40H) Number of far branches retired.
BR_MISP_RETIRED.ALL_BRANCHES
- (Event C5H, Umask 00H) Mispredicted branch instructions at retirement
BR_MISP_RETIRED.CONDITIONAL
- (Event C5H, Umask 01H) Mispredicted conditional branch instructions
retired.
BR_MISP_RETIRED.CONDITIONAL
- (Event C5H, Umask 04H) Mispredicted macro branch instructions
retired.
FP_ASSIST.X87_OUTPUT
- (Event CAH, Umask 02H) Number of X87 FP assists due to Output values.
FP_ASSIST.X87_INPUT
- (Event CAH, Umask 04H) Number of X87 FP assists due to input values.
FP_ASSIST.SIMD_OUTPUT
- (Event CAH, Umask 08H) Number of SIMD FP assists due to Output
values.
FP_ASSIST.SIMD_INPUT
- (Event CAH, Umask 10H) Number of SIMD FP assists due to input values.
FP_ASSIST.ANY
- (Event CAH, Umask 1EH) Cycles with any input/output SSE* or FP
assists.
ROB_MISC_EVENTS.LBR_INSERTS
- (Event CCH, Umask 20H) Count cases of saving new LBR records by
hardware.
MEM_TRANS_RETIRED.LOAD_LATENCY
- (Event CDH, Umask 01H) Randomly sampled loads whose latency is above a
user defined threshold. A small fraction of the overall loads are sampled
due to randomization.
MEM_UOPS_RETIRED.STLB_MISS_LOADS
- (Event D0H, Umask 11H) Count retired load uops that missed the STLB.
MEM_UOPS_RETIRED.STLB_MISS_STORES
- (Event D0H, Umask 12H) Count retired store uops that missed the STLB.
MEM_UOPS_RETIRED.SPLIT_LOADS
- (Event D0H, Umask 41H) Count retired load uops that were split across a
cache line.
MEM_UOPS_RETIRED.SPLIT_STORES
- (Event D0H, Umask 42H) Count retired store uops that were split across a
cache line.
MEM_UOPS_RETIRED.ALL_LOADS
- (Event D0H, Umask 81H) Count all retired load uops.
MEM_UOPS_RETIRED.ALL_STORES
- (Event D0H, Umask 82H) Count all retired store uops.
MEM_LOAD_UOPS_RETIRED.L1_HIT
- (Event D1H, Umask 01H) Retired load uops with L1 cache hits as data
sources.
MEM_LOAD_UOPS_RETIRED.L2_HIT
- (Event D1H, Umask 02H) Retired load uops with L2 cache hits as data
sources.
MEM_LOAD_UOPS_RETIRED.LLC_HIT
- (Event D1H, Umask 04H) Retired load uops with LLC cache hits as data
sources.
MEM_LOAD_UOPS_RETIRED.L2_MISS
- (Event D1H, Umask 10H) Retired load uops missed L2. Unknown data source
excluded.
MEM_LOAD_UOPS_RETIRED.HIT_LFB
- (Event D1H, Umask 40H) Retired load uops which data sources were load uops
missed L1 but hit FB due to preceding miss to the same cache line with
data not ready.
MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_MISS
- (Event D2H, Umask 01H) Retired load uops which data sources were LLC hit
and cross-core snoop missed in on-pkg core cache.
MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HIT
- (Event D2H, Umask 02H) Retired load uops which data sources were LLC and
cross-core snoop hits in on-pkg core cache.
MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HITM
- (Event D2H, Umask 04H) Retired load uops which data sources were HitM
responses from shared LLC.
MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_NONE
- (Event D2H, Umask 08H) Retired load uops which data sources were hits in
LLC without snoops required.
MEM_LOAD_UOPS_LLC_MISS_RETIRED.LOCAL_DRAM
- (Event D3H, Umask 01H) Retired load uops which data sources missed LLC but
serviced from local dram.
BACLEARS.ANY
- (Event E6H, Umask 1FH) Number of front end re-steers due to BPU
misprediction.
L2_TRANS.DEMAND_DATA_RD
- (Event F0H, Umask 01H) Demand Data Read requests that access L2
cache.
L2_TRANS.RFO
- (Event F0H, Umask 02H) RFO requests that access L2 cache.
L2_TRANS.CODE_RD
- (Event F0H, Umask 04H) L2 cache accesses when fetching instructions.
L2_TRANS.ALL_PF
- (Event F0H, Umask 08H) Any MLC or LLC HW prefetch accessing L2, including
rejects.
L2_TRANS.L1D_WB
- (Event F0H, Umask 10H) L1D writebacks that access L2 cache.
L2_TRANS.L2_FILL
- (Event F0H, Umask 20H) L2 fill requests that access L2 cache.
L2_TRANS.L2_WB
- (Event F0H, Umask 40H) L2 writebacks that access L2 cache.
L2_TRANS.ALL_REQUESTS
- (Event F0H, Umask 80H) Transactions accessing L2 pipe.
L2_LINES_IN.I
- (Event F1H, Umask 01H) L2 cache lines in I state filling L2.
L2_LINES_IN.S
- (Event F1H, Umask 02H) L2 cache lines in S state filling L2.
L2_LINES_IN.E
- (Event F1H, Umask 04H) L2 cache lines in E state filling L2.
L2_LINES_IN.ALL
- (Event F1H, Umask 07H) L2 cache lines filling L2.
L2_LINES_OUT.DEMAND_CLEAN
- (Event F2H, Umask 05H) Clean L2 cache lines evicted by demand.
L2_LINES_OUT.DEMAND_DIRTY
- (Event F2H, Umask 06H) Dirty L2 cache lines evicted by demand.
pmc(3),
pmc.atom(3),
pmc.core(3),
pmc.corei7(3),
pmc.corei7uc(3),
pmc.haswelluc(3),
pmc.iaf(3),
pmc.ivybridge(3),
pmc.ivybridgexeon(3),
pmc.k7(3),
pmc.k8(3),
pmc.sandybridge(3),
pmc.sandybridgeuc(3),
pmc.sandybridgexeon(3),
pmc.soft(3),
pmc.tsc(3),
pmc.ucf(3),
pmc.westmere(3),
pmc.westmereuc(3),
pmc_cpuinfo(3),
pmclog(3),
hwpmc(4)
The pmc library first appeared in
FreeBSD 6.0.
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |