Blame src/freebsd/map-k7.c

Packit Service a1973e
/****************************/
Packit Service a1973e
/* THIS IS OPEN SOURCE CODE */
Packit Service a1973e
/****************************/
Packit Service a1973e
Packit Service a1973e
/* 
Packit Service a1973e
* File:    map-k7.c
Packit Service a1973e
* Author:  Harald Servat
Packit Service a1973e
*          redcrash@gmail.com
Packit Service a1973e
*/
Packit Service a1973e
Packit Service a1973e
#include "freebsd.h"
Packit Service a1973e
#include "papiStdEventDefs.h"
Packit Service a1973e
#include "map.h"
Packit Service a1973e
Packit Service a1973e
Packit Service a1973e
/****************************************************************************
Packit Service a1973e
 K7 SUBSTRATE 
Packit Service a1973e
 K7 SUBSTRATE 
Packit Service a1973e
 K7 SUBSTRATE (aka Athlon)
Packit Service a1973e
 K7 SUBSTRATE
Packit Service a1973e
 K7 SUBSTRATE
Packit Service a1973e
****************************************************************************/
Packit Service a1973e
Packit Service a1973e
/*
Packit Service a1973e
	NativeEvent_Value_K7Processor must match K7Processor_info 
Packit Service a1973e
*/
Packit Service a1973e
Packit Service a1973e
Native_Event_LabelDescription_t K7Processor_info[] =
Packit Service a1973e
{
Packit Service a1973e
	{ "k7-dc-accesses", "Count data cache accesses." },
Packit Service a1973e
	{ "k7-dc-misses", "Count data cache misses." },
Packit Service a1973e
	{ "k7-dc-refills-from-l2", "Count data cache refills from L2 cache." },
Packit Service a1973e
	{ "k7-dc-refills-from-system", "Count data cache refills from system memory." },
Packit Service a1973e
	{ "k7-dc-writebacks", "Count data cache writebacks." },
Packit Service a1973e
	{ "k7-l1-dtlb-miss-and-l2-dtlb-hits", "Count L1 DTLB misses and L2 DTLB hits." },
Packit Service a1973e
	{ "k7-l1-and-l2-dtlb-misses", "Count L1 and L2 DTLB misses." },
Packit Service a1973e
	{ "k7-misaligned-references", "Count misaligned data references." },
Packit Service a1973e
	{ "k7-ic-fetches", "Count instruction cache fetches." },
Packit Service a1973e
	{ "k7-ic-misses", "Count instruction cache misses." },
Packit Service a1973e
	{ "k7-l1-itlb-misses", "Count L1 ITLB misses that are L2 ITLB hits." },
Packit Service a1973e
	{ "k7-l1-l2-itlb-misses", "Count L1 (and L2) ITLB misses." },
Packit Service a1973e
	{ "k7-retired-instructions", "Count all retired instructions." },
Packit Service a1973e
	{ "k7-retired-ops", "Count retired ops." },
Packit Service a1973e
	{ "k7-retired-branches", "Count all retired branches (conditional, unconditional, exceptions and interrupts)."},
Packit Service a1973e
	{ "k7-retired-branches-mispredicted", "Count all misprediced retired branches." },
Packit Service a1973e
	{ "k7-retired-taken-branches", "Count retired taken branches." },
Packit Service a1973e
	{ "k7-retired-taken-branches-mispredicted", "Count mispredicted taken branches that were retired." },
Packit Service a1973e
	{ "k7-retired-far-control-transfers", "Count retired far control transfers." },
Packit Service a1973e
	{ "k7-retired-resync-branches", "Count retired resync branches (non control transfer branches)." },
Packit Service a1973e
	{ "k7-interrupts-masked-cycles", "Count the number of cycles when the processor's IF flag was zero." },
Packit Service a1973e
	{ "k7-interrupts-masked-while-pending-cycles", "Count the number of cycles interrupts were masked while pending due to the processor's IF flag being zero." },
Packit Service a1973e
	{ "k7-hardware-interrupts", "Count the number of taken hardware interrupts." },
Packit Service a1973e
	/* Nearly special counters */
Packit Service a1973e
	{ "k7-dc-refills-from-l2,unitmask=+m", "Count data cache refills from L2 cache (in M state)." },
Packit Service a1973e
	{ "k7-dc-refills-from-l2,unitmask=+oes", "Count data cache refills from L2 cache (in OES state)." },
Packit Service a1973e
	{ "k7-dc-refills-from-system,unitmask=+m", "Count data cache refills from system memory (in M state)." },
Packit Service a1973e
	{ "k7-dc-refills-from-system,unitmask=+oes", "Count data cache refills from system memory (in OES state)." },
Packit Service a1973e
	{ NULL, NULL }
Packit Service a1973e
};
Packit Service a1973e
Packit Service a1973e