Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pmc.xscale(3) [freebsd man page]

PMC.XSCALE(3)						   BSD Library Functions Manual 					     PMC.XSCALE(3)

NAME
pmc.xscale -- measurement events for Intel XScale family CPUs LIBRARY
Performance Counters Library (libpmc, -lpmc) SYNOPSIS
#include <pmc.h> DESCRIPTION
Intel XScale CPUs are ARM CPUs based on the ARMv5e core. Second generation cores have 2 counters, while third generation cores have 4 counters. Third generation cores also have an increased number of PMC events. Intel XScale PMCs are documented in 3rd Generation Intel XScale Microarchitecture Developer's Manual, May 2007. Event Specifiers (Programmable PMCs) Intel XScale programmable PMCs support the following events: IC_FETCH External memory fetch due to L1 instruction cache miss. IC_MISS Instruction cache or TLB miss. DATA_DEPENDENCY_STALLED A data dependency stalled ITLB_MISS Instruction TLB miss. DTLB_MISS Data TLB miss. BRANCH_RETIRED Branch instruction retired (executed). BRANCH_MISPRED Branch mispredicted. INSTR_RETIRED Instructions retired (executed). DC_FULL_CYCLE L1 data cache buffer full stall. Event occurs on every cycle the condition is present. DC_FULL_CONTIG L1 data cache buffer full stall. Event occurs once for each contiguous sequence of this type of stall. DC_ACCESS L1 data cache access, not including cache operations. DC_MISS L1 data cache miss, not including cache operations. DC_WRITEBACK L1 data cache write-back. Occurs for each cache line that's written back from the cache. PC_CHANGE Software changed the program counter. BRANCH_RETIRED_ALL Branch instruction retired (executed). This event counts all branch instructions, indirect or direct. INSTR_CYCLE Count the number of microarchitecture cycles each instruction requires to issue. CP_STALL Coprocessor stalled the instruction pipeline. PC_CHANGE_ALL Software changed the program counter (includes exceptions). PIPELINE_FLUSH Pipeline flushes due to mispredictions or exceptions. BACKEND_STALL Backend stalled the instruction pipeline. MULTIPLIER_USE Multiplier used. MULTIPLIER_STALLED Multiplier stalled the instruction pipeline. DATA_CACHE_STALLED Data cache stalled the instruction pipeline. L2_CACHE_REQ L2 cache request, not including cache operations. L2_CACHE_MISS L2 cache miss, not including cache operations. ADDRESS_BUS_TRANS Address bus transaction. SELF_ADDRESS_BUS_TRANS Self initiated address bus transaction. DATA_BUS_TRANS Data bus transaction. Event Name Aliases The following table shows the mapping between the PMC-independent aliases supported by Performance Counters Library (libpmc, -lpmc) and the underlying hardware events used. Alias Event branches BRANCH_RETIRED branch-mispredicts BRANCH_MISPRED dc-misses DC_MISS ic-misses IC_MISS instructions INSTR_RETIRED SEE ALSO
pmc(3), pmc.soft(3), pmc_cpuinfo(3), pmclog(3), hwpmc(4) HISTORY
The pmc library first appeared in FreeBSD 6.0. Intel XScale support first appeared in FreeBSD 9.0. AUTHORS
The Performance Counters Library (libpmc, -lpmc) library was written by Joseph Koshy <jkoshy@FreeBSD.org>. Intel XScale support was added by Rui Paulo <rpaulo@FreeBSD.org>. CAVEATS
The Intel XScale code does not yet support sampling. BSD
December 23, 2009 BSD

Check Out this Related Man Page

PMC.SANDYBRIDGEUC(3)					   BSD Library Functions Manual 				      PMC.SANDYBRIDGEUC(3)

