PAPI  5.7.0.0
papi_fwrappers_.c File Reference

Go to the source code of this file.

Data Structures

struct  __fsid_t
 
struct  __mbstate_t
 
struct  _G_fpos_t
 
struct  _G_fpos64_t
 
struct  _IO_marker
 
struct  _IO_FILE
 
struct  __sigset_t
 
struct  timeval
 
struct  timespec
 
struct  fd_set
 
struct  __pthread_rwlock_arch_t
 
struct  __pthread_list_t
 
struct  __pthread_mutex_s
 
struct  __pthread_cond_s
 
union  pthread_mutexattr_t
 
union  pthread_condattr_t
 
union  pthread_attr_t
 
union  pthread_mutex_t
 
union  pthread_cond_t
 
union  pthread_rwlock_t
 
union  pthread_rwlockattr_t
 
union  pthread_barrier_t
 
union  pthread_barrierattr_t
 
union  __sigval_t
 
struct  siginfo_t
 
struct  sigevent_t
 
struct  _fpx_sw_bytes
 
struct  _fpreg
 
struct  _fpxreg
 
struct  _xmmreg
 
struct  _fpstate
 
struct  hwd_ucontext_t
 
struct  _xsave_hdr
 
struct  _ymmh_state
 
struct  _xstate
 
struct  stack_t
 
struct  _libc_fpxreg
 
struct  _libc_xmmreg
 
struct  fpregset_t
 
struct  mcontext_t
 
struct  ucontext_t
 
struct  sigstack
 
struct  PAPI_sprofil_t
 
struct  PAPI_itimer_option_t
 
struct  PAPI_inherit_option_t
 
struct  PAPI_domain_option_t
 
struct  PAPI_granularity_option_t
 
struct  PAPI_preload_info_t
 
struct  PAPI_component_info_t
 
struct  PAPI_mpx_info_t
 
struct  PAPI_debug_option_t
 
struct  PAPI_address_map_t
 get the executable's address space info More...
 
struct  PAPI_exe_info_t
 get the executable's info More...
 
struct  PAPI_shlib_info_t
 
struct  PAPI_mh_tlb_info_t
 
struct  PAPI_mh_cache_info_t
 
struct  PAPI_mh_level_t
 
struct  PAPI_mh_info_t
 mh for mem hierarchy maybe? More...
 
struct  PAPI_hw_info_t
 Hardware info structure. More...
 
struct  PAPI_attach_option_t
 
struct  PAPI_cpu_option_t
 
struct  PAPI_multiplex_option_t
 
struct  PAPI_addr_range_option_t
 address range specification for range restricted counting if both are zero, range is disabled More...
 
union  PAPI_option_t
 A pointer to the following is passed to PAPI_set/get_opt() More...
 
struct  PAPI_dmem_info_t
 A pointer to the following is passed to PAPI_get_dmem_info() More...
 
struct  PAPI_event_info_t
 

Typedefs

typedef long unsigned int size_t
 
typedef unsigned char __u_char
 
typedef unsigned short int __u_short
 
typedef unsigned int __u_int
 
typedef unsigned long int __u_long
 
typedef signed char __int8_t
 
typedef unsigned char __uint8_t
 
typedef signed short int __int16_t
 
typedef unsigned short int __uint16_t
 
typedef signed int __int32_t
 
typedef unsigned int __uint32_t
 
typedef signed long int __int64_t
 
typedef unsigned long int __uint64_t
 
typedef long int __quad_t
 
typedef unsigned long int __u_quad_t
 
typedef long int __intmax_t
 
typedef unsigned long int __uintmax_t
 
typedef unsigned long int __dev_t
 
typedef unsigned int __uid_t
 
typedef unsigned int __gid_t
 
typedef unsigned long int __ino_t
 
typedef unsigned long int __ino64_t
 
typedef unsigned int __mode_t
 
typedef unsigned long int __nlink_t
 
typedef long int __off_t
 
typedef long int __off64_t
 
typedef int __pid_t
 
typedef long int __clock_t
 
typedef unsigned long int __rlim_t
 
typedef unsigned long int __rlim64_t
 
typedef unsigned int __id_t
 
typedef long int __time_t
 
typedef unsigned int __useconds_t
 
typedef long int __suseconds_t
 
typedef int __daddr_t
 
typedef int __key_t
 
typedef int __clockid_t
 
typedef void * __timer_t
 
typedef long int __blksize_t
 
typedef long int __blkcnt_t
 
typedef long int __blkcnt64_t
 
typedef unsigned long int __fsblkcnt_t
 
typedef unsigned long int __fsblkcnt64_t
 
typedef unsigned long int __fsfilcnt_t
 
typedef unsigned long int __fsfilcnt64_t
 
typedef long int __fsword_t
 
typedef long int __ssize_t
 
typedef long int __syscall_slong_t
 
typedef unsigned long int __syscall_ulong_t
 
typedef __off64_t __loff_t
 
typedef char * __caddr_t
 
typedef long int __intptr_t
 
typedef unsigned int __socklen_t
 
typedef int __sig_atomic_t
 
typedef __builtin_va_list __gnuc_va_list
 
typedef void _IO_lock_t
 
typedef __ssize_t __io_read_fn(void *__cookie, char *__buf, size_t __nbytes)
 
typedef __ssize_t __io_write_fn(void *__cookie, const char *__buf, size_t __n)
 
typedef int __io_seek_fn(void *__cookie, __off64_t *__pos, int __w)
 
typedef int __io_close_fn(void *__cookie)
 
typedef struct __locale_struct * __locale_t
 
typedef __locale_t locale_t
 
typedef __sigset_t sigset_t
 
typedef __suseconds_t suseconds_t
 
typedef long int __fd_mask
 
typedef __fd_mask fd_mask
 
typedef __blksize_t blksize_t
 
typedef __blkcnt_t blkcnt_t
 
typedef __fsblkcnt_t fsblkcnt_t
 
typedef __fsfilcnt_t fsfilcnt_t
 
typedef unsigned long int pthread_t
 
typedef unsigned int pthread_key_t
 
typedef int pthread_once_t
 
typedef volatile int pthread_spinlock_t
 
typedef __sig_atomic_t sig_atomic_t
 
typedef __sigval_t sigval_t
 
typedef void(* __sighandler_t) (int)
 
typedef greg_t gregset_t[23]
 
typedef void(* PAPI_overflow_handler_t) (int EventSet, void *address, long long overflow_vector, void *context)
 
typedef char * caddr_t
 
typedef int(* PAPI_debug_handler_t) (int code)
 
typedef char * PAPI_user_defined_events_file_t
 

Enumerations

enum  __codecvt_result {
  __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv,
  __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv,
  __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv
}
 
enum  {
  PAPI_L1_DCM_idx = 0, PAPI_L1_ICM_idx, PAPI_L2_DCM_idx, PAPI_L2_ICM_idx,
  PAPI_L3_DCM_idx, PAPI_L3_ICM_idx, PAPI_L1_TCM_idx, PAPI_L2_TCM_idx,
  PAPI_L3_TCM_idx, PAPI_CA_SNP_idx, PAPI_CA_SHR_idx, PAPI_CA_CLN_idx,
  PAPI_CA_INV_idx, PAPI_CA_ITV_idx, PAPI_L3_LDM_idx, PAPI_L3_STM_idx,
  PAPI_BRU_IDL_idx, PAPI_FXU_IDL_idx, PAPI_FPU_IDL_idx, PAPI_LSU_IDL_idx,
  PAPI_TLB_DM_idx, PAPI_TLB_IM_idx, PAPI_TLB_TL_idx, PAPI_L1_LDM_idx,
  PAPI_L1_STM_idx, PAPI_L2_LDM_idx, PAPI_L2_STM_idx, PAPI_BTAC_M_idx,
  PAPI_PRF_DM_idx, PAPI_L3_DCH_idx, PAPI_TLB_SD_idx, PAPI_CSR_FAL_idx,
  PAPI_CSR_SUC_idx, PAPI_CSR_TOT_idx, PAPI_MEM_SCY_idx, PAPI_MEM_RCY_idx,
  PAPI_MEM_WCY_idx, PAPI_STL_ICY_idx, PAPI_FUL_ICY_idx, PAPI_STL_CCY_idx,
  PAPI_FUL_CCY_idx, PAPI_HW_INT_idx, PAPI_BR_UCN_idx, PAPI_BR_CN_idx,
  PAPI_BR_TKN_idx, PAPI_BR_NTK_idx, PAPI_BR_MSP_idx, PAPI_BR_PRC_idx,
  PAPI_FMA_INS_idx, PAPI_TOT_IIS_idx, PAPI_TOT_INS_idx, PAPI_INT_INS_idx,
  PAPI_FP_INS_idx, PAPI_LD_INS_idx, PAPI_SR_INS_idx, PAPI_BR_INS_idx,
  PAPI_VEC_INS_idx, PAPI_RES_STL_idx, PAPI_FP_STAL_idx, PAPI_TOT_CYC_idx,
  PAPI_LST_INS_idx, PAPI_SYC_INS_idx, PAPI_L1_DCH_idx, PAPI_L2_DCH_idx,
  PAPI_L1_DCA_idx, PAPI_L2_DCA_idx, PAPI_L3_DCA_idx, PAPI_L1_DCR_idx,
  PAPI_L2_DCR_idx, PAPI_L3_DCR_idx, PAPI_L1_DCW_idx, PAPI_L2_DCW_idx,
  PAPI_L3_DCW_idx, PAPI_L1_ICH_idx, PAPI_L2_ICH_idx, PAPI_L3_ICH_idx,
  PAPI_L1_ICA_idx, PAPI_L2_ICA_idx, PAPI_L3_ICA_idx, PAPI_L1_ICR_idx,
  PAPI_L2_ICR_idx, PAPI_L3_ICR_idx, PAPI_L1_ICW_idx, PAPI_L2_ICW_idx,
  PAPI_L3_ICW_idx, PAPI_L1_TCH_idx, PAPI_L2_TCH_idx, PAPI_L3_TCH_idx,
  PAPI_L1_TCA_idx, PAPI_L2_TCA_idx, PAPI_L3_TCA_idx, PAPI_L1_TCR_idx,
  PAPI_L2_TCR_idx, PAPI_L3_TCR_idx, PAPI_L1_TCW_idx, PAPI_L2_TCW_idx,
  PAPI_L3_TCW_idx, PAPI_FML_INS_idx, PAPI_FAD_INS_idx, PAPI_FDV_INS_idx,
  PAPI_FSQ_INS_idx, PAPI_FNV_INS_idx, PAPI_FP_OPS_idx, PAPI_SP_OPS_idx,
  PAPI_DP_OPS_idx, PAPI_VEC_SP_idx, PAPI_VEC_DP_idx, PAPI_REF_CYC_idx,
  PAPI_END_idx
}
 
enum  {
  PAPI_ENUM_EVENTS = 0, PAPI_ENUM_FIRST, PAPI_PRESET_ENUM_AVAIL, PAPI_PRESET_ENUM_MSC,
  PAPI_PRESET_ENUM_INS, PAPI_PRESET_ENUM_IDL, PAPI_PRESET_ENUM_BR, PAPI_PRESET_ENUM_CND,
  PAPI_PRESET_ENUM_MEM, PAPI_PRESET_ENUM_CACH, PAPI_PRESET_ENUM_L1, PAPI_PRESET_ENUM_L2,
  PAPI_PRESET_ENUM_L3, PAPI_PRESET_ENUM_TLB, PAPI_PRESET_ENUM_FP, PAPI_NTV_ENUM_UMASKS,
  PAPI_NTV_ENUM_UMASK_COMBOS, PAPI_NTV_ENUM_IARR, PAPI_NTV_ENUM_DARR, PAPI_NTV_ENUM_OPCM,
  PAPI_NTV_ENUM_IEAR, PAPI_NTV_ENUM_DEAR, PAPI_NTV_ENUM_GROUPS
}
 
enum  {
  SI_ASYNCNL = -60, SI_TKILL = -6, SI_SIGIO, SI_ASYNCIO,
  SI_MESGQ, SI_TIMER, SI_QUEUE, SI_USER,
  SI_KERNEL = 0x80
}
 
enum  {
  ILL_ILLOPC = 1, ILL_ILLOPN, ILL_ILLADR, ILL_ILLTRP,
  ILL_PRVOPC, ILL_PRVREG, ILL_COPROC, ILL_BADSTK
}
 
