Go to the source code of this file.
◆ ALIGN_DOWN
| #define ALIGN_DOWN |
( |
|
a, |
|
|
|
p |
|
) |
| ((a) & ~((1UL<<(p))-1)) |
◆ ALIGN_UP
| #define ALIGN_UP |
( |
|
a, |
|
|
|
p |
|
) |
| ((((a) + ((1UL<<(p))-1))) & ~((1UL<<(p))-1)) |
◆ DPRINT
| #define DPRINT |
( |
|
fmt, |
|
|
|
a... |
|
) |
| |
Value: do { \
fprintf(
libpfm_fp,
"%s (%s.%d): " fmt, __FILE__, __func__, __LINE__, ##
a); } \
} while (0)
static double a[MATRIX_SIZE][MATRIX_SIZE]
Definition at line 90 of file pfmlib_priv.h.
◆ pfm_current
| #define pfm_current pfm_config.current |
◆ PFMLIB_CNT_FIRST
| #define PFMLIB_CNT_FIRST -1 /* return code for event on first counter */ |
◆ PFMLIB_DEBUG
| #define PFMLIB_DEBUG |
( |
| ) |
pfm_config.options.pfm_debug |
◆ PFMLIB_INITIALIZED
| #define PFMLIB_INITIALIZED |
( |
| ) |
(pfm_config.current != NULL) |
◆ PFMLIB_MULT_CODE_EVENT
| #define PFMLIB_MULT_CODE_EVENT 0x1 /* more than one code per event (depending on counter) */ |
◆ PFMLIB_NO_EVT
| #define PFMLIB_NO_EVT (~0U) /* no event index associated with event */ |
◆ PFMLIB_VERBOSE
| #define PFMLIB_VERBOSE |
( |
| ) |
pfm_config.options.pfm_verbose |
◆ __pfm_check_event()
Definition at line 65 of file pfmlib_priv.c.
66{
67 unsigned int n, j;
68
71
75
79 }
80
81
82
83
84
85
86 if (n && j == 0) {
91 }
93}
static unsigned int pfm_num_masks(int e)
unsigned int unit_masks[PFMLIB_MAX_MASKS_PER_EVENT]
◆ __pfm_getcpuinfo_attr()
| int __pfm_getcpuinfo_attr |
( |
const char * |
attr, |
|
|
char * |
ret_buf, |
|
|
size_t |
maxlen |
|
) |
| |
◆ __pfm_vbprintf()
| void __pfm_vbprintf |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ _pfmlib_get_sys_base()
| static int _pfmlib_get_sys_base |
( |
| ) |
|
|
inlinestatic |
Definition at line 140 of file pfmlib_priv.h.
141{
145}
void pfm_init_syscalls(void)
◆ pfm_init_syscalls()
| void pfm_init_syscalls |
( |
void |
| ) |
|
◆ pfm_num_masks()
| static unsigned int pfm_num_masks |
( |
int |
e | ) |
|
|
inlinestatic |
◆ _pfmlib_major_version
| int _pfmlib_major_version |
|
extern |
◆ _pfmlib_minor_version
| int _pfmlib_minor_version |
|
extern |
◆ _pfmlib_sys_base
◆ amd64_support
◆ cell_support
◆ core_support
◆ coreduo_support
◆ crayx2_support
◆ forced_pmu
◆ gen_ia32_support
◆ gen_powerpc_support
◆ generic_ia64_support
◆ generic_mips64_support
◆ i386_p6_support
◆ i386_pii_support
◆ i386_pm_support
◆ i386_ppro_support
◆ intel_atom_support
◆ intel_nhm_support
◆ intel_wsm_support
◆ itanium2_support
◆ itanium_support
◆ libpfm_fp
◆ montecito_support
◆ pentium4_support
◆ pfm_config
◆ sicortex_support
◆ sparc_support