NAME
pmc.sandybridgeuc -- uncore measurement events for Intel Sandy Bridge family CPUs LIBRARY
Performance Counters Library (libpmc, -lpmc) SYNOPSIS
#include <pmc.h> DESCRIPTION
Intel Sandy Bridge CPUs contain PMCs conforming to version 3 of the Intel performance measurement architecture. These CPUs contain two classes of PMCs: PMC_CLASS_UCF Fixed-function counters that count only one hardware event per counter. PMC_CLASS_UCP 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 Sandy Bridge PMCs are documented in "Volume 3B: System Programming Guide, Part 2", Intel(R) 64 and IA-32 Architectures Software Developers Manual, Order Number: 253669-039US, Intel Corporation, May 2011. SANDYBRIDGE UNCORE FIXED FUNCTION PMCS These PMCs and their supported events are documented in pmc.ucf(3). Not all CPUs in this family implement fixed-function counters. SANDYBRIDGE UNCORE PROGRAMMABLE PMCS The programmable PMCs support the following capabilities: Capability Support PMC_CAP_CASCADE No PMC_CAP_EDGE Yes PMC_CAP_INTERRUPT No PMC_CAP_INVERT Yes PMC_CAP_READ Yes PMC_CAP_PRECISE No PMC_CAP_SYSTEM No PMC_CAP_TAGGING No PMC_CAP_THRESHOLD Yes PMC_CAP_USER No PMC_CAP_WRITE Yes Event Qualifiers Event specifiers for these PMCs support the following common qualifiers: 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. Event Specifiers (Programmable PMCs) Sandy Bridge programmable PMCs support the following events: CBO_XSNP_RESPONSE.RSPIHITI (Event 22H, Umask 01H) Snoop responses received from processor cores to requests initiated by this Cbox. Must combine with one of the umask values of 20H, 40H, 80H CBO_XSNP_RESPONSE.RSPIHITFSE (Event 22H, Umask 02H) Must combine with one of the umask values of 20H, 40H, 80H CBO_XSNP_RESPONSE.RSPSHITFSE (Event 22H, Umask 04H) Must combine with one of the umask values of 20H, 40H, 80H CBO_XSNP_RESPONSE.RSPSFWDM (Event 22H, Umask 08H) CBO_XSNP_RESPONSE.RSPIFWDM (Event 22H, Umask 01H) CBO_XSNP_RESPONSE.AND_EXTERNAL (Event 22H, Umask 20H) Filter on cross-core snoops resulted in external snoop request. Must combine with at least one of 01H, 02H, 04H, 08H, 10H CBO_XSNP_RESPONSE.AND_XCORE (Event 22H, Umask 40H) Filter on cross-core snoops resulted in core request. Must combine with at least one of 01H, 02H, 04H, 08H, 10H CBO_XSNP_RESPONSE.AND_XCORE (Event 22H, Umask 80H) Filter on cross-core snoops resulted in LLC evictions. Must combine with at least one of 01H, 02H, 04H, 08H, 10H CBO_CACHE_LOOKUP.M (Event 34H, Umask 01H) LLC lookup request that access cache and found line in M-state. Must combine with one of the umask values of 10H, 20H, 40H, 80H CBO_CACHE_LOOKUP.E (Event 34H, Umask 02H) LLC lookup request that access cache and found line in E-state. Must combine with one of the umask values of 10H, 20H, 40H, 80H CBO_CACHE_LOOKUP.S (Event 34H, Umask 04H) LLC lookup request that access cache and found line in S-state. Must combine with one of the umask values of 10H, 20H, 40H, 80H CBO_CACHE_LOOKUP.I (Event 34H, Umask 08H) LLC lookup request that access cache and found line in I-state. Must combine with one of the umask values of 10H, 20H, 40H, 80H CBO_CACHE_LOOKUP.AND_READ (Event 34H, Umask 10H) Filter on processor core initiated cacheable read requests. Must combine with at least one of 01H, 02H, 04H, 08H CBO_CACHE_LOOKUP_AND_READ2 (Event 34H, Umask 20H) Filter on processor core initiated cacheable write requests. Must combine with at least one of 01H, 02H, 04H, 08H CBO_CACHE_LOOKUP.AND_EXTSNP (Event 34H, Umask 40H) Filter on external snoop requests. Must combine with at least one of 01H, 02H, 04H, 08H CBO_CACHE_LOOKUP.AND_ANY (Event 34H, Umask 80H) Filter on any IRQ or IPQ initiated requests including uncacheable, noncoherent requests. Must combine with at least one of 01H, 02H, 04H, 08H IMPH_CBO_TRK_OCCUPANCY.ALL (Event 80H, Umask 01H) Counts cycles weighted by the number of core-outgoing valid entries. Valid entries are between allocation to the first of IDIO or DRSO messages. Accounts for coherent and incoherent traffic. Counter 0 only IMPH_CBO_TRK_REQUEST.ALL (Event 81H, Umask 01H) Counts the number of core-outgoing entries. Accounts for coherent and incoherent traffic. IMPH_CBO_TRK_REQUEST.WRITES (Event 81H, Umask 20H) Counts the number of allocated write entries, include full, partial, and evictions. IMPH_CBO_TRK_REQUEST.EVICTIONS (Event 81H, Umask 80H) Counts the number of evictions allocated. IMPH_COH_TRK_OCCUPANCY.ALL (Event 83H, Umask 01H) Counts cycles weighted by the number of core-outgoing valid entries in the coherent tracker queue. Counter 0 only IMPH_COH_TRK_REQUEST.ALL (Event 84H, Umask 01H) Counts the number of core-outgoing entries in the coherent tracker queue. SEE ALSO
pmc(3), pmc.atom(3), pmc.core(3), pmc.corei7(3), pmc.corei7uc(3), pmc.iaf(3), pmc.k7(3), pmc.k8(3), pmc.p4(3), pmc.p5(3), pmc.p6(3), pmc.sandybridge(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) HISTORY
The pmc library first appeared in FreeBSD 6.0. AUTHORS
The Performance Counters Library (libpmc, -lpmc) library was written by Joseph Koshy <jkoshy@FreeBSD.org>. The support for the Sandy Bridge microarchitecture was added by Davide Italiano <davide@FreeBSD.org>. BSD
October 19, 2012 BSD
Man Page