enum  {
  FPE_INTDIV = 1, FPE_INTOVF, FPE_FLTDIV, FPE_FLTOVF,
  FPE_FLTUND, FPE_FLTRES, FPE_FLTINV, FPE_FLTSUB
}
 
enum  { SEGV_MAPERR = 1, SEGV_ACCERR, SEGV_BNDERR, SEGV_PKUERR }
 
enum  {
  BUS_ADRALN = 1, BUS_ADRERR, BUS_OBJERR, BUS_MCEERR_AR,
  BUS_MCEERR_AO
}
 
enum  {
  CLD_EXITED = 1, CLD_KILLED, CLD_DUMPED, CLD_TRAPPED,
  CLD_STOPPED, CLD_CONTINUED
}
 
enum  {
  POLL_IN = 1, POLL_OUT, POLL_MSG, POLL_ERR,
  POLL_PRI, POLL_HUP
}
 
enum  { SIGEV_SIGNAL = 0, SIGEV_NONE, SIGEV_THREAD, SIGEV_THREAD_ID = 4 }
 
enum  { SS_ONSTACK = 1, SS_DISABLE }
 
enum  { PAPI_LOCATION_CORE = 0, PAPI_LOCATION_CPU, PAPI_LOCATION_PACKAGE, PAPI_LOCATION_UNCORE }
 
enum  { PAPI_DATATYPE_INT64 = 0, PAPI_DATATYPE_UINT64, PAPI_DATATYPE_FP64, PAPI_DATATYPE_BIT64 }
 
enum  { PAPI_VALUETYPE_RUNNING_SUM = 0, PAPI_VALUETYPE_ABSOLUTE }
 
enum  { PAPI_TIMESCOPE_SINCE_START = 0, PAPI_TIMESCOPE_SINCE_LAST, PAPI_TIMESCOPE_UNTIL_NEXT, PAPI_TIMESCOPE_POINT }
 
enum  { PAPI_UPDATETYPE_ARBITRARY = 0, PAPI_UPDATETYPE_PUSH, PAPI_UPDATETYPE_PULL, PAPI_UPDATETYPE_FIXEDFREQ }
 

Functions

int __underflow (_IO_FILE *)
 
int __uflow (_IO_FILE *)
 
int __overflow (_IO_FILE *, int)
 
int _IO_getc (_IO_FILE *__fp)
 
int _IO_putc (int __c, _IO_FILE *__fp)
 
int _IO_feof (_IO_FILE *__fp) __attribute__((__nothrow__
 
int _IO_ferror (_IO_FILE *__fp) __attribute__((__nothrow__
 
int _IO_peekc_locked (_IO_FILE *__fp)
 
void _IO_flockfile (_IO_FILE *)
 
int strcoll_l (const char *__s1, const char *__s2, locale_t __l) __attribute__((__nothrow__
 
int __leaf__ __attribute__ ((__pure__))
 
static __inline __uint64_t __bswap_64 (__uint64_t __bsx)
 
static __inline __uint16_t __uint16_identity (__uint16_t __x)
 
static __inline __uint32_t __uint32_identity (__uint32_t __x)
 
static __inline __uint64_t __uint64_identity (__uint64_t __x)
 
int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout)
 
int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask)
 
unsigned int gnu_dev_major (__dev_t __dev) __attribute__((__nothrow__
 
unsigned int __leaf__ __attribute__ ((__const__))
 
unsigned int gnu_dev_minor (__dev_t __dev) __attribute__((__nothrow__
 
__dev_t gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__((__nothrow__
 
__sighandler_t __sysv_signal (int __sig, __sighandler_t __handler) __attribute__((__nothrow__
 
__sighandler_t signal (int __sig, __sighandler_t __handler) __attribute__((__nothrow__
 
int kill (__pid_t __pid, int __sig) __attribute__((__nothrow__
 
int killpg (__pid_t __pgrp, int __sig) __attribute__((__nothrow__
 
int raise (int __sig) __attribute__((__nothrow__
 
__sighandler_t ssignal (int __sig, __sighandler_t __handler) __attribute__((__nothrow__
 
int gsignal (int __sig) __attribute__((__nothrow__
 
void psignal (int __sig, const char *__s)
 
void psiginfo (const siginfo_t *__pinfo, const char *__s)
 
int sigblock (int __mask) __attribute__((__nothrow__
 
int __leaf__ __attribute__ ((__deprecated__))
 
int sigsetmask (int __mask) __attribute__((__nothrow__
 
int siggetmask (void)
 
int sigprocmask (int __how, const sigset_t *__restrict __set, sigset_t *__restrict __oset) __attribute__((__nothrow__
 
int sigsuspend (const sigset_t *__set) __attribute__((__nonnull__(1)))
 
int sigaction (int __sig, const struct sigaction *__restrict __act, struct sigaction *__restrict __oact) __attribute__((__nothrow__
 
int sigpending (sigset_t *__set) __attribute__((__nothrow__
 
int __leaf__ __attribute__ ((__nonnull__(1)))
 
int sigwait (const sigset_t *__restrict __set, int *__restrict __sig) __attribute__((__nonnull__(1
 
int int sigwaitinfo (const sigset_t *__restrict __set, siginfo_t *__restrict __info) __attribute__((__nonnull__(1)))
 
int sigtimedwait (const sigset_t *__restrict __set, siginfo_t *__restrict __info, const struct timespec *__restrict __timeout) __attribute__((__nonnull__(1)))
 
int sigqueue (__pid_t __pid, int __sig, const union sigval __val) __attribute__((__nothrow__
 
int sigreturn (struct sigcontext *__scp) __attribute__((__nothrow__
 
int siginterrupt (int __sig, int __interrupt) __attribute__((__nothrow__
 
int sigaltstack (const stack_t *__restrict __ss, stack_t *__restrict __oss) __attribute__((__nothrow__
 
int sigstack (struct sigstack *__ss, struct sigstack *__oss) __attribute__((__nothrow__
 
int pthread_sigmask (int __how, const __sigset_t *__restrict __newmask, __sigset_t *__restrict __oldmask) __attribute__((__nothrow__
 
int pthread_kill (pthread_t __threadid, int __signo) __attribute__((__nothrow__
 
int __libc_current_sigrtmin (void)
 
int PAPI_accum (int EventSet, long long *values)
 
int PAPI_add_event (int EventSet, int Event)
 
int PAPI_add_named_event (int EventSet, const char *EventName)
 
int PAPI_add_events (int EventSet, int *Events, int number)
 
int PAPI_assign_eventset_component (int EventSet, int cidx)
 
int PAPI_attach (int EventSet, unsigned long tid)
 
int PAPI_cleanup_eventset (int EventSet)
 
int PAPI_create_eventset (int *EventSet)
 
int PAPI_detach (int EventSet)
 
int PAPI_destroy_eventset (int *EventSet)
 
int PAPI_enum_event (int *EventCode, int modifier)
 
int PAPI_enum_cmp_event (int *EventCode, int modifier, int cidx)
 
int PAPI_event_code_to_name (int EventCode, char *out)
 
int PAPI_event_name_to_code (const char *in, int *out)
 
int PAPI_get_dmem_info (PAPI_dmem_info_t *dest)
 
int PAPI_get_event_info (int EventCode, PAPI_event_info_t *info)
 
const PAPI_exe_info_tPAPI_get_executable_info (void)
 
const PAPI_hw_info_tPAPI_get_hardware_info (void)
 
const PAPI_component_info_tPAPI_get_component_info (int cidx)
 
int PAPI_get_multiplex (int EventSet)
 
int PAPI_get_opt (int option, PAPI_option_t *ptr)
 
int PAPI_get_cmp_opt (int option, PAPI_option_t *ptr, int cidx)
 
long long PAPI_get_real_cyc (void)
 
long long PAPI_get_real_nsec (void)
 
long long PAPI_get_real_usec (void)
 
const PAPI_shlib_info_tPAPI_get_shared_lib_info (void)
 
int PAPI_get_thr_specific (int tag, void **ptr)
 
int PAPI_get_overflow_event_index (int Eventset, long long overflow_vector, int *array, int *number)
 
long long PAPI_get_virt_cyc (void)
 
long long PAPI_get_virt_nsec (void)
 
long long PAPI_get_virt_usec (void)
 
int PAPI_is_initialized (void)
 
int PAPI_library_init (int version)
 
int PAPI_list_events (int EventSet, int *Events, int *number)
 
int PAPI_list_threads (unsigned long *tids, int *number)
 
int PAPI_lock (int)
 
int PAPI_multiplex_init (void)
 
int PAPI_num_cmp_hwctrs (int cidx)
 
int PAPI_num_events (int EventSet)
 
int PAPI_overflow (int EventSet, int EventCode, int threshold, int flags, PAPI_overflow_handler_t handler)
 
void PAPI_perror (const char *msg)
 
int PAPI_profil (void *buf, unsigned bufsiz, caddr_t offset, unsigned scale, int EventSet, int EventCode, int threshold, int flags)
 
int PAPI_query_event (int EventCode)
 
int PAPI_query_named_event (const char *EventName)
 
int PAPI_read (int EventSet, long long *values)
 
int PAPI_read_ts (int EventSet, long long *values, long long *cyc)
 
int PAPI_register_thread (void)
 
int PAPI_remove_event (int EventSet, int EventCode)
 
int PAPI_remove_named_event (int EventSet, const char *EventName)
 
int PAPI_remove_events (int EventSet, int *Events, int number)
 
int PAPI_reset (int EventSet)
 
int PAPI_set_debug (int level)
 
int PAPI_set_cmp_domain (int domain, int cidx)
 
int PAPI_set_domain (int domain)
 
int PAPI_set_cmp_granularity (int granularity, int cidx)
 
int PAPI_set_granularity (int granularity)
 
int PAPI_set_multiplex (int EventSet)
 
int PAPI_set_opt (int option, PAPI_option_t *ptr)
 
int PAPI_set_thr_specific (int tag, void *ptr)
 
void PAPI_shutdown (void)
 
int PAPI_sprofil (PAPI_sprofil_t *prof, int profcnt, int EventSet, int EventCode, int threshold, int flags)
 
int PAPI_start (int EventSet)
 
int PAPI_state (int EventSet, int *status)
 
int PAPI_stop (int EventSet, long long *values)
 
char * PAPI_strerror (int)
 
unsigned long PAPI_thread_id (void)
 
int PAPI_thread_init (unsigned long(*id_fn)(void))
 
int PAPI_unlock (int)
 
int PAPI_unregister_thread (void)
 
int PAPI_write (int EventSet, long long *values)
 
int PAPI_get_event_component (int EventCode)
 
int PAPI_get_eventset_component (int EventSet)
 
int PAPI_get_component_index (const char *name)
 
int PAPI_disable_component (int cidx)
 
int PAPI_disable_component_by_name (const char *name)
 
int PAPI_accum_counters (long long *values, int array_len)
 
int PAPI_num_counters (void)
 
int PAPI_num_components (void)
 
int PAPI_read_counters (long long *values, int array_len)
 
int PAPI_start_counters (int *events, int array_len)
 
int PAPI_stop_counters (long long *values, int array_len)
 
int PAPI_flips (float *rtime, float *ptime, long long *flpins, float *mflips)
 
int PAPI_flops (float *rtime, float *ptime, long long *flpops, float *mflops)
 
int PAPI_ipc (float *rtime, float *ptime, long long *ins, float *ipc)
 
int PAPI_epc (int event, float *rtime, float *ptime, long long *ref, long long *core, long long *evt, float *epc)
 
int PAPI_num_hwctrs (void)
 
static void Fortran2cstring (char *cstring, char *Fstring, int clen, int Flen)
 
void papif_accum_ (int *EventSet, long long *values, int *check)
 
void papif_add_event_ (int *EventSet, int *Event, int *check)
 
void papif_add_named_event_ (int *EventSet, char *EventName, int *check, int Event_len)
 
void papif_add_events_ (int *EventSet, int *Events, int *number, int *check)
 
void papif_cleanup_eventset_ (int *EventSet, int *check)
 
void papif_create_eventset_ (int *EventSet, int *check)
 
void papif_assign_eventset_component_ (int *EventSet, int *cidx, int *check)
 
void papif_destroy_eventset_ (int *EventSet, int *check)
 
void papif_get_dmem_info_ (long long *dest, int *check)
 
void papif_get_exe_info_ (char *fullname, char *name, long long *text_start, long long *text_end, long long *data_start, long long *data_end, long long *bss_start, long long *bss_end, int *check, int fullname_len, int name_len)
 
void papif_get_hardware_info_ (int *ncpu, int *nnodes, int *totalcpus, int *vendor, char *vendor_str, int *model, char *model_str, float *revision, float *mhz, int vendor_len, int model_len)
 
void papif_num_hwctrs_ (int *num)
 
void papif_num_cmp_hwctrs_ (int *cidx, int *num)
 
void papif_get_real_cyc_ (long long *real_cyc)
 
void papif_get_real_usec_ (long long *time)
 
void papif_get_real_nsec_ (long long *time)
 
void papif_get_virt_cyc_ (long long *virt_cyc)
 
void papif_get_virt_usec_ (long long *time)
 
void papif_is_initialized_ (int *level)
 
void papif_library_init_ (int *check)
 
void papif_thread_id_ (unsigned long *id)
 
void papif_register_thread_ (int *check)
 
void papif_unregister_thread_ (int *check)
 
void papif_unregster_thread_ (int *check)
 
void papif_thread_init_ (unsigned long int(*handle)(void), int *check)
 
void papif_list_events_ (int *EventSet, int *Events, int *number, int *check)
 
void papif_multiplex_init_ (int *check)
 
void papif_get_multiplex_ (int *EventSet, int *check)
 
void papif_set_multiplex_ (int *EventSet, int *check)
 
void papif_perror_ (char *message, int message_len)
 
void papif_query_event_ (int *EventCode, int *check)
 
void papif_query_named_event_ (char *EventName, int *check, int Event_len)
 
void papif_get_event_info_ (int *EventCode, char *symbol, char *long_descr, char *short_descr, int *count, char *event_note, int *flags, int *check, int symbol_len, int long_descr_len, int short_descr_len, int event_note_len)
 
void papif_event_code_to_name_ (int *EventCode, char *out_str, int *check, int out_len)
 
void papif_event_name_to_code_ (char *in_str, int *out, int *check, int in_len)
 
void papif_num_events_ (int *EventCode, int *count)
 
void papif_enum_event_ (int *EventCode, int *modifier, int *check)
 
void papif_read_ (int *EventSet, long long *values, int *check)
 
void papif_read_ts_ (int *EventSet, long long *values, long long *cycles, int *check)
 
void papif_remove_event_ (int *EventSet, int *Event, int *check)
 
void papif_remove_named_event_ (int *EventSet, char *EventName, int *check, int Event_len)
 
void papif_remove_events_ (int *EventSet, int *Events, int *number, int *check)
 
void papif_reset_ (int *EventSet, int *check)
 
void papif_set_debug_ (int *debug, int *check)
 
void papif_set_domain_ (int *domain, int *check)
 
void papif_set_cmp_domain_ (int *domain, int *cidx, int *check)
 
void papif_set_granularity_ (int *granularity, int *check)
 
void papif_set_cmp_granularity_ (int *granularity, int *cidx, int *check)
 
void papif_shutdown_ (void)
 
void papif_start_ (int *EventSet, int *check)
 
void papif_state_ (int *EventSet, int *status, int *check)
 
void papif_stop_ (int *EventSet, long long *values, int *check)
 
void papif_write_ (int *EventSet, long long *values, int *check)
 
void papif_lock_ (int *lock, int *check)
 
void papif_unlock_ (int *lock, int *check)
 
void papif_start_counters_ (int *events, int *array_len, int *check)
 
void papif_read_counters_ (long long *values, int *array_len, int *check)
 
void papif_stop_counters_ (long long *values, int *array_len, int *check)
 
void papif_accum_counters_ (long long *values, int *array_len, int *check)
 
void papif_num_counters_ (int *numevents)
 
void papif_ipc_ (float *rtime, float *ptime, long long *ins, float *ipc, int *check)
 
void papif_epc_ (int event, float *rtime, float *ptime, long long *ref, long long *core, long long *evt, float *epc, int *check)
 
void papif_flips_ (float *real_time, float *proc_time, long long *flpins, float *mflips, int *check)
 
void papif_flops_ (float *real_time, float *proc_time, long long *flpops, float *mflops, int *check)
 
void papif_get_clockrate_ (int *cr)
 
void papif_get_preload_ (char *lib_preload_env, int *check, int lib_preload_env_len)
 
void papif_get_granularity_ (int *eventset, int *granularity, int *mode, int *check)
 
void papif_get_domain_ (int *eventset, int *domain, int *mode, int *check)
 
void papif_set_event_domain_ (int *es, int *domain, int *check)
 
void papif_set_inherit_ (int *inherit, int *check)
 

Variables

__extension__ typedef long long int greg_t
 
struct _IO_FILE_plus _IO_2_1_stdin_
 
struct _IO_FILE_plus _IO_2_1_stdout_
 
struct _IO_FILE_plus _IO_2_1_stderr_
 
int __leaf__
 
const char *const _sys_siglist [(64+1)]
 
const char *const sys_siglist [(64+1)]
 
 PAPI_all_thr_spec_t
 

Typedef Documentation

◆ __blkcnt64_t

typedef long int __blkcnt64_t

Definition at line 122 of file papi_fwrappers_.c.

◆ __blkcnt_t

typedef long int __blkcnt_t

Definition at line 121 of file papi_fwrappers_.c.

◆ __blksize_t

typedef long int __blksize_t

Definition at line 116 of file papi_fwrappers_.c.

◆ __caddr_t

typedef char* __caddr_t

Definition at line 145 of file papi_fwrappers_.c.

◆ __clock_t

typedef long int __clock_t

Definition at line 98 of file papi_fwrappers_.c.

◆ __clockid_t

typedef int __clockid_t

Definition at line 110 of file papi_fwrappers_.c.

◆ __daddr_t

typedef int __daddr_t

Definition at line 106 of file papi_fwrappers_.c.

◆ __dev_t

typedef unsigned long int __dev_t

Definition at line 87 of file papi_fwrappers_.c.

◆ __fd_mask

typedef long int __fd_mask

Definition at line 1362 of file papi_fwrappers_.c.

◆ __fsblkcnt64_t

typedef unsigned long int __fsblkcnt64_t

Definition at line 126 of file papi_fwrappers_.c.

◆ __fsblkcnt_t

typedef unsigned long int __fsblkcnt_t

Definition at line 125 of file papi_fwrappers_.c.

◆ __fsfilcnt64_t

typedef unsigned long int __fsfilcnt64_t

Definition at line 130 of file papi_fwrappers_.c.

◆ __fsfilcnt_t

typedef unsigned long int __fsfilcnt_t

Definition at line 129 of file papi_fwrappers_.c.

◆ __fsword_t

typedef long int __fsword_t

Definition at line 133 of file papi_fwrappers_.c.

◆ __gid_t

typedef unsigned int __gid_t

Definition at line 89 of file papi_fwrappers_.c.

◆ __gnuc_va_list

typedef __builtin_va_list __gnuc_va_list

Definition at line 214 of file papi_fwrappers_.c.

◆ __id_t

typedef unsigned int __id_t

Definition at line 101 of file papi_fwrappers_.c.

◆ __ino64_t

typedef unsigned long int __ino64_t

Definition at line 91 of file papi_fwrappers_.c.

◆ __ino_t

typedef unsigned long int __ino_t

Definition at line 90 of file papi_fwrappers_.c.

◆ __int16_t

typedef signed short int __int16_t

Definition at line 57 of file papi_fwrappers_.c.

◆ __int32_t

typedef signed int __int32_t

Definition at line 59 of file papi_fwrappers_.c.

◆ __int64_t

typedef signed long int __int64_t

Definition at line 62 of file papi_fwrappers_.c.

◆ __int8_t

typedef signed char __int8_t

Definition at line 55 of file papi_fwrappers_.c.

◆ __intmax_t

typedef long int __intmax_t

Definition at line 80 of file papi_fwrappers_.c.

◆ __intptr_t

typedef long int __intptr_t

Definition at line 148 of file papi_fwrappers_.c.

◆ __io_close_fn

typedef int __io_close_fn(void *__cookie)

Definition at line 338 of file papi_fwrappers_.c.

◆ __io_read_fn

typedef __ssize_t __io_read_fn(void *__cookie, char *__buf, size_t __nbytes)

Definition at line 318 of file papi_fwrappers_.c.

◆ __io_seek_fn

typedef int __io_seek_fn(void *__cookie, __off64_t *__pos, int __w)

Definition at line 335 of file papi_fwrappers_.c.

◆ __io_write_fn

typedef __ssize_t __io_write_fn(void *__cookie, const char *__buf, size_t __n)

Definition at line 326 of file papi_fwrappers_.c.

◆ __key_t

typedef int __key_t

Definition at line 107 of file papi_fwrappers_.c.

◆ __locale_t

typedef struct __locale_struct* __locale_t

Definition at line 907 of file papi_fwrappers_.c.

◆ __loff_t

Definition at line 144 of file papi_fwrappers_.c.

◆ __mode_t

typedef unsigned int __mode_t

Definition at line 92 of file papi_fwrappers_.c.

◆ __nlink_t

typedef unsigned long int __nlink_t

Definition at line 93 of file papi_fwrappers_.c.

◆ __off64_t

typedef long int __off64_t

Definition at line 95 of file papi_fwrappers_.c.

◆ __off_t

typedef long int __off_t

Definition at line 94 of file papi_fwrappers_.c.

◆ __pid_t

typedef int __pid_t

Definition at line 96 of file papi_fwrappers_.c.

◆ __quad_t

typedef long int __quad_t

Definition at line 71 of file papi_fwrappers_.c.

◆ __rlim64_t

typedef unsigned long int __rlim64_t

Definition at line 100 of file papi_fwrappers_.c.

◆ __rlim_t

typedef unsigned long int __rlim_t

Definition at line 99 of file papi_fwrappers_.c.

◆ __sig_atomic_t

typedef int __sig_atomic_t

Definition at line 156 of file papi_fwrappers_.c.

◆ __sighandler_t

typedef void(* __sighandler_t) (int)

Definition at line 2145 of file papi_fwrappers_.c.

◆ __socklen_t

typedef unsigned int __socklen_t

Definition at line 151 of file papi_fwrappers_.c.

◆ __ssize_t

typedef long int __ssize_t

Definition at line 135 of file papi_fwrappers_.c.

◆ __suseconds_t

typedef long int __suseconds_t

Definition at line 104 of file papi_fwrappers_.c.

◆ __syscall_slong_t

typedef long int __syscall_slong_t

Definition at line 138 of file papi_fwrappers_.c.

◆ __syscall_ulong_t

typedef unsigned long int __syscall_ulong_t

Definition at line 140 of file papi_fwrappers_.c.

◆ __time_t

typedef long int __time_t

Definition at line 102 of file papi_fwrappers_.c.

◆ __timer_t

typedef void* __timer_t

Definition at line 113 of file papi_fwrappers_.c.

◆ __u_char

typedef unsigned char __u_char

Definition at line 49 of file papi_fwrappers_.c.

◆ __u_int

typedef unsigned int __u_int

Definition at line 51 of file papi_fwrappers_.c.

◆ __u_long

typedef unsigned long int __u_long

Definition at line 52 of file papi_fwrappers_.c.

◆ __u_quad_t

typedef unsigned long int __u_quad_t

Definition at line 72 of file papi_fwrappers_.c.

◆ __u_short

typedef unsigned short int __u_short

Definition at line 50 of file papi_fwrappers_.c.

◆ __uid_t

typedef unsigned int __uid_t

Definition at line 88 of file papi_fwrappers_.c.

◆ __uint16_t

typedef unsigned short int __uint16_t

Definition at line 58 of file papi_fwrappers_.c.

◆ __uint32_t

typedef unsigned int __uint32_t

Definition at line 60 of file papi_fwrappers_.c.

◆ __uint64_t

typedef unsigned long int __uint64_t

Definition at line 63 of file papi_fwrappers_.c.

◆ __uint8_t

typedef unsigned char __uint8_t

Definition at line 56 of file papi_fwrappers_.c.

◆ __uintmax_t

typedef unsigned long int __uintmax_t

Definition at line 81 of file papi_fwrappers_.c.

◆ __useconds_t

typedef unsigned int __useconds_t

Definition at line 103 of file papi_fwrappers_.c.

◆ _IO_lock_t

typedef void _IO_lock_t

Definition at line 217 of file papi_fwrappers_.c.

◆ blkcnt_t

Definition at line 1432 of file papi_fwrappers_.c.

◆ blksize_t

Definition at line 1425 of file papi_fwrappers_.c.

◆ caddr_t

typedef char* caddr_t

Definition at line 2577 of file papi_fwrappers_.c.

◆ fd_mask

typedef __fd_mask fd_mask

Definition at line 1382 of file papi_fwrappers_.c.

◆ fsblkcnt_t

Definition at line 1436 of file papi_fwrappers_.c.

◆ fsfilcnt_t

Definition at line 1440 of file papi_fwrappers_.c.

◆ gregset_t

typedef greg_t gregset_t[23]

Definition at line 2432 of file papi_fwrappers_.c.

◆ locale_t

Definition at line 910 of file papi_fwrappers_.c.

◆ PAPI_debug_handler_t

typedef int(* PAPI_debug_handler_t) (int code)

Definition at line 2688 of file papi_fwrappers_.c.

◆ PAPI_overflow_handler_t

typedef void(* PAPI_overflow_handler_t) (int EventSet, void *address, long long overflow_vector, void *context)

Definition at line 2569 of file papi_fwrappers_.c.

◆ PAPI_user_defined_events_file_t

Definition at line 2722 of file papi_fwrappers_.c.

◆ pthread_key_t

typedef unsigned int pthread_key_t

Definition at line 1562 of file papi_fwrappers_.c.

◆ pthread_once_t

typedef int pthread_once_t

Definition at line 1566 of file papi_fwrappers_.c.

◆ pthread_spinlock_t

typedef volatile int pthread_spinlock_t

Definition at line 1616 of file papi_fwrappers_.c.

◆ pthread_t

typedef unsigned long int pthread_t

Definition at line 1540 of file papi_fwrappers_.c.

◆ sig_atomic_t

Definition at line 1845 of file papi_fwrappers_.c.

◆ sigset_t

Definition at line 1325 of file papi_fwrappers_.c.

◆ sigval_t

typedef __sigval_t sigval_t

Definition at line 2091 of file papi_fwrappers_.c.

◆ size_t

typedef long unsigned int size_t

Definition at line 40 of file papi_fwrappers_.c.

◆ suseconds_t

Definition at line 1356 of file papi_fwrappers_.c.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SI_ASYNCNL 
SI_TKILL 
SI_SIGIO 
SI_ASYNCIO 
SI_MESGQ 
SI_TIMER 
SI_QUEUE 
SI_USER 
SI_KERNEL 

Definition at line 1961 of file papi_fwrappers_.c.

1962 {
1963  SI_ASYNCNL = -60,
1964  SI_TKILL = -6,
1965  SI_SIGIO,
1966 
1967  SI_ASYNCIO,
1968  SI_MESGQ,
1969  SI_TIMER,
1970 
1971 
1972 
1973 
1974 
1975  SI_QUEUE,
1976  SI_USER,
1977  SI_KERNEL = 0x80
1978 # 63 "/usr/include/bits/siginfo-consts.h" 3 4
1979 };

◆ anonymous enum

anonymous enum
Enumerator
ILL_ILLOPC 
ILL_ILLOPN 
ILL_ILLADR 
ILL_ILLTRP 
ILL_PRVOPC 
ILL_PRVREG 
ILL_COPROC 
ILL_BADSTK 

Definition at line 1984 of file papi_fwrappers_.c.

1985 {
1986  ILL_ILLOPC = 1,
1987 
1988  ILL_ILLOPN,
1989 
1990  ILL_ILLADR,
1991 
1992  ILL_ILLTRP,
1993 
1994  ILL_PRVOPC,
1995 
1996  ILL_PRVREG,
1997 
1998  ILL_COPROC,
1999 
2000  ILL_BADSTK
2001 
2002 };

◆ anonymous enum

anonymous enum
Enumerator
FPE_INTDIV 
FPE_INTOVF 
FPE_FLTDIV 
FPE_FLTOVF 
FPE_FLTUND 
FPE_FLTRES 
FPE_FLTINV 
FPE_FLTSUB 

Definition at line 2005 of file papi_fwrappers_.c.

2006 {
2007  FPE_INTDIV = 1,
2008 
2009  FPE_INTOVF,
2010 
2011  FPE_FLTDIV,
2012 
2013  FPE_FLTOVF,
2014 
2015  FPE_FLTUND,
2016 
2017  FPE_FLTRES,
2018 
2019  FPE_FLTINV,
2020 
2021  FPE_FLTSUB
2022 
2023 };

◆ anonymous enum

anonymous enum
Enumerator
SEGV_MAPERR 
SEGV_ACCERR 
SEGV_BNDERR 
SEGV_PKUERR 

Definition at line 2026 of file papi_fwrappers_.c.

2027 {
2028  SEGV_MAPERR = 1,
2029 
2030  SEGV_ACCERR,
2031 
2032  SEGV_BNDERR,
2033 
2034  SEGV_PKUERR
2035 
2036 };

◆ anonymous enum

anonymous enum
Enumerator
BUS_ADRALN 
BUS_ADRERR 
BUS_OBJERR 
BUS_MCEERR_AR 
BUS_MCEERR_AO 

Definition at line 2039 of file papi_fwrappers_.c.

2040 {
2041  BUS_ADRALN = 1,
2042 
2043  BUS_ADRERR,
2044 
2045  BUS_OBJERR,
2046 
2047  BUS_MCEERR_AR,
2048 
2050 
2051 };

◆ anonymous enum

anonymous enum
Enumerator
CLD_EXITED 
CLD_KILLED 
CLD_DUMPED 
CLD_TRAPPED 
CLD_STOPPED 
CLD_CONTINUED 

Definition at line 2053 of file papi_fwrappers_.c.

2054 {
2055  CLD_EXITED = 1,
2056 
2057  CLD_KILLED,
2058 
2059  CLD_DUMPED,
2060 
2061  CLD_TRAPPED,
2062 
2063  CLD_STOPPED,
2064 
2066 
2067 };

◆ anonymous enum

anonymous enum
Enumerator
POLL_IN 
POLL_OUT 
POLL_MSG 
POLL_ERR 
POLL_PRI 
POLL_HUP 

Definition at line 2070 of file papi_fwrappers_.c.

2071 {
2072  POLL_IN = 1,
2073 
2074  POLL_OUT,
2075 
2076  POLL_MSG,
2077 
2078  POLL_ERR,
2079 
2080  POLL_PRI,
2081 
2082  POLL_HUP
2083 
2084 };

◆ anonymous enum

anonymous enum
Enumerator
SIGEV_SIGNAL 
SIGEV_NONE 
SIGEV_THREAD 
SIGEV_THREAD_ID 

Definition at line 2127 of file papi_fwrappers_.c.

2128 {
2129  SIGEV_SIGNAL = 0,
2130 
2131  SIGEV_NONE,
2132 
2133  SIGEV_THREAD,
2134 
2135 
2136  SIGEV_THREAD_ID = 4
2137 
2138 
2139 };

◆ anonymous enum

anonymous enum
Enumerator
SS_ONSTACK 
SS_DISABLE 

Definition at line 2498 of file papi_fwrappers_.c.

2499 {
2500  SS_ONSTACK = 1,
2501 
2502  SS_DISABLE
2503 
2504 };

◆ anonymous enum

anonymous enum
Enumerator
PAPI_LOCATION_CORE 
PAPI_LOCATION_CPU 
PAPI_LOCATION_PACKAGE 
PAPI_LOCATION_UNCORE 

Definition at line 2861 of file papi_fwrappers_.c.

◆ anonymous enum

anonymous enum
Enumerator
PAPI_DATATYPE_INT64 
PAPI_DATATYPE_UINT64 
PAPI_DATATYPE_FP64 
PAPI_DATATYPE_BIT64 

Definition at line 2869 of file papi_fwrappers_.c.

◆ anonymous enum

anonymous enum
Enumerator
PAPI_VALUETYPE_RUNNING_SUM 
PAPI_VALUETYPE_ABSOLUTE 

Definition at line 2877 of file papi_fwrappers_.c.

◆ anonymous enum

anonymous enum
Enumerator
PAPI_TIMESCOPE_SINCE_START 
PAPI_TIMESCOPE_SINCE_LAST 
PAPI_TIMESCOPE_UNTIL_NEXT 
PAPI_TIMESCOPE_POINT 

Definition at line 2883 of file papi_fwrappers_.c.

◆ anonymous enum

anonymous enum
Enumerator
PAPI_UPDATETYPE_ARBITRARY 
PAPI_UPDATETYPE_PUSH 
PAPI_UPDATETYPE_PULL 
PAPI_UPDATETYPE_FIXEDFREQ 

Definition at line 2891 of file papi_fwrappers_.c.

◆ anonymous enum

anonymous enum
Enumerator
PAPI_L1_DCM_idx 
PAPI_L1_ICM_idx 
PAPI_L2_DCM_idx 
PAPI_L2_ICM_idx 
PAPI_L3_DCM_idx 
PAPI_L3_ICM_idx 
PAPI_L1_TCM_idx 
PAPI_L2_TCM_idx 
PAPI_L3_TCM_idx 
PAPI_CA_SNP_idx 
PAPI_CA_SHR_idx 
PAPI_CA_CLN_idx 
PAPI_CA_INV_idx 
PAPI_CA_ITV_idx 
PAPI_L3_LDM_idx 
PAPI_L3_STM_idx 
PAPI_BRU_IDL_idx 
PAPI_FXU_IDL_idx 
PAPI_FPU_IDL_idx 
PAPI_LSU_IDL_idx 
PAPI_TLB_DM_idx 
PAPI_TLB_IM_idx 
PAPI_TLB_TL_idx 
PAPI_L1_LDM_idx 
PAPI_L1_STM_idx 
PAPI_L2_LDM_idx 
PAPI_L2_STM_idx 
PAPI_BTAC_M_idx 
PAPI_PRF_DM_idx 
PAPI_L3_DCH_idx 
PAPI_TLB_SD_idx 
PAPI_CSR_FAL_idx 
PAPI_CSR_SUC_idx 
PAPI_CSR_TOT_idx 
PAPI_MEM_SCY_idx 
PAPI_MEM_RCY_idx 
PAPI_MEM_WCY_idx 
PAPI_STL_ICY_idx 
PAPI_FUL_ICY_idx 
PAPI_STL_CCY_idx 
PAPI_FUL_CCY_idx 
PAPI_HW_INT_idx 
PAPI_BR_UCN_idx 
PAPI_BR_CN_idx 
PAPI_BR_TKN_idx 
PAPI_BR_NTK_idx 
PAPI_BR_MSP_idx 
PAPI_BR_PRC_idx 
PAPI_FMA_INS_idx 
PAPI_TOT_IIS_idx 
PAPI_TOT_INS_idx 
PAPI_INT_INS_idx 
PAPI_FP_INS_idx 
PAPI_LD_INS_idx 
PAPI_SR_INS_idx 
PAPI_BR_INS_idx 
PAPI_VEC_INS_idx 
PAPI_RES_STL_idx 
PAPI_FP_STAL_idx 
PAPI_TOT_CYC_idx 
PAPI_LST_INS_idx 
PAPI_SYC_INS_idx 
PAPI_L1_DCH_idx 
PAPI_L2_DCH_idx 
PAPI_L1_DCA_idx 
PAPI_L2_DCA_idx 
PAPI_L3_DCA_idx 
PAPI_L1_DCR_idx 
PAPI_L2_DCR_idx 
PAPI_L3_DCR_idx 
PAPI_L1_DCW_idx 
PAPI_L2_DCW_idx 
PAPI_L3_DCW_idx 
PAPI_L1_ICH_idx 
PAPI_L2_ICH_idx 
PAPI_L3_ICH_idx 
PAPI_L1_ICA_idx 
PAPI_L2_ICA_idx 
PAPI_L3_ICA_idx 
PAPI_L1_ICR_idx 
PAPI_L2_ICR_idx 
PAPI_L3_ICR_idx 
PAPI_L1_ICW_idx 
PAPI_L2_ICW_idx 
PAPI_L3_ICW_idx 
PAPI_L1_TCH_idx 
PAPI_L2_TCH_idx 
PAPI_L3_TCH_idx 
PAPI_L1_TCA_idx 
PAPI_L2_TCA_idx 
PAPI_L3_TCA_idx 
PAPI_L1_TCR_idx 
PAPI_L2_TCR_idx 
PAPI_L3_TCR_idx 
PAPI_L1_TCW_idx 
PAPI_L2_TCW_idx 
PAPI_L3_TCW_idx 
PAPI_FML_INS_idx 
PAPI_FAD_INS_idx 
PAPI_FDV_INS_idx 
PAPI_FSQ_INS_idx 
PAPI_FNV_INS_idx 
PAPI_FP_OPS_idx 
PAPI_SP_OPS_idx 
PAPI_DP_OPS_idx 
PAPI_VEC_SP_idx 
PAPI_VEC_DP_idx 
PAPI_REF_CYC_idx 
PAPI_END_idx 

Definition at line 1674 of file papi_fwrappers_.c.

1675 {
1676  PAPI_L1_DCM_idx = 0,
1692 
1709 
1726 
1743 
1760 
1777 
1790  PAPI_END_idx
1791 };

◆ anonymous enum

anonymous enum
Enumerator
PAPI_ENUM_EVENTS 
PAPI_ENUM_FIRST 
PAPI_PRESET_ENUM_AVAIL 
PAPI_PRESET_ENUM_MSC 
PAPI_PRESET_ENUM_INS 
PAPI_PRESET_ENUM_IDL 
PAPI_PRESET_ENUM_BR 
PAPI_PRESET_ENUM_CND 
PAPI_PRESET_ENUM_MEM 
PAPI_PRESET_ENUM_CACH 
PAPI_PRESET_ENUM_L1 
PAPI_PRESET_ENUM_L2 
PAPI_PRESET_ENUM_L3 
PAPI_PRESET_ENUM_TLB 
PAPI_PRESET_ENUM_FP 
PAPI_NTV_ENUM_UMASKS 
PAPI_NTV_ENUM_UMASK_COMBOS 
PAPI_NTV_ENUM_IARR 
PAPI_NTV_ENUM_DARR 
PAPI_NTV_ENUM_OPCM 
PAPI_NTV_ENUM_IEAR 
PAPI_NTV_ENUM_DEAR 
PAPI_NTV_ENUM_GROUPS 

Definition at line 1794 of file papi_fwrappers_.c.

1794  {
1795  PAPI_ENUM_EVENTS = 0,
1798 
1799 
1812 
1813 
1822 };

◆ __codecvt_result

Enumerator
__codecvt_ok 
__codecvt_partial 
__codecvt_error 
__codecvt_noconv 
__codecvt_ok 
__codecvt_partial 
__codecvt_error 
__codecvt_noconv 
__codecvt_ok 
__codecvt_partial 
__codecvt_error 
__codecvt_noconv 

Definition at line 239 of file papi_fwrappers_.c.

Function Documentation

◆ __attribute__() [1/4]

int __leaf__ __attribute__ ( (__pure__)  )

Definition at line 915 of file papi_fwrappers_.c.

1267 {
1268  return __builtin_bswap32 (__bsx);
1269 }

◆ __attribute__() [2/4]

__dev_t __leaf__ __attribute__ ( (__const__)  )

◆ __attribute__() [3/4]

int __leaf__ __attribute__ ( (__deprecated__)  )

◆ __attribute__() [4/4]

int __leaf__ __attribute__ ( (__nonnull__(1))  )

◆ __bswap_64()

static __inline __uint64_t __bswap_64 ( __uint64_t  __bsx)
static

Definition at line 1272 of file papi_fwrappers_.c.

1273 {
1274  return __builtin_bswap64 (__bsx);
1275 }

◆ __libc_current_sigrtmin()

int __libc_current_sigrtmin ( void  )

Definition at line 2548 of file papi_fwrappers_.c.

2563  {
2564  int num;
2565  PAPI_thread_id_t *id;
2566  void **data;
PAPI_all_thr_spec_t
unsigned long PAPI_thread_id_t
Definition: papi.h:558

◆ __overflow()

int __overflow ( _IO_FILE ,
int   
)

◆ __sysv_signal()

__sighandler_t __sysv_signal ( int  __sig,
__sighandler_t  __handler 
)

◆ __uflow()

int __uflow ( _IO_FILE )

◆ __uint16_identity()

static __inline __uint16_t __uint16_identity ( __uint16_t  __x)
static

Definition at line 1280 of file papi_fwrappers_.c.

1281 {
1282  return __x;
1283 }

◆ __uint32_identity()

static __inline __uint32_t __uint32_identity ( __uint32_t  __x)
static

Definition at line 1286 of file papi_fwrappers_.c.

1287 {
1288  return __x;
1289 }

◆ __uint64_identity()

static __inline __uint64_t __uint64_identity ( __uint64_t  __x)
static

Definition at line 1292 of file papi_fwrappers_.c.

1293 {
1294  return __x;
1295 }

◆ __underflow()

int __underflow ( _IO_FILE )

◆ _IO_feof()

int _IO_feof ( _IO_FILE __fp)

◆ _IO_ferror()

int _IO_ferror ( _IO_FILE __fp)

◆ _IO_flockfile()

void _IO_flockfile ( _IO_FILE )

Definition at line 355 of file papi_fwrappers_.c.

894 {
895 
896  struct __locale_data *__locales[13];
897 
898 
899  const unsigned short int *__ctype_b;
900  const int *__ctype_tolower;
901  const int *__ctype_toupper;
902 
903 
904  const char *__names[13];
905 };

◆ _IO_getc()

int _IO_getc ( _IO_FILE __fp)

◆ _IO_peekc_locked()

int _IO_peekc_locked ( _IO_FILE __fp)

◆ _IO_putc()

int _IO_putc ( int  __c,
_IO_FILE __fp 
)

◆ Fortran2cstring()

static void Fortran2cstring ( char *  cstring,
char *  Fstring,
int  clen,
int  Flen 
)
static

Definition at line 3067 of file papi_fwrappers_.c.

3068 {
3069  int slen, i;
3070 
3071 
3072  slen = Flen < clen ? Flen : clen;
3073  strncpy( cstring, Fstring, ( size_t ) slen );
3074 
3075 
3076  for ( i = slen - 1; i > -1 && cstring[i] == ' '; cstring[i--] = '\0' );
3077 
3078 
3079  cstring[clen - 1] = '\0';
3080  if ( slen < clen )
3081  cstring[slen] = '\0';
3082 }
int i
Definition: fileop.c:140
Here is the caller graph for this function:

◆ gnu_dev_major()

unsigned int gnu_dev_major ( __dev_t  __dev)

◆ gnu_dev_makedev()

__dev_t gnu_dev_makedev ( unsigned int  __major,
unsigned int  __minor 
)

◆ gnu_dev_minor()

unsigned int gnu_dev_minor ( __dev_t  __dev)

◆ gsignal()

int gsignal ( int  __sig)

◆ kill()

int kill ( __pid_t  __pid,
int  __sig 
)
Here is the caller graph for this function:

◆ killpg()

int killpg ( __pid_t  __pgrp,
int  __sig 
)

◆ PAPI_num_hwctrs()

int PAPI_num_hwctrs ( void  )

return the number of hardware counters for the cpu. for backward compatibility. Don't use!

Definition at line 3909 of file papi.c.

3910 {
3911  APIDBG( "Entry:\n");
3912  return ( PAPI_num_cmp_hwctrs( 0 ) );
3913 }
#define APIDBG(format, args...)
Definition: papi_debug.h:64
int PAPI_num_cmp_hwctrs(int cidx)
Definition: papi.c:3965

◆ PAPI_thread_init()

int PAPI_thread_init ( unsigned long(*)(void)  id_fn)
Here is the caller graph for this function:

◆ papif_accum_()

void papif_accum_ ( int *  EventSet,
long long *  values,
int *  check 
)

Definition at line 3084 of file papi_fwrappers_.c.

3086 {
3087  *check = PAPI_accum( *EventSet, values );
3088 }
int EventSet
* check
int PAPI_accum(int EventSet, long long *values)
Definition: papi.c:2745
static long long values[NUM_EVENTS]
Definition: init_fini.c:10
Here is the call graph for this function:

◆ papif_accum_counters_()

void papif_accum_counters_ ( long long *  values,
int *  array_len,
int *  check 
)

Definition at line 3561 of file papi_fwrappers_.c.

3563 {
3564  *check = PAPI_accum_counters( values, *array_len );
3565 }
int PAPI_accum_counters(long long *values, int array_len)
Definition: papi_hl.c:760
* check
static long long values[NUM_EVENTS]
Definition: init_fini.c:10
Here is the call graph for this function:

◆ papif_add_event_()

void papif_add_event_ ( int *  EventSet,
int *  Event,
int *  check 
)

Definition at line 3090 of file papi_fwrappers_.c.

3092 {
3094 }
int PAPI_add_event(int EventSet, int Event)
Definition: papi.c:1663
int EventSet
* check
static int Event[MAX_EVENTS]
Here is the call graph for this function:

◆ papif_add_events_()

void papif_add_events_ ( int *  EventSet,
int *  Events,
int *  number,
int *  check 
)

Definition at line 3104 of file papi_fwrappers_.c.

3106 {
3107  *check = PAPI_add_events( *EventSet, Events, *number );
3108 }
static int Events[NUM_EVENTS]
Definition: init_fini.c:8
int EventSet
int PAPI_add_events(int EventSet, int *Events, int number)
Definition: papi.c:5843
* check
Here is the call graph for this function:

◆ papif_add_named_event_()

void papif_add_named_event_ ( int *  EventSet,
char *  EventName,
int *  check,
int  Event_len 
)

Definition at line 3096 of file papi_fwrappers_.c.

3098 {
3099  char tmp[128];
3100  Fortran2cstring( tmp, EventName, 128, Event_len );
3102 }
int EventSet
static void Fortran2cstring(char *cstring, char *Fstring, int clen, int Flen)
double tmp
* check
int PAPI_add_named_event(int EventSet, const char *EventName)
Definition: papi.c:1876
Here is the call graph for this function:

◆ papif_assign_eventset_component_()

void papif_assign_eventset_component_ ( int *  EventSet,
int *  cidx,
int *  check 
)

Definition at line 3122 of file papi_fwrappers_.c.

3124 {
3126 }
int EventSet
* check
static int cidx
int PAPI_assign_eventset_component(int EventSet, int cidx)
Definition: papi.c:1526
Here is the call graph for this function:

◆ papif_cleanup_eventset_()

void papif_cleanup_eventset_ ( int *  EventSet,
int *  check 
)

Definition at line 3110 of file papi_fwrappers_.c.

3112 {
3114 }
int EventSet
* check
int PAPI_cleanup_eventset(int EventSet)
Definition: papi.c:2890
Here is the call graph for this function:

◆ papif_create_eventset_()

void papif_create_eventset_ ( int *  EventSet,
int *  check 
)

Definition at line 3116 of file papi_fwrappers_.c.

3118 {
3120 }
int EventSet
* check
int PAPI_create_eventset(int *EventSet)
Definition: papi.c:1464
Here is the call graph for this function:

◆ papif_destroy_eventset_()

void papif_destroy_eventset_ ( int *  EventSet,
int *  check 
)

Definition at line 3128 of file papi_fwrappers_.c.

3130 {
3132 }
int EventSet
* check
int PAPI_destroy_eventset(int *EventSet)
Definition: papi.c:2014
Here is the call graph for this function:

◆ papif_enum_event_()

void papif_enum_event_ ( int *  EventCode,
int *  modifier,
int *  check 
)

Definition at line 3432 of file papi_fwrappers_.c.

3434 {
3435  *check = PAPI_enum_event( EventCode, *modifier );
3436 }
int PAPI_enum_event(int *EventCode, int modifier)
Definition: papi.c:1152
* check
Here is the call graph for this function:

◆ papif_epc_()

void papif_epc_ ( int  event,
float *  rtime,
float *  ptime,
long long *  ref,
long long *  core,
long long *  evt,
float *  epc,
int *  check 
)

Definition at line 3579 of file papi_fwrappers_.c.

3583 {
3584  *check = PAPI_epc( event, rtime, ptime, ref, core, evt, epc );
3585 }
* check
int PAPI_epc(int event, float *rtime, float *ptime, long long *ref, long long *core, long long *evt, float *epc)
Definition: papi_hl.c:387
Here is the call graph for this function:

◆ papif_event_code_to_name_()

void papif_event_code_to_name_ ( int *  EventCode,
char *  out_str,
int *  check,
int  out_len 
)

Definition at line 3376 of file papi_fwrappers_.c.

3382 {
3383 
3384  char tmp[128];
3385  int i;
3386  *check = PAPI_event_code_to_name( *EventCode, tmp );
3387 
3388  strncpy( out_str, tmp, ( size_t ) out_len );
3389 
3390  for ( i = ( int ) strlen( tmp ); i < out_len; out_str[i++] = ' ' );
3391 
3392 
3393 
3394 
3395 }
double tmp
* check
int PAPI_event_code_to_name(int EventCode, char *out)
Definition: papi.c:915
int i
Definition: fileop.c:140
Here is the call graph for this function:

◆ papif_event_name_to_code_()

void papif_event_name_to_code_ ( char *  in_str,
int *  out,
int *  check,
int  in_len 
)

Definition at line 3397 of file papi_fwrappers_.c.

3403 {
3404 
3405  int slen, i;
3406  char tmpin[128];
3407 
3408 
3409  slen = in_len < 128 ? in_len : 128;
3410  strncpy( tmpin, in_str, ( size_t ) slen );
3411 
3412 
3413  for ( i = slen - 1; i > -1 && tmpin[i] == ' '; tmpin[i--] = '\0' );
3414 
3415 
3416  tmpin[128 - 1] = '\0';
3417  if ( slen < 128 )
3418  tmpin[slen] = '\0';
3419 
3420  *check = PAPI_event_name_to_code( tmpin, out );
3421 
3422 
3423 
3424 
3425 }
int PAPI_event_name_to_code(const char *in, int *out)
Definition: papi.c:1004
* check
int i
Definition: fileop.c:140
Here is the call graph for this function:

◆ papif_flips_()

void papif_flips_ ( float *  real_time,
float *  proc_time,
long long *  flpins,
float *  mflips,
int *  check 
)

Definition at line 3587 of file papi_fwrappers_.c.

3590 {
3591  *check = PAPI_flips( real_time, proc_time, flpins, mflips );
3592 }
* check
int PAPI_flips(float *rtime, float *ptime, long long *flpins, float *mflips)
Definition: papi_hl.c:204
Here is the call graph for this function:

◆ papif_flops_()

void papif_flops_ ( float *  real_time,
float *  proc_time,
long long *  flpops,
float *  mflops,
int *  check 
)

Definition at line 3594 of file papi_fwrappers_.c.

3597 {
3598  *check = PAPI_flops( real_time, proc_time, flpops, mflops );
3599 }
int PAPI_flops(float *rtime, float *ptime, long long *flpops, float *mflops)
Definition: papi_hl.c:263
* check
Here is the call graph for this function:

◆ papif_get_clockrate_()

void papif_get_clockrate_ ( int *  cr)

Definition at line 3601 of file papi_fwrappers_.c.

3602 {
3603  *cr = PAPI_get_opt( 14, (PAPI_option_t *)
3604 # 1332 "papi_fwrappers.c" 3 4
3605  ((void *)0)
3606 # 1332 "papi_fwrappers.c"
3607  );
3608 }
A pointer to the following is passed to PAPI_set/get_opt()
Definition: papi.h:849
int PAPI_get_opt(int option, PAPI_option_t *ptr)
Definition: papi.c:4143
Here is the call graph for this function:

◆ papif_get_dmem_info_()

void papif_get_dmem_info_ ( long long *  dest,
int *  check 
)

Definition at line 3134 of file papi_fwrappers_.c.

3136 {
3137  *check = PAPI_get_dmem_info( ( PAPI_dmem_info_t * ) dest );
3138 }
* check
A pointer to the following is passed to PAPI_get_dmem_info()
Definition: papi.h:872
int PAPI_get_dmem_info(PAPI_dmem_info_t *dest)
Definition: papi.c:6063
Here is the call graph for this function:

◆ papif_get_domain_()

void papif_get_domain_ ( int *  eventset,
int *  domain,
int *  mode,
int *  check 
)

Definition at line 3652 of file papi_fwrappers_.c.

3654 {
3655  PAPI_option_t d;
3656 
3657  if ( *mode == 4 ) {
3658  *domain = PAPI_get_opt( *mode, (PAPI_option_t *)
3659 # 1416 "papi_fwrappers.c" 3 4
3660  ((void *)0)
3661 # 1416 "papi_fwrappers.c"
3662  );
3663  *check = 0;
3664  } else if ( *mode == 5 ) {
3665  d.domain.eventset = *eventset;
3666  if ( ( *check = PAPI_get_opt( *mode, &d ) ) == 0 ) {
3667  *domain = d.domain.domain;
3668  }
3669  } else {
3670  *check = -1;
3671  }
3672 }
A pointer to the following is passed to PAPI_set/get_opt()
Definition: papi.h:849
* check
int PAPI_get_opt(int option, PAPI_option_t *ptr)
Definition: papi.c:4143
PAPI_domain_option_t domain
Definition: papi.h:856
Here is the call graph for this function:

◆ papif_get_event_info_()

void papif_get_event_info_ ( int *  EventCode,
char *  symbol,
char *  long_descr,
char *  short_descr,
int *  count,
char *  event_note,
int *  flags,
int *  check,
int  symbol_len,
int  long_descr_len,
int  short_descr_len,
int  event_note_len 
)

Definition at line 3345 of file papi_fwrappers_.c.

3347 {
3348  PAPI_event_info_t info;
3349  ( void ) flags;
3350 
3351  int i;
3352  if ( ( *check = PAPI_get_event_info( *EventCode, &info ) ) == 0 ) {
3353  strncpy( symbol, info.symbol, ( size_t ) symbol_len );
3354  for ( i = ( int ) strlen( info.symbol ); i < symbol_len;
3355  symbol[i++] = ' ' );
3356  strncpy( long_descr, info.long_descr, ( size_t ) long_descr_len );
3357  for ( i = ( int ) strlen( info.long_descr ); i < long_descr_len;
3358  long_descr[i++] = ' ' );
3359  strncpy( short_descr, info.short_descr, ( size_t ) short_descr_len );
3360  for ( i = ( int ) strlen( info.short_descr ); i < short_descr_len;
3361  short_descr[i++] = ' ' );
3362 
3363  *count = ( int ) info.count;
3364 
3365  int note_len=0;
3366 
3367  strncpy( event_note, info.note, ( size_t ) event_note_len );
3368  note_len=strlen(info.note);
3369 
3370  for ( i = note_len; i < event_note_len;
3371  event_note[i++] = ' ' );
3372  }
3373 # 766 "papi_fwrappers.c"
3374 }
unsigned int count
Definition: papi.h:988
char long_descr[PAPI_HUGE_STR_LEN]
Definition: papi.h:970
* check
int PAPI_get_event_info(int EventCode, PAPI_event_info_t *info)
Definition: papi.c:835
char symbol[PAPI_HUGE_STR_LEN]
Definition: papi.h:967
char short_descr[PAPI_MIN_STR_LEN]
Definition: papi.h:968
char note[PAPI_HUGE_STR_LEN]
Definition: papi.h:1014
static long count
int i
Definition: fileop.c:140
Here is the call graph for this function:

◆ papif_get_exe_info_()

void papif_get_exe_info_ ( char *  fullname,
char *  name,
long long *  text_start,
long long *  text_end,
long long *  data_start,
long long *  data_end,
long long *  bss_start,
long long *  bss_end,
int *  check,
int  fullname_len,
int  name_len 
)

Definition at line 3140 of file papi_fwrappers_.c.

3142 {
3143  PAPI_option_t e;
3144 
3145 
3146 
3147 
3148 
3149  if ( ( *check = PAPI_get_opt( 17, &e ) ) == 0 ) {
3150 
3151  int i;
3152  strncpy( fullname, e.exe_info->fullname, ( size_t ) fullname_len );
3153  for ( i = ( int ) strlen( e.exe_info->fullname ); i < fullname_len;
3154  fullname[i++] = ' ' );
3155  strncpy( name, e.exe_info->address_info.name, ( size_t ) name_len );
3156  for ( i = ( int ) strlen( e.exe_info->address_info.name ); i < name_len;
3157  name[i++] = ' ' );
3158 
3159 
3160 
3161 
3162  *text_start = ( long ) e.exe_info->address_info.text_start;
3163  *text_end = ( long ) e.exe_info->address_info.text_end;
3164  *data_start = ( long ) e.exe_info->address_info.data_start;
3165  *data_end = ( long ) e.exe_info->address_info.data_end;
3166  *bss_start = ( long ) e.exe_info->address_info.bss_start;
3167  *bss_end = ( long ) e.exe_info->address_info.bss_end;
3168  }
3169 }
static const char * name
Definition: fork_overflow.c:31
caddr_t text_end
Definition: papi.h:699
caddr_t bss_start
Definition: papi.h:702
A pointer to the following is passed to PAPI_set/get_opt()
Definition: papi.h:849
* check
int PAPI_get_opt(int option, PAPI_option_t *ptr)
Definition: papi.c:4143
caddr_t text_start
Definition: papi.h:698
PAPI_address_map_t address_info
Definition: papi.h:710
PAPI_exe_info_t * exe_info
Definition: papi.h:864
caddr_t data_start
Definition: papi.h:700
caddr_t bss_end
Definition: papi.h:703
caddr_t data_end
Definition: papi.h:701
char fullname[PAPI_HUGE_STR_LEN]
Definition: papi.h:709
char name[PAPI_HUGE_STR_LEN]
Definition: papi.h:697
int i
Definition: fileop.c:140
Here is the call graph for this function:

◆ papif_get_granularity_()

void papif_get_granularity_ ( int *  eventset,
int *  granularity,
int *  mode,
int *  check 
)

Definition at line 3634 of file papi_fwrappers_.c.

3636 {
3637  PAPI_option_t g;
3638 
3639  if ( *mode == 6 ) {
3640  *granularity = PAPI_get_opt( *mode, &g );
3641  *check = 0;
3642  } else if ( *mode == 7 ) {
3643  g.granularity.eventset = *eventset;
3644  if ( ( *check = PAPI_get_opt( *mode, &g ) ) == 0 ) {
3645  *granularity = g.granularity.granularity;
3646  }
3647  } else {
3648  *check = -1;
3649  }
3650 }
PAPI_granularity_option_t granularity
Definition: papi.h:854
A pointer to the following is passed to PAPI_set/get_opt()
Definition: papi.h:849
* check
int PAPI_get_opt(int option, PAPI_option_t *ptr)
Definition: papi.c:4143
Here is the call graph for this function:

◆ papif_get_hardware_info_()

void papif_get_hardware_info_ ( int *  ncpu,
int *  nnodes,
int *  totalcpus,
int *  vendor,
char *  vendor_str,
int *  model,
char *  model_str,
float *  revision,
float *  mhz,
int  vendor_len,
int  model_len 
)

Definition at line 3171 of file papi_fwrappers_.c.

3173 {
3174  const PAPI_hw_info_t *hwinfo;
3175  int i;
3176  hwinfo = PAPI_get_hardware_info( );
3177  if ( hwinfo ==
3178 # 320 "papi_fwrappers.c" 3 4
3179  ((void *)0)
3180 # 320 "papi_fwrappers.c"
3181  ) {
3182  *ncpu = 0;
3183  *nnodes = 0;
3184  *totalcpus = 0;
3185  *vendor = 0;
3186  *model = 0;
3187  *revision = 0;
3188  *mhz = 0;
3189  } else {
3190  *ncpu = hwinfo->ncpu;
3191  *nnodes = hwinfo->nnodes;
3192  *totalcpus = hwinfo->totalcpus;
3193  *vendor = hwinfo->vendor;
3194  *model = hwinfo->model;
3195  *revision = hwinfo->revision;
3196  *mhz = hwinfo->cpu_max_mhz;
3197 
3198  strncpy( vendor_str, hwinfo->vendor_string, ( size_t ) vendor_len );
3199  for ( i = ( int ) strlen( hwinfo->vendor_string ); i < vendor_len;
3200  vendor_str[i++] = ' ' );
3201  strncpy( model_str, hwinfo->model_string, ( size_t ) model_len );
3202  for ( i = ( int ) strlen( hwinfo->model_string ); i < model_len;
3203  model_str[i++] = ' ' );
3204 
3205 
3206 
3207 
3208 
3209 
3210 
3211  }
3212  return;
3213 }
Hardware info structure.
Definition: papi.h:781
float revision
Definition: papi.h:792
char model_string[PAPI_MAX_STR_LEN]
Definition: papi.h:791
int nnodes
Definition: papi.h:786
char vendor_string[PAPI_MAX_STR_LEN]
Definition: papi.h:789
int vendor
Definition: papi.h:788
int model
Definition: papi.h:790
int cpu_max_mhz
Definition: papi.h:797
int totalcpus
Definition: papi.h:787
const PAPI_hw_info_t * PAPI_get_hardware_info(void)
Definition: papi.c:6185
int i
Definition: fileop.c:140
int ncpu
Definition: papi.h:782
Here is the call graph for this function:

◆ papif_get_multiplex_()

void papif_get_multiplex_ ( int *  EventSet,
int *  check 
)

Definition at line 3301 of file papi_fwrappers_.c.

3303 {
3305 }
int EventSet
* check
int PAPI_get_multiplex(int EventSet)
Definition: papi.c:4028
Here is the call graph for this function:

◆ papif_get_preload_()

void papif_get_preload_ ( char *  lib_preload_env,
int *  check,
int  lib_preload_env_len 
)

Definition at line 3610 of file papi_fwrappers_.c.

3616 {
3617  PAPI_option_t p;
3618 
3619  int i;
3620 
3621  if ( ( *check = PAPI_get_opt( 13, &p ) ) == 0 ) {
3622  strncpy( lib_preload_env, p.preload.lib_preload_env,
3623  ( size_t ) lib_preload_env_len );
3624  for ( i = ( int ) strlen( p.preload.lib_preload_env );
3625  i < lib_preload_env_len; lib_preload_env[i++] = ' ' );
3626  }
3627 
3628 
3629 
3630 
3631 
3632 }
A pointer to the following is passed to PAPI_set/get_opt()
Definition: papi.h:849
* check
int PAPI_get_opt(int option, PAPI_option_t *ptr)
Definition: papi.c:4143
PAPI_preload_info_t preload
Definition: papi.h:851
char lib_preload_env[PAPI_MAX_STR_LEN]
Definition: papi.h:622
int i
Definition: fileop.c:140
Here is the call graph for this function:

◆ papif_get_real_cyc_()

void papif_get_real_cyc_ ( long long *  real_cyc)

Definition at line 3226 of file papi_fwrappers_.c.

3227 {
3228  *real_cyc = PAPI_get_real_cyc( );
3229 }
long long PAPI_get_real_cyc(void)
Definition: papi.c:6217
Here is the call graph for this function:

◆ papif_get_real_nsec_()

void papif_get_real_nsec_ ( long long *  time)

Definition at line 3236 of file papi_fwrappers_.c.

3237 {
3238  *time = PAPI_get_real_nsec( );
3239 }
long long PAPI_get_real_nsec(void)
Definition: papi.c:6237
Here is the call graph for this function:

◆ papif_get_real_usec_()

void papif_get_real_usec_ ( long long *  time)

Definition at line 3231 of file papi_fwrappers_.c.

3232 {
3233  *time = PAPI_get_real_usec( );
3234 }
long long PAPI_get_real_usec(void)
Definition: papi.c:6264
Here is the call graph for this function:

◆ papif_get_virt_cyc_()

void papif_get_virt_cyc_ ( long long *  virt_cyc)

Definition at line 3241 of file papi_fwrappers_.c.

3242 {
3243  *virt_cyc = PAPI_get_virt_cyc( );
3244 }
long long PAPI_get_virt_cyc(void)
Definition: papi.c:6300
Here is the call graph for this function:

◆ papif_get_virt_usec_()

void papif_get_virt_usec_ ( long long *  time)

Definition at line 3246 of file papi_fwrappers_.c.

3247 {
3248  *time = PAPI_get_virt_usec( );
3249 }
long long PAPI_get_virt_usec(void)
Definition: papi.c:6372
Here is the call graph for this function:

◆ papif_ipc_()

void papif_ipc_ ( float *  rtime,
float *  ptime,
long long *  ins,
float *  ipc,
int *  check 
)

Definition at line 3572 of file papi_fwrappers_.c.

3575 {
3576  *check = PAPI_ipc( rtime, ptime, ins, ipc );
3577 }
int PAPI_ipc(float *rtime, float *ptime, long long *ins, float *ipc)
Definition: papi_hl.c:320
* check
Here is the call graph for this function:

◆ papif_is_initialized_()

void papif_is_initialized_ ( int *  level)

Definition at line 3251 of file papi_fwrappers_.c.

3252 {
3253  *level = PAPI_is_initialized( );
3254 }
int PAPI_is_initialized(void)
Definition: papi.c:6463
Here is the call graph for this function:

◆ papif_library_init_()

void papif_library_init_ ( int *  check)

Definition at line 3256 of file papi_fwrappers_.c.

3257 {
3258  *check = PAPI_library_init( *check );
3259 }
* check
int PAPI_library_init(int version)
Definition: papi.c:500
Here is the call graph for this function:

◆ papif_list_events_()

void papif_list_events_ ( int *  EventSet,
int *  Events,
int *  number,
int *  check 
)

Definition at line 3290 of file papi_fwrappers_.c.

3292 {
3293  *check = PAPI_list_events( *EventSet, Events, number );
3294 }
static int Events[NUM_EVENTS]
Definition: init_fini.c:8
int EventSet
* check
int PAPI_list_events(int EventSet, int *Events, int *number)
Definition: papi.c:6001
Here is the call graph for this function:

◆ papif_lock_()

void papif_lock_ ( int *  lock,
int *  check 
)

Definition at line 3531 of file papi_fwrappers_.c.

3533 {
3534  *check = PAPI_lock( *lock );
3535 }
* check
atomic_p lock[]
Definition: aix.c:25
int PAPI_lock(int)
Definition: papi.c:6401
Here is the call graph for this function:

◆ papif_multiplex_init_()

void papif_multiplex_init_ ( int *  check)

Definition at line 3296 of file papi_fwrappers_.c.

3297 {
3298  *check = PAPI_multiplex_init( );
3299 }
* check
int PAPI_multiplex_init(void)
Definition: papi.c:2982
Here is the call graph for this function:

◆ papif_num_cmp_hwctrs_()

void papif_num_cmp_hwctrs_ ( int *  cidx,
int *  num 
)

Definition at line 3220 of file papi_fwrappers_.c.

3222 {
3223  *num = PAPI_num_cmp_hwctrs( *cidx );
3224 }
int PAPI_num_cmp_hwctrs(int cidx)
Definition: papi.c:3965
static int cidx
Here is the call graph for this function:

◆ papif_num_counters_()

void papif_num_counters_ ( int *  numevents)

Definition at line 3567 of file papi_fwrappers_.c.

3568 {
3570 }
static int numevents
Definition: kufrin.c:22
int PAPI_num_counters(void)
Definition: papi_hl.c:541
Here is the call graph for this function:

◆ papif_num_events_()

void papif_num_events_ ( int *  EventCode,
int *  count 
)

Definition at line 3427 of file papi_fwrappers_.c.

3428 {
3429  *count = PAPI_num_events( *EventCode );
3430 }
int PAPI_num_events(int EventSet)
Definition: papi.c:4426
static long count
Here is the call graph for this function:

◆ papif_num_hwctrs_()

void papif_num_hwctrs_ ( int *  num)

Definition at line 3215 of file papi_fwrappers_.c.

3216 {
3217  *num = PAPI_num_hwctrs( );
3218 }
int PAPI_num_hwctrs(void)
Definition: papi.c:3909
Here is the call graph for this function:

◆ papif_perror_()

void papif_perror_ ( char *  message,
int  message_len 
)

Definition at line 3313 of file papi_fwrappers_.c.

3320 {
3321 
3322  char tmp[128];
3323  Fortran2cstring( tmp, message, 128, message_len );
3324 
3325  PAPI_perror( tmp );
3326 
3327 
3328 
3329 }
static void Fortran2cstring(char *cstring, char *Fstring, int clen, int Flen)
double tmp
void PAPI_perror(const char *msg)
Definition: papi.c:4653
Here is the call graph for this function:

◆ papif_query_event_()

void papif_query_event_ ( int *  EventCode,
int *  check 
)

Definition at line 3331 of file papi_fwrappers_.c.

3333 {
3334  *check = PAPI_query_event( *EventCode );
3335 }
* check
int PAPI_query_event(int EventCode)
Definition: papi.c:684
Here is the call graph for this function:

◆ papif_query_named_event_()

void papif_query_named_event_ ( char *  EventName,
int *  check,
int  Event_len 
)

Definition at line 3337 of file papi_fwrappers_.c.

3339 {
3340  char tmp[128];
3341  Fortran2cstring( tmp, EventName, 128, Event_len );
3343 }
static void Fortran2cstring(char *cstring, char *Fstring, int clen, int Flen)
double tmp
* check
int PAPI_query_named_event(const char *EventName)
Definition: papi.c:756
Here is the call graph for this function:

◆ papif_read_()

void papif_read_ ( int *  EventSet,
long long *  values,
int *  check 
)

Definition at line 3438 of file papi_fwrappers_.c.

3440 {
3441  *check = PAPI_read( *EventSet, values );
3442 }
int EventSet
* check
int PAPI_read(int EventSet, long long *values)
Definition: papi.c:2559
static long long values[NUM_EVENTS]
Definition: init_fini.c:10
Here is the call graph for this function:

◆ papif_read_counters_()

void papif_read_counters_ ( long long *  values,
int *  array_len,
int *  check 
)

Definition at line 3549 of file papi_fwrappers_.c.

3551 {
3552  *check = PAPI_read_counters( values, *array_len );
3553 }
* check
int PAPI_read_counters(long long *values, int array_len)
Definition: papi_hl.c:710
static long long values[NUM_EVENTS]
Definition: init_fini.c:10
Here is the call graph for this function:

◆ papif_read_ts_()

void papif_read_ts_ ( int *  EventSet,
long long *  values,
long long *  cycles,
int *  check 
)

Definition at line 3444 of file papi_fwrappers_.c.

3446 {
3447  *check = PAPI_read_ts( *EventSet, values, cycles );
3448 }
int EventSet
* check
int PAPI_read_ts(int EventSet, long long *values, long long *cyc)
Definition: papi.c:2648
static long long values[NUM_EVENTS]
Definition: init_fini.c:10
Here is the call graph for this function:

◆ papif_register_thread_()

void papif_register_thread_ ( int *  check)

Definition at line 3266 of file papi_fwrappers_.c.

3267 {
3269 }
int PAPI_register_thread(void)
Definition: papi.c:208
* check
Here is the call graph for this function:

◆ papif_remove_event_()

void papif_remove_event_ ( int *  EventSet,
int *  Event,
int *  check 
)

Definition at line 3450 of file papi_fwrappers_.c.

3452 {
3454 }
int PAPI_remove_event(int EventSet, int EventCode)
Definition: papi.c:1758
int EventSet
* check
static int Event[MAX_EVENTS]
Here is the call graph for this function:

◆ papif_remove_events_()

void papif_remove_events_ ( int *  EventSet,
int *  Events,
int *  number,
int *  check 
)

Definition at line 3464 of file papi_fwrappers_.c.

3466 {
3467  *check = PAPI_remove_events( *EventSet, Events, *number );
3468 }
static int Events[NUM_EVENTS]
Definition: init_fini.c:8
int EventSet
int PAPI_remove_events(int EventSet, int *Events, int number)
Definition: papi.c:5931
* check
Here is the call graph for this function:

◆ papif_remove_named_event_()

void papif_remove_named_event_ ( int *  EventSet,
char *  EventName,
int *  check,
int  Event_len 
)

Definition at line 3456 of file papi_fwrappers_.c.

3458 {
3459  char tmp[128];
3460  Fortran2cstring( tmp, EventName, 128, Event_len );
3462 }
int EventSet
static void Fortran2cstring(char *cstring, char *Fstring, int clen, int Flen)
double tmp
* check
int PAPI_remove_named_event(int EventSet, const char *EventName)
Definition: papi.c:1961
Here is the call graph for this function:

◆ papif_reset_()

void papif_reset_ ( int *  EventSet,
int *  check 
)

Definition at line 3470 of file papi_fwrappers_.c.

3471 {
3472  *check = PAPI_reset( *EventSet );
3473 }
int PAPI_reset(int EventSet)
Definition: papi.c:2459
int EventSet
* check
Here is the call graph for this function:

◆ papif_set_cmp_domain_()

void papif_set_cmp_domain_ ( int *  domain,
int *  cidx,
int *  check 
)

Definition at line 3485 of file papi_fwrappers_.c.

3487 {
3488  *check = PAPI_set_cmp_domain( *domain, *cidx );
3489 }
* check
int PAPI_set_cmp_domain(int domain, int cidx)
Definition: papi.c:5758
static int cidx
Here is the call graph for this function:

◆ papif_set_cmp_granularity_()

void papif_set_cmp_granularity_ ( int *  granularity,
int *  cidx,
int *  check 
)

Definition at line 3497 of file papi_fwrappers_.c.

3499 {
3500  *check = PAPI_set_cmp_granularity( *granularity, *cidx );
3501 }
int PAPI_set_cmp_granularity(int granularity, int cidx)
Definition: papi.c:5622
* check
static int cidx
Here is the call graph for this function:

◆ papif_set_debug_()

void papif_set_debug_ ( int *  debug,
int *  check 
)

Definition at line 3475 of file papi_fwrappers_.c.

3476 {
3477  *check = PAPI_set_debug( *debug );
3478 }
* check
long long debug
Definition: iozone.c:1374
int PAPI_set_debug(int level)
Definition: papi.c:3126
Here is the call graph for this function:

◆ papif_set_domain_()

void papif_set_domain_ ( int *  domain,
int *  check 
)

Definition at line 3480 of file papi_fwrappers_.c.

3481 {
3482  *check = PAPI_set_domain( *domain );
3483 }
* check
int PAPI_set_domain(int domain)
Definition: papi.c:5688
Here is the call graph for this function:

◆ papif_set_event_domain_()

void papif_set_event_domain_ ( int *  es,
int *  domain,
int *  check 
)

Definition at line 3674 of file papi_fwrappers_.c.

3676 {
3677  PAPI_option_t d;
3678 
3679  d.domain.domain = *domain;
3680  d.domain.eventset = *es;
3681  *check = PAPI_set_opt( 5, &d );
3682 }
A pointer to the following is passed to PAPI_set/get_opt()
Definition: papi.h:849
int PAPI_set_opt(int option, PAPI_option_t *ptr)
Definition: papi.c:3465
* check
PAPI_domain_option_t domain
Definition: papi.h:856
Here is the call graph for this function:

◆ papif_set_granularity_()

void papif_set_granularity_ ( int *  granularity,
int *  check 
)

Definition at line 3491 of file papi_fwrappers_.c.

3493 {
3494  *check = PAPI_set_granularity( *granularity );
3495 }
* check
int PAPI_set_granularity(int granularity)
Definition: papi.c:5557
Here is the call graph for this function:

◆ papif_set_inherit_()

void papif_set_inherit_ ( int *  inherit,
int *  check 
)

Definition at line 3684 of file papi_fwrappers_.c.

3685 {
3686  PAPI_option_t i;
3687 
3688  i.inherit.inherit = *inherit;
3689  *check = PAPI_set_opt( 28, &i );
3690 }
i inherit inherit
A pointer to the following is passed to PAPI_set/get_opt()
Definition: papi.h:849
int PAPI_set_opt(int option, PAPI_option_t *ptr)
Definition: papi.c:3465
* check
int i
Definition: fileop.c:140
Here is the call graph for this function:

◆ papif_set_multiplex_()

void papif_set_multiplex_ ( int *  EventSet,
int *  check 
)

Definition at line 3307 of file papi_fwrappers_.c.

3309 {
3311 }
int EventSet
* check
int PAPI_set_multiplex(int EventSet)
Definition: papi.c:3333
Here is the call graph for this function:

◆ papif_shutdown_()

void papif_shutdown_ ( void  )

Definition at line 3503 of file papi_fwrappers_.c.

3504 {
3505  PAPI_shutdown( );
3506 }
void PAPI_shutdown(void)
Definition: papi.c:4461
Here is the call graph for this function:

◆ papif_start_()

void papif_start_ ( int *  EventSet,
int *  check 
)

Definition at line 3508 of file papi_fwrappers_.c.

3509 {
3510  *check = PAPI_start( *EventSet );
3511 }
int EventSet
* check
int PAPI_start(int EventSet)
Definition: papi.c:2096
Here is the call graph for this function:

◆ papif_start_counters_()

void papif_start_counters_ ( int *  events,
int *  array_len,
int *  check 
)

Definition at line 3543 of file papi_fwrappers_.c.

3545 {
3546  *check = PAPI_start_counters( events, *array_len );
3547 }
* check
char events[MAX_EVENTS][BUFSIZ]
int PAPI_start_counters(int *events, int array_len)
Definition: papi_hl.c:597
Here is the call graph for this function:

◆ papif_state_()

void papif_state_ ( int *  EventSet,
int *  status,
int *  check 
)

Definition at line 3513 of file papi_fwrappers_.c.

3515 {
3516  *check = PAPI_state( *EventSet, status );
3517 }
int EventSet
* check
int PAPI_state(int EventSet, int *status)
Definition: papi.c:3053
long long status
Definition: iozone.c:1335
Here is the call graph for this function:

◆ papif_stop_()

void papif_stop_ ( int *  EventSet,
long long *  values,
int *  check 
)

Definition at line 3519 of file papi_fwrappers_.c.

3521 {
3522  *check = PAPI_stop( *EventSet, values );
3523 }
int PAPI_stop(int EventSet, long long *values)
Definition: papi.c:2314
int EventSet
* check
static long long values[NUM_EVENTS]
Definition: init_fini.c:10
Here is the call graph for this function:

◆ papif_stop_counters_()

void papif_stop_counters_ ( long long *  values,
int *  array_len,
int *  check 
)

Definition at line 3555 of file papi_fwrappers_.c.

3557 {
3558  *check = PAPI_stop_counters( values, *array_len );
3559 }
* check
int PAPI_stop_counters(long long *values, int array_len)
Definition: papi_hl.c:807
static long long values[NUM_EVENTS]
Definition: init_fini.c:10
Here is the call graph for this function:

◆ papif_thread_id_()

void papif_thread_id_ ( unsigned long *  id)

Definition at line 3261 of file papi_fwrappers_.c.

3262 {
3263  *id = PAPI_thread_id( );
3264 }
unsigned long PAPI_thread_id(void)
Definition: papi.c:162
Here is the call graph for this function:

◆ papif_thread_init_()

void papif_thread_init_ ( unsigned long int(*)(void)  handle,
int *  check 
)

Definition at line 3284 of file papi_fwrappers_.c.

3286 {
3287  *check = PAPI_thread_init( handle );
3288 }
* check
int PAPI_thread_init(unsigned long(*id_fn)(void))
Here is the call graph for this function:

◆ papif_unlock_()

void papif_unlock_ ( int *  lock,
int *  check 
)

Definition at line 3537 of file papi_fwrappers_.c.

3539 {
3540  *check = PAPI_unlock( *lock );
3541 }
* check
atomic_p lock[]
Definition: aix.c:25
int PAPI_unlock(int)
Definition: papi.c:6421
Here is the call graph for this function:

◆ papif_unregister_thread_()

void papif_unregister_thread_ ( int *  check)

Definition at line 3271 of file papi_fwrappers_.c.

3272 {
3274 }
* check
int PAPI_unregister_thread(void)
Definition: papi.c:244
Here is the call graph for this function:

◆ papif_unregster_thread_()

void papif_unregster_thread_ ( int *  check)

Definition at line 3279 of file papi_fwrappers_.c.

3280 {
3282 }
* check
int PAPI_unregister_thread(void)
Definition: papi.c:244
Here is the call graph for this function:

◆ papif_write_()

void papif_write_ ( int *  EventSet,
long long *  values,
int *  check 
)

Definition at line 3525 of file papi_fwrappers_.c.

3527 {
3528  *check = PAPI_write( *EventSet, values );
3529 }
int PAPI_write(int EventSet, long long *values)
Definition: papi.c:2813
int EventSet
* check
static long long values[NUM_EVENTS]
Definition: init_fini.c:10
Here is the call graph for this function:

◆ pselect()

int pselect ( int  __nfds,
fd_set *__restrict  __readfds,
fd_set *__restrict  __writefds,
fd_set *__restrict  __exceptfds,
const struct timespec *__restrict  __timeout,
const __sigset_t *__restrict  __sigmask 
)

◆ psiginfo()

void psiginfo ( const siginfo_t __pinfo,
const char *  __s 
)

◆ psignal()

void psignal ( int  __sig,
const char *  __s 
)

◆ pthread_kill()

int pthread_kill ( pthread_t  __threadid,
int  __signo 
)
Here is the caller graph for this function:

◆ pthread_sigmask()

int pthread_sigmask ( int  __how,
const __sigset_t *__restrict  __newmask,
__sigset_t *__restrict  __oldmask 
)

◆ raise()

int raise ( int  __sig)

◆ select()

int select ( int  __nfds,
fd_set *__restrict  __readfds,
fd_set *__restrict  __writefds,
fd_set *__restrict  __exceptfds,
struct timeval *__restrict  __timeout 
)

◆ sigaction()

int sigaction ( int  __sig,
const struct sigaction *__restrict  __act,
struct sigaction *__restrict  __oact 
)
Here is the caller graph for this function:

◆ sigaltstack()

int sigaltstack ( const stack_t *__restrict  __ss,
stack_t *__restrict  __oss 
)

◆ sigblock()

int sigblock ( int  __mask)

◆ siggetmask()

int siggetmask ( void  )

Definition at line 2189 of file papi_fwrappers_.c.

2215  {
2216 
2217 
2218  union
2219  {
2220 
2221  __sighandler_t sa_handler;
2222 
2223  void (*sa_sigaction) (int, siginfo_t *, void *);
2224  }
2225  __sigaction_handler;
2226 
2227 
2228 
2229 
2230 
2231 
2232 
2233  __sigset_t sa_mask;
2234 
2235 
2236  int sa_flags;
2237 
2238 
2239  void (*sa_restorer) (void);
2240  };
void(* __sighandler_t)(int)

◆ siginterrupt()

int siginterrupt ( int  __sig,
int  __interrupt 
)

◆ signal()

__sighandler_t signal ( int  __sig,
__sighandler_t  __handler 
)
Here is the caller graph for this function:

◆ sigpending()

int sigpending ( sigset_t __set)

◆ sigprocmask()

int sigprocmask ( int  __how,
const sigset_t *__restrict  __set,
sigset_t *__restrict  __oset 
)
Here is the caller graph for this function:

◆ sigqueue()

int sigqueue ( __pid_t  __pid,
int  __sig,
const union sigval  __val 
)

◆ sigreturn()

int sigreturn ( struct sigcontext __scp)

◆ sigsetmask()

int sigsetmask ( int  __mask)

◆ sigstack()

int sigstack ( struct sigstack __ss,
struct sigstack __oss 
)

◆ sigsuspend()

int sigsuspend ( const sigset_t __set)

◆ sigtimedwait()

int sigtimedwait ( const sigset_t *__restrict  __set,
siginfo_t *__restrict  __info,
const struct timespec *__restrict  __timeout 
)

◆ sigwait()

int sigwait ( const sigset_t *__restrict  __set,
int *__restrict  __sig 
)

◆ sigwaitinfo()

int int sigwaitinfo ( const sigset_t *__restrict  __set,
siginfo_t *__restrict  __info 
)

◆ ssignal()

__sighandler_t ssignal ( int  __sig,
__sighandler_t  __handler 
)

◆ strcoll_l()

int strcoll_l ( const char *  __s1,
const char *  __s2,
locale_t  __l 
)

Variable Documentation

◆ __leaf__

int __leaf__

Definition at line 346 of file papi_fwrappers_.c.

◆ _IO_2_1_stderr_

struct _IO_FILE_plus _IO_2_1_stderr_

◆ _IO_2_1_stdin_

struct _IO_FILE_plus _IO_2_1_stdin_

◆ _IO_2_1_stdout_

struct _IO_FILE_plus _IO_2_1_stdout_

◆ _sys_siglist

const char* const _sys_siglist[(64+1)]

◆ greg_t

__extension__ typedef long long int greg_t

Definition at line 2430 of file papi_fwrappers_.c.

◆ PAPI_all_thr_spec_t

Definition at line 2567 of file papi_fwrappers_.c.

◆ sys_siglist

const char* const sys_siglist[(64+1)]