PAPI  5.7.0.0
upper_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  __attribute__
 
struct  __kernel_fd_set
 
struct  __kernel_fsid_t
 
struct  pt_regs
 
struct  ppc_debug_info
 
struct  ppc_hw_breakpoint
 
struct  ppc64_opd_entry
 
struct  hwd_ucontext_t
 
struct  stack_t
 
struct  vscr_t
 
struct  _libc_vrstate
 
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 __signed__ char __s8
 
typedef unsigned char __u8
 
typedef __signed__ short __s16
 
typedef unsigned short __u16
 
typedef __signed__ int __s32
 
typedef unsigned int __u32
 
typedef __signed__ long __s64
 
typedef unsigned long __u64
 
typedef void(* __kernel_sighandler_t) (int)
 
typedef int __kernel_key_t
 
typedef int __kernel_mqd_t
 
typedef unsigned long __kernel_old_dev_t
 
typedef long __kernel_long_t
 
typedef unsigned long __kernel_ulong_t
 
typedef __kernel_ulong_t __kernel_ino_t
 
typedef unsigned int __kernel_mode_t
 
typedef int __kernel_pid_t
 
typedef int __kernel_ipc_pid_t
 
typedef unsigned int __kernel_uid_t
 
typedef unsigned int __kernel_gid_t
 
typedef __kernel_long_t __kernel_suseconds_t
 
typedef int __kernel_daddr_t
 
typedef unsigned int __kernel_uid32_t
 
typedef unsigned int __kernel_gid32_t
 
typedef __kernel_uid_t __kernel_old_uid_t
 
typedef __kernel_gid_t __kernel_old_gid_t
 
typedef __kernel_ulong_t __kernel_size_t
 
typedef __kernel_long_t __kernel_ssize_t
 
typedef __kernel_long_t __kernel_ptrdiff_t
 
typedef __kernel_size_t __kernel_uapi_size_t
 
typedef __kernel_long_t __kernel_off_t
 
typedef long long __kernel_loff_t
 
typedef __kernel_long_t __kernel_time_t
 
typedef long long __kernel_time64_t
 
typedef __kernel_long_t __kernel_clock_t
 
typedef int __kernel_timer_t
 
typedef int __kernel_clockid_t
 
typedef char * __kernel_caddr_t
 
typedef unsigned short __kernel_uid16_t
 
typedef unsigned short __kernel_gid16_t
 
typedef __u16 __le16
 
typedef __u16 __be16
 
typedef __u32 __le32
 
typedef __u32 __be32
 
typedef __u64 __le64
 
typedef __u64 __be64
 
typedef __u16 __sum16
 
typedef __u32 __wsum
 
typedef unsigned __poll_t
 
typedef unsigned long elf_greg_t64
 
typedef elf_greg_t64 elf_gregset_t64[48]
 
typedef unsigned int elf_greg_t32
 
typedef elf_greg_t32 elf_gregset_t32[48]
 
typedef elf_gregset_t32 compat_elf_gregset_t
 
typedef elf_greg_t64 elf_greg_t
 
typedef elf_gregset_t64 elf_gregset_t
 
typedef double elf_fpreg_t
 
typedef elf_fpreg_t elf_fpregset_t[33]
 
typedef __vector128 elf_vrreg_t
 
typedef elf_vrreg_t elf_vrregset_t[34]
 
typedef elf_vrreg_t elf_vrregset_t32[33]
 
typedef elf_fpreg_t elf_vsrreghalf_t32[32]
 
typedef unsigned long gregset_t[48]
 
typedef double fpregset_t[33]
 
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__
 
struct _libc_vrstate __attribute__ ((__aligned__(16)))
 
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

typedef __attribute__
 
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)]
 
unsigned int vrregs [32][4]
 
vscr_t vscr
 
unsigned int vrsave
 
unsigned int __pad [3]
 
 PAPI_all_thr_spec_t
 

Typedef Documentation

◆ __be16

typedef __u16 __be16

Definition at line 2439 of file upper_PAPI_FWRAPPERS.c.

◆ __be32

typedef __u32 __be32

Definition at line 2441 of file upper_PAPI_FWRAPPERS.c.

◆ __be64

typedef __u64 __be64

Definition at line 2443 of file upper_PAPI_FWRAPPERS.c.

◆ __blkcnt64_t

typedef long int __blkcnt64_t

Definition at line 128 of file upper_PAPI_FWRAPPERS.c.

◆ __blkcnt_t

typedef long int __blkcnt_t

Definition at line 127 of file upper_PAPI_FWRAPPERS.c.

◆ __blksize_t

typedef long int __blksize_t

Definition at line 122 of file upper_PAPI_FWRAPPERS.c.

◆ __caddr_t

typedef char* __caddr_t

Definition at line 151 of file upper_PAPI_FWRAPPERS.c.

◆ __clock_t

typedef long int __clock_t

Definition at line 104 of file upper_PAPI_FWRAPPERS.c.

◆ __clockid_t

typedef int __clockid_t

Definition at line 116 of file upper_PAPI_FWRAPPERS.c.

◆ __daddr_t

typedef int __daddr_t

Definition at line 112 of file upper_PAPI_FWRAPPERS.c.

◆ __dev_t

typedef unsigned long int __dev_t

Definition at line 93 of file upper_PAPI_FWRAPPERS.c.

◆ __fd_mask

typedef long int __fd_mask

Definition at line 1357 of file upper_PAPI_FWRAPPERS.c.

◆ __fsblkcnt64_t

typedef unsigned long int __fsblkcnt64_t

Definition at line 132 of file upper_PAPI_FWRAPPERS.c.

◆ __fsblkcnt_t

typedef unsigned long int __fsblkcnt_t

Definition at line 131 of file upper_PAPI_FWRAPPERS.c.

◆ __fsfilcnt64_t

typedef unsigned long int __fsfilcnt64_t

Definition at line 136 of file upper_PAPI_FWRAPPERS.c.

◆ __fsfilcnt_t

typedef unsigned long int __fsfilcnt_t

Definition at line 135 of file upper_PAPI_FWRAPPERS.c.

◆ __fsword_t

typedef long int __fsword_t

Definition at line 139 of file upper_PAPI_FWRAPPERS.c.

◆ __gid_t

typedef unsigned int __gid_t

Definition at line 95 of file upper_PAPI_FWRAPPERS.c.

◆ __gnuc_va_list

typedef __builtin_va_list __gnuc_va_list

Definition at line 220 of file upper_PAPI_FWRAPPERS.c.

◆ __id_t

typedef unsigned int __id_t

Definition at line 107 of file upper_PAPI_FWRAPPERS.c.

◆ __ino64_t

typedef unsigned long int __ino64_t

Definition at line 97 of file upper_PAPI_FWRAPPERS.c.

◆ __ino_t

typedef unsigned long int __ino_t

Definition at line 96 of file upper_PAPI_FWRAPPERS.c.

◆ __int16_t

typedef signed short int __int16_t

Definition at line 63 of file upper_PAPI_FWRAPPERS.c.

◆ __int32_t

typedef signed int __int32_t

Definition at line 65 of file upper_PAPI_FWRAPPERS.c.

◆ __int64_t

typedef signed long int __int64_t

Definition at line 68 of file upper_PAPI_FWRAPPERS.c.

◆ __int8_t

typedef signed char __int8_t

Definition at line 61 of file upper_PAPI_FWRAPPERS.c.

◆ __intmax_t

typedef long int __intmax_t

Definition at line 86 of file upper_PAPI_FWRAPPERS.c.

◆ __intptr_t

typedef long int __intptr_t

Definition at line 154 of file upper_PAPI_FWRAPPERS.c.

◆ __io_close_fn

typedef int __io_close_fn(void *__cookie)

Definition at line 344 of file upper_PAPI_FWRAPPERS.c.

◆ __io_read_fn

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

Definition at line 324 of file upper_PAPI_FWRAPPERS.c.

◆ __io_seek_fn

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

Definition at line 341 of file upper_PAPI_FWRAPPERS.c.

◆ __io_write_fn

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

Definition at line 332 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_caddr_t

typedef char* __kernel_caddr_t

Definition at line 2431 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_clock_t

Definition at line 2428 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_clockid_t

typedef int __kernel_clockid_t

Definition at line 2430 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_daddr_t

typedef int __kernel_daddr_t

Definition at line 2396 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_gid16_t

typedef unsigned short __kernel_gid16_t

Definition at line 2433 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_gid32_t

typedef unsigned int __kernel_gid32_t

Definition at line 2401 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_gid_t

typedef unsigned int __kernel_gid_t

Definition at line 2388 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_ino_t

Definition at line 2371 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_ipc_pid_t

typedef int __kernel_ipc_pid_t

Definition at line 2383 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_key_t

typedef int __kernel_key_t

Definition at line 2357 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_loff_t

typedef long long __kernel_loff_t

Definition at line 2425 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_long_t

typedef long __kernel_long_t

Definition at line 2366 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_mode_t

typedef unsigned int __kernel_mode_t

Definition at line 2375 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_mqd_t

typedef int __kernel_mqd_t

Definition at line 2358 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_off_t

Definition at line 2424 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_old_dev_t

typedef unsigned long __kernel_old_dev_t

Definition at line 2362 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_old_gid_t

Definition at line 2406 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_old_uid_t

Definition at line 2405 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_pid_t

typedef int __kernel_pid_t

Definition at line 2379 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_ptrdiff_t

Definition at line 2410 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_sighandler_t

typedef void(* __kernel_sighandler_t) (int)

Definition at line 2354 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_size_t

Definition at line 2408 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_ssize_t

Definition at line 2409 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_suseconds_t

Definition at line 2392 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_time64_t

typedef long long __kernel_time64_t

Definition at line 2427 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_time_t

Definition at line 2426 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_timer_t

typedef int __kernel_timer_t

Definition at line 2429 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_uapi_size_t

Definition at line 2412 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_uid16_t

typedef unsigned short __kernel_uid16_t

Definition at line 2432 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_uid32_t

typedef unsigned int __kernel_uid32_t

Definition at line 2400 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_uid_t

typedef unsigned int __kernel_uid_t

Definition at line 2387 of file upper_PAPI_FWRAPPERS.c.

◆ __kernel_ulong_t

typedef unsigned long __kernel_ulong_t

Definition at line 2367 of file upper_PAPI_FWRAPPERS.c.

◆ __key_t

typedef int __key_t

Definition at line 113 of file upper_PAPI_FWRAPPERS.c.

◆ __le16

typedef __u16 __le16

Definition at line 2438 of file upper_PAPI_FWRAPPERS.c.

◆ __le32

typedef __u32 __le32

Definition at line 2440 of file upper_PAPI_FWRAPPERS.c.

◆ __le64

typedef __u64 __le64

Definition at line 2442 of file upper_PAPI_FWRAPPERS.c.

◆ __locale_t

typedef struct __locale_struct* __locale_t

Definition at line 913 of file upper_PAPI_FWRAPPERS.c.

◆ __loff_t

Definition at line 150 of file upper_PAPI_FWRAPPERS.c.

◆ __mode_t

typedef unsigned int __mode_t

Definition at line 98 of file upper_PAPI_FWRAPPERS.c.

◆ __nlink_t

typedef unsigned long int __nlink_t

Definition at line 99 of file upper_PAPI_FWRAPPERS.c.

◆ __off64_t

typedef long int __off64_t

Definition at line 101 of file upper_PAPI_FWRAPPERS.c.

◆ __off_t

typedef long int __off_t

Definition at line 100 of file upper_PAPI_FWRAPPERS.c.

◆ __pid_t

typedef int __pid_t

Definition at line 102 of file upper_PAPI_FWRAPPERS.c.

◆ __poll_t

typedef unsigned __poll_t

Definition at line 2448 of file upper_PAPI_FWRAPPERS.c.

◆ __quad_t

typedef long int __quad_t

Definition at line 77 of file upper_PAPI_FWRAPPERS.c.

◆ __rlim64_t

typedef unsigned long int __rlim64_t

Definition at line 106 of file upper_PAPI_FWRAPPERS.c.

◆ __rlim_t

typedef unsigned long int __rlim_t

Definition at line 105 of file upper_PAPI_FWRAPPERS.c.

◆ __s16

typedef __signed__ short __s16

Definition at line 2318 of file upper_PAPI_FWRAPPERS.c.

◆ __s32

typedef __signed__ int __s32

Definition at line 2321 of file upper_PAPI_FWRAPPERS.c.

◆ __s64

typedef __signed__ long __s64

Definition at line 2324 of file upper_PAPI_FWRAPPERS.c.

◆ __s8

typedef __signed__ char __s8

Definition at line 2315 of file upper_PAPI_FWRAPPERS.c.

◆ __sig_atomic_t

typedef int __sig_atomic_t

Definition at line 162 of file upper_PAPI_FWRAPPERS.c.

◆ __sighandler_t

typedef void(* __sighandler_t) (int)

Definition at line 2134 of file upper_PAPI_FWRAPPERS.c.

◆ __socklen_t

typedef unsigned int __socklen_t

Definition at line 157 of file upper_PAPI_FWRAPPERS.c.

◆ __ssize_t

typedef long int __ssize_t

Definition at line 141 of file upper_PAPI_FWRAPPERS.c.

◆ __sum16

typedef __u16 __sum16

Definition at line 2445 of file upper_PAPI_FWRAPPERS.c.

◆ __suseconds_t

typedef long int __suseconds_t

Definition at line 110 of file upper_PAPI_FWRAPPERS.c.

◆ __syscall_slong_t

typedef long int __syscall_slong_t

Definition at line 144 of file upper_PAPI_FWRAPPERS.c.

◆ __syscall_ulong_t

typedef unsigned long int __syscall_ulong_t

Definition at line 146 of file upper_PAPI_FWRAPPERS.c.

◆ __time_t

typedef long int __time_t

Definition at line 108 of file upper_PAPI_FWRAPPERS.c.

◆ __timer_t

typedef void* __timer_t

Definition at line 119 of file upper_PAPI_FWRAPPERS.c.

◆ __u16

typedef unsigned short __u16

Definition at line 2319 of file upper_PAPI_FWRAPPERS.c.

◆ __u32

typedef unsigned int __u32

Definition at line 2322 of file upper_PAPI_FWRAPPERS.c.

◆ __u64

typedef unsigned long __u64

Definition at line 2325 of file upper_PAPI_FWRAPPERS.c.

◆ __u8

typedef unsigned char __u8

Definition at line 2316 of file upper_PAPI_FWRAPPERS.c.

◆ __u_char

typedef unsigned char __u_char

Definition at line 55 of file upper_PAPI_FWRAPPERS.c.

◆ __u_int

typedef unsigned int __u_int

Definition at line 57 of file upper_PAPI_FWRAPPERS.c.

◆ __u_long

typedef unsigned long int __u_long

Definition at line 58 of file upper_PAPI_FWRAPPERS.c.

◆ __u_quad_t

typedef unsigned long int __u_quad_t

Definition at line 78 of file upper_PAPI_FWRAPPERS.c.

◆ __u_short

typedef unsigned short int __u_short

Definition at line 56 of file upper_PAPI_FWRAPPERS.c.

◆ __uid_t

typedef unsigned int __uid_t

Definition at line 94 of file upper_PAPI_FWRAPPERS.c.

◆ __uint16_t

typedef unsigned short int __uint16_t

Definition at line 64 of file upper_PAPI_FWRAPPERS.c.

◆ __uint32_t

typedef unsigned int __uint32_t

Definition at line 66 of file upper_PAPI_FWRAPPERS.c.

◆ __uint64_t

typedef unsigned long int __uint64_t

Definition at line 69 of file upper_PAPI_FWRAPPERS.c.

◆ __uint8_t

typedef unsigned char __uint8_t

Definition at line 62 of file upper_PAPI_FWRAPPERS.c.

◆ __uintmax_t

typedef unsigned long int __uintmax_t

Definition at line 87 of file upper_PAPI_FWRAPPERS.c.

◆ __useconds_t

typedef unsigned int __useconds_t

Definition at line 109 of file upper_PAPI_FWRAPPERS.c.

◆ __wsum

typedef __u32 __wsum

Definition at line 2446 of file upper_PAPI_FWRAPPERS.c.

◆ _IO_lock_t

typedef void _IO_lock_t

Definition at line 223 of file upper_PAPI_FWRAPPERS.c.

◆ blkcnt_t

Definition at line 1427 of file upper_PAPI_FWRAPPERS.c.

◆ blksize_t

Definition at line 1420 of file upper_PAPI_FWRAPPERS.c.

◆ caddr_t

typedef char* caddr_t

Definition at line 2729 of file upper_PAPI_FWRAPPERS.c.

◆ compat_elf_gregset_t

Definition at line 2510 of file upper_PAPI_FWRAPPERS.c.

◆ elf_fpreg_t

typedef double elf_fpreg_t

Definition at line 2515 of file upper_PAPI_FWRAPPERS.c.

◆ elf_fpregset_t

typedef elf_fpreg_t elf_fpregset_t[33]

Definition at line 2516 of file upper_PAPI_FWRAPPERS.c.

◆ elf_greg_t

Definition at line 2512 of file upper_PAPI_FWRAPPERS.c.

◆ elf_greg_t32

typedef unsigned int elf_greg_t32

Definition at line 2508 of file upper_PAPI_FWRAPPERS.c.

◆ elf_greg_t64

typedef unsigned long elf_greg_t64

Definition at line 2505 of file upper_PAPI_FWRAPPERS.c.

◆ elf_gregset_t

Definition at line 2513 of file upper_PAPI_FWRAPPERS.c.

◆ elf_gregset_t32

typedef elf_greg_t32 elf_gregset_t32[48]

Definition at line 2509 of file upper_PAPI_FWRAPPERS.c.

◆ elf_gregset_t64

typedef elf_greg_t64 elf_gregset_t64[48]

Definition at line 2506 of file upper_PAPI_FWRAPPERS.c.

◆ elf_vrreg_t

typedef __vector128 elf_vrreg_t

Definition at line 2518 of file upper_PAPI_FWRAPPERS.c.

◆ elf_vrregset_t

typedef elf_vrreg_t elf_vrregset_t[34]

Definition at line 2519 of file upper_PAPI_FWRAPPERS.c.

◆ elf_vrregset_t32

typedef elf_vrreg_t elf_vrregset_t32[33]

Definition at line 2521 of file upper_PAPI_FWRAPPERS.c.

◆ elf_vsrreghalf_t32

typedef elf_fpreg_t elf_vsrreghalf_t32[32]

Definition at line 2522 of file upper_PAPI_FWRAPPERS.c.

◆ fd_mask

typedef __fd_mask fd_mask

Definition at line 1377 of file upper_PAPI_FWRAPPERS.c.

◆ fpregset_t

typedef double fpregset_t[33]

Definition at line 2588 of file upper_PAPI_FWRAPPERS.c.

◆ fsblkcnt_t

Definition at line 1431 of file upper_PAPI_FWRAPPERS.c.

◆ fsfilcnt_t

Definition at line 1435 of file upper_PAPI_FWRAPPERS.c.

◆ gregset_t

typedef unsigned long gregset_t[48]

Definition at line 2585 of file upper_PAPI_FWRAPPERS.c.

◆ locale_t

Definition at line 916 of file upper_PAPI_FWRAPPERS.c.

◆ PAPI_debug_handler_t

typedef int(* PAPI_debug_handler_t) (int code)

Definition at line 2840 of file upper_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 2721 of file upper_PAPI_FWRAPPERS.c.

◆ PAPI_user_defined_events_file_t

Definition at line 2874 of file upper_PAPI_FWRAPPERS.c.

◆ pthread_key_t

typedef unsigned int pthread_key_t

Definition at line 1551 of file upper_PAPI_FWRAPPERS.c.

◆ pthread_once_t

typedef int pthread_once_t

Definition at line 1555 of file upper_PAPI_FWRAPPERS.c.

◆ pthread_spinlock_t

typedef volatile int pthread_spinlock_t

Definition at line 1605 of file upper_PAPI_FWRAPPERS.c.

◆ pthread_t

typedef unsigned long int pthread_t

Definition at line 1529 of file upper_PAPI_FWRAPPERS.c.

◆ sig_atomic_t

Definition at line 1834 of file upper_PAPI_FWRAPPERS.c.

◆ sigset_t

Definition at line 1320 of file upper_PAPI_FWRAPPERS.c.

◆ sigval_t

typedef __sigval_t sigval_t

Definition at line 2080 of file upper_PAPI_FWRAPPERS.c.

◆ size_t

typedef long unsigned int size_t

Definition at line 46 of file upper_PAPI_FWRAPPERS.c.

◆ suseconds_t

Definition at line 1351 of file upper_PAPI_FWRAPPERS.c.

Enumeration Type Documentation

◆ 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 1663 of file upper_PAPI_FWRAPPERS.c.

1664 {
1665  PAPI_L1_DCM_idx = 0,
1681 
1698 
1715 
1732 
1749 
1766 
1779  PAPI_END_idx
1780 };

◆ 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 1783 of file upper_PAPI_FWRAPPERS.c.

1783  {
1784  PAPI_ENUM_EVENTS = 0,
1787 
1788 
1801 
1802 
1811 };

◆ 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 1950 of file upper_PAPI_FWRAPPERS.c.

1951 {
1952  SI_ASYNCNL = -60,
1953  SI_TKILL = -6,
1954  SI_SIGIO,
1955 
1956  SI_ASYNCIO,
1957  SI_MESGQ,
1958  SI_TIMER,
1959 
1960 
1961 
1962 
1963 
1964  SI_QUEUE,
1965  SI_USER,
1966  SI_KERNEL = 0x80
1967 # 63 "/usr/include/bits/siginfo-consts.h" 3 4
1968 };

◆ anonymous enum

anonymous enum
Enumerator
ILL_ILLOPC 
ILL_ILLOPN 
ILL_ILLADR 
ILL_ILLTRP 
ILL_PRVOPC 
ILL_PRVREG 
ILL_COPROC 
ILL_BADSTK 

Definition at line 1973 of file upper_PAPI_FWRAPPERS.c.

1974 {
1975  ILL_ILLOPC = 1,
1976 
1977  ILL_ILLOPN,
1978 
1979  ILL_ILLADR,
1980 
1981  ILL_ILLTRP,
1982 
1983  ILL_PRVOPC,
1984 
1985  ILL_PRVREG,
1986 
1987  ILL_COPROC,
1988 
1989  ILL_BADSTK
1990 
1991 };

◆ anonymous enum

anonymous enum
Enumerator
FPE_INTDIV 
FPE_INTOVF 
FPE_FLTDIV 
FPE_FLTOVF 
FPE_FLTUND 
FPE_FLTRES 
FPE_FLTINV 
FPE_FLTSUB 

Definition at line 1994 of file upper_PAPI_FWRAPPERS.c.

1995 {
1996  FPE_INTDIV = 1,
1997 
1998  FPE_INTOVF,
1999 
2000  FPE_FLTDIV,
2001 
2002  FPE_FLTOVF,
2003 
2004  FPE_FLTUND,
2005 
2006  FPE_FLTRES,
2007 
2008  FPE_FLTINV,
2009 
2010  FPE_FLTSUB
2011 
2012 };

◆ anonymous enum

anonymous enum
Enumerator
SEGV_MAPERR 
SEGV_ACCERR 
SEGV_BNDERR 
SEGV_PKUERR 

Definition at line 2015 of file upper_PAPI_FWRAPPERS.c.

2016 {
2017  SEGV_MAPERR = 1,
2018 
2019  SEGV_ACCERR,
2020 
2021  SEGV_BNDERR,
2022 
2023  SEGV_PKUERR
2024 
2025 };

◆ anonymous enum

anonymous enum
Enumerator
BUS_ADRALN 
BUS_ADRERR 
BUS_OBJERR 
BUS_MCEERR_AR 
BUS_MCEERR_AO 

Definition at line 2028 of file upper_PAPI_FWRAPPERS.c.

2029 {
2030  BUS_ADRALN = 1,
2031 
2032  BUS_ADRERR,
2033 
2034  BUS_OBJERR,
2035 
2036  BUS_MCEERR_AR,
2037 
2039 
2040 };

◆ anonymous enum

anonymous enum
Enumerator
CLD_EXITED 
CLD_KILLED 
CLD_DUMPED 
CLD_TRAPPED 
CLD_STOPPED 
CLD_CONTINUED 

Definition at line 2042 of file upper_PAPI_FWRAPPERS.c.

◆ anonymous enum

anonymous enum
Enumerator
POLL_IN 
POLL_OUT 
POLL_MSG 
POLL_ERR 
POLL_PRI 
POLL_HUP 

Definition at line 2059 of file upper_PAPI_FWRAPPERS.c.

2060 {
2061  POLL_IN = 1,
2062 
2063  POLL_OUT,
2064 
2065  POLL_MSG,
2066 
2067  POLL_ERR,
2068 
2069  POLL_PRI,
2070 
2071  POLL_HUP
2072 
2073 };

◆ anonymous enum

anonymous enum
Enumerator
SIGEV_SIGNAL 
SIGEV_NONE 
SIGEV_THREAD 
SIGEV_THREAD_ID 

Definition at line 2116 of file upper_PAPI_FWRAPPERS.c.

2117 {
2118  SIGEV_SIGNAL = 0,
2119 
2120  SIGEV_NONE,
2121 
2122  SIGEV_THREAD,
2123 
2124 
2125  SIGEV_THREAD_ID = 4
2126 
2127 
2128 };

◆ anonymous enum

anonymous enum
Enumerator
SS_ONSTACK 
SS_DISABLE 

Definition at line 2650 of file upper_PAPI_FWRAPPERS.c.

2651 {
2652  SS_ONSTACK = 1,
2653 
2654  SS_DISABLE
2655 
2656 };

◆ anonymous enum

anonymous enum
Enumerator
PAPI_LOCATION_CORE 
PAPI_LOCATION_CPU 
PAPI_LOCATION_PACKAGE 
PAPI_LOCATION_UNCORE 

Definition at line 3013 of file upper_PAPI_FWRAPPERS.c.

◆ anonymous enum

anonymous enum
Enumerator
PAPI_DATATYPE_INT64 
PAPI_DATATYPE_UINT64 
PAPI_DATATYPE_FP64 
PAPI_DATATYPE_BIT64 

Definition at line 3021 of file upper_PAPI_FWRAPPERS.c.

◆ anonymous enum

anonymous enum
Enumerator
PAPI_VALUETYPE_RUNNING_SUM 
PAPI_VALUETYPE_ABSOLUTE 

Definition at line 3029 of file upper_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 3035 of file upper_PAPI_FWRAPPERS.c.

◆ anonymous enum

anonymous enum
Enumerator
PAPI_UPDATETYPE_ARBITRARY 
PAPI_UPDATETYPE_PUSH 
PAPI_UPDATETYPE_PULL 
PAPI_UPDATETYPE_FIXEDFREQ 

Definition at line 3043 of file upper_PAPI_FWRAPPERS.c.

◆ __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 245 of file upper_PAPI_FWRAPPERS.c.

Function Documentation

◆ __attribute__() [1/5]

int __leaf__ __attribute__ ( (__pure__)  )

Definition at line 921 of file upper_PAPI_FWRAPPERS.c.

1265 {
1266  return __builtin_bswap32 (__bsx);
1267 }

◆ __attribute__() [2/5]

unsigned int __leaf__ __attribute__ ( (__const__)  )

◆ __attribute__() [3/5]

int __leaf__ __attribute__ ( (__deprecated__)  )

◆ __attribute__() [4/5]

int __leaf__ __attribute__ ( (__nonnull__(1))  )

◆ __attribute__() [5/5]

struct _libc_vrstate __attribute__ ( (__aligned__(16))  )

◆ __bswap_64()

static __inline __uint64_t __bswap_64 ( __uint64_t  __bsx)
static

Definition at line 1270 of file upper_PAPI_FWRAPPERS.c.

1271 {
1272  return __builtin_bswap64 (__bsx);
1273 }

◆ __libc_current_sigrtmin()

int __libc_current_sigrtmin ( void  )

Definition at line 2700 of file upper_PAPI_FWRAPPERS.c.

2715  {
2716  int num;
2717  PAPI_thread_id_t *id;
2718  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 1278 of file upper_PAPI_FWRAPPERS.c.

1279 {
1280  return __x;
1281 }

◆ __uint32_identity()

static __inline __uint32_t __uint32_identity ( __uint32_t  __x)
static

Definition at line 1284 of file upper_PAPI_FWRAPPERS.c.

1285 {
1286  return __x;
1287 }

◆ __uint64_identity()

static __inline __uint64_t __uint64_identity ( __uint64_t  __x)
static

Definition at line 1290 of file upper_PAPI_FWRAPPERS.c.

1291 {
1292  return __x;
1293 }

◆ __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 361 of file upper_PAPI_FWRAPPERS.c.

900 {
901 
902  struct __locale_data *__locales[13];
903 
904 
905  const unsigned short int *__ctype_b;
906  const int *__ctype_tolower;
907  const int *__ctype_toupper;
908 
909 
910  const char *__names[13];
911 };

◆ _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 3219 of file upper_PAPI_FWRAPPERS.c.

3220 {
3221  int slen, i;
3222 
3223 
3224  slen = Flen < clen ? Flen : clen;
3225  strncpy( cstring, Fstring, ( size_t ) slen );
3226 
3227 
3228  for ( i = slen - 1; i > -1 && cstring[i] == ' '; cstring[i--] = '\0' );
3229 
3230 
3231  cstring[clen - 1] = '\0';
3232  if ( slen < clen )
3233  cstring[slen] = '\0';
3234 }
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 
)

◆ 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
Here is the call graph for this function:

◆ 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 3236 of file upper_PAPI_FWRAPPERS.c.

3238 {
3239  *check = PAPI_accum( *EventSet, values );
3240 }
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 3713 of file upper_PAPI_FWRAPPERS.c.

3715 {
3716  *check = PAPI_accum_counters( values, *array_len );
3717 }
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 3242 of file upper_PAPI_FWRAPPERS.c.

3244 {
3246 }
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 3256 of file upper_PAPI_FWRAPPERS.c.

3258 {
3259  *check = PAPI_add_events( *EventSet, Events, *number );
3260 }
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 3248 of file upper_PAPI_FWRAPPERS.c.

3250 {
3251  char tmp[128];
3252  Fortran2cstring( tmp, EventName, 128, Event_len );
3254 }
static void Fortran2cstring(char *cstring, char *Fstring, int clen, int Flen)
int EventSet
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 3274 of file upper_PAPI_FWRAPPERS.c.

3276 {
3278 }
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 3262 of file upper_PAPI_FWRAPPERS.c.

3264 {
3266 }
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 3268 of file upper_PAPI_FWRAPPERS.c.

3270 {
3272 }
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 3280 of file upper_PAPI_FWRAPPERS.c.

3282 {
3284 }
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 3584 of file upper_PAPI_FWRAPPERS.c.

3586 {
3587  *check = PAPI_enum_event( EventCode, *modifier );
3588 }
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 3731 of file upper_PAPI_FWRAPPERS.c.

3735 {
3736  *check = PAPI_epc( event, rtime, ptime, ref, core, evt, epc );
3737 }
* 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 3528 of file upper_PAPI_FWRAPPERS.c.

3534 {
3535 
3536  char tmp[128];
3537  int i;
3538  *check = PAPI_event_code_to_name( *EventCode, tmp );
3539 
3540  strncpy( out_str, tmp, ( size_t ) out_len );
3541 
3542  for ( i = ( int ) strlen( tmp ); i < out_len; out_str[i++] = ' ' );
3543 
3544 
3545 
3546 
3547 }
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 3549 of file upper_PAPI_FWRAPPERS.c.

3555 {
3556 
3557  int slen, i;
3558  char tmpin[128];
3559 
3560 
3561  slen = in_len < 128 ? in_len : 128;
3562  strncpy( tmpin, in_str, ( size_t ) slen );
3563 
3564 
3565  for ( i = slen - 1; i > -1 && tmpin[i] == ' '; tmpin[i--] = '\0' );
3566 
3567 
3568  tmpin[128 - 1] = '\0';
3569  if ( slen < 128 )
3570  tmpin[slen] = '\0';
3571 
3572  *check = PAPI_event_name_to_code( tmpin, out );
3573 
3574 
3575 
3576 
3577 }
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 3739 of file upper_PAPI_FWRAPPERS.c.

3742 {
3743  *check = PAPI_flips( real_time, proc_time, flpins, mflips );
3744 }
* 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 3746 of file upper_PAPI_FWRAPPERS.c.

3749 {
3750  *check = PAPI_flops( real_time, proc_time, flpops, mflops );
3751 }
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 3753 of file upper_PAPI_FWRAPPERS.c.

3754 {
3755  *cr = PAPI_get_opt( 14, (PAPI_option_t *)
3756 # 1332 "papi_fwrappers.c" 3 4
3757  ((void *)0)
3758 # 1332 "papi_fwrappers.c"
3759  );
3760 }
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 3286 of file upper_PAPI_FWRAPPERS.c.

3288 {
3289  *check = PAPI_get_dmem_info( ( PAPI_dmem_info_t * ) dest );
3290 }
* 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 3804 of file upper_PAPI_FWRAPPERS.c.

3806 {
3807  PAPI_option_t d;
3808 
3809  if ( *mode == 4 ) {
3810  *domain = PAPI_get_opt( *mode, (PAPI_option_t *)
3811 # 1416 "papi_fwrappers.c" 3 4
3812  ((void *)0)
3813 # 1416 "papi_fwrappers.c"
3814  );
3815  *check = 0;
3816  } else if ( *mode == 5 ) {
3817  d.domain.eventset = *eventset;
3818  if ( ( *check = PAPI_get_opt( *mode, &d ) ) == 0 ) {
3819  *domain = d.domain.domain;
3820  }
3821  } else {
3822  *check = -1;
3823  }
3824 }
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 3497 of file upper_PAPI_FWRAPPERS.c.

3499 {
3500  PAPI_event_info_t info;
3501  ( void ) flags;
3502 
3503  int i;
3504  if ( ( *check = PAPI_get_event_info( *EventCode, &info ) ) == 0 ) {
3505  strncpy( symbol, info.symbol, ( size_t ) symbol_len );
3506  for ( i = ( int ) strlen( info.symbol ); i < symbol_len;
3507  symbol[i++] = ' ' );
3508  strncpy( long_descr, info.long_descr, ( size_t ) long_descr_len );
3509  for ( i = ( int ) strlen( info.long_descr ); i < long_descr_len;
3510  long_descr[i++] = ' ' );
3511  strncpy( short_descr, info.short_descr, ( size_t ) short_descr_len );
3512  for ( i = ( int ) strlen( info.short_descr ); i < short_descr_len;
3513  short_descr[i++] = ' ' );
3514 
3515  *count = ( int ) info.count;
3516 
3517  int note_len=0;
3518 
3519  strncpy( event_note, info.note, ( size_t ) event_note_len );
3520  note_len=strlen(info.note);
3521 
3522  for ( i = note_len; i < event_note_len;
3523  event_note[i++] = ' ' );
3524  }
3525 # 766 "papi_fwrappers.c"
3526 }
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 3292 of file upper_PAPI_FWRAPPERS.c.

3294 {
3295  PAPI_option_t e;
3296 
3297 
3298 
3299 
3300 
3301  if ( ( *check = PAPI_get_opt( 17, &e ) ) == 0 ) {
3302 
3303  int i;
3304  strncpy( fullname, e.exe_info->fullname, ( size_t ) fullname_len );
3305  for ( i = ( int ) strlen( e.exe_info->fullname ); i < fullname_len;
3306  fullname[i++] = ' ' );
3307  strncpy( name, e.exe_info->address_info.name, ( size_t ) name_len );
3308  for ( i = ( int ) strlen( e.exe_info->address_info.name ); i < name_len;
3309  name[i++] = ' ' );
3310 
3311 
3312 
3313 
3314  *text_start = ( long ) e.exe_info->address_info.text_start;
3315  *text_end = ( long ) e.exe_info->address_info.text_end;
3316  *data_start = ( long ) e.exe_info->address_info.data_start;
3317  *data_end = ( long ) e.exe_info->address_info.data_end;
3318  *bss_start = ( long ) e.exe_info->address_info.bss_start;
3319  *bss_end = ( long ) e.exe_info->address_info.bss_end;
3320  }
3321 }
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 3786 of file upper_PAPI_FWRAPPERS.c.

3788 {
3789  PAPI_option_t g;
3790 
3791  if ( *mode == 6 ) {
3792  *granularity = PAPI_get_opt( *mode, &g );
3793  *check = 0;
3794  } else if ( *mode == 7 ) {
3795  g.granularity.eventset = *eventset;
3796  if ( ( *check = PAPI_get_opt( *mode, &g ) ) == 0 ) {
3797  *granularity = g.granularity.granularity;
3798  }
3799  } else {
3800  *check = -1;
3801  }
3802 }
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 3323 of file upper_PAPI_FWRAPPERS.c.

3325 {
3326  const PAPI_hw_info_t *hwinfo;
3327  int i;
3328  hwinfo = PAPI_get_hardware_info( );
3329  if ( hwinfo ==
3330 # 320 "papi_fwrappers.c" 3 4
3331  ((void *)0)
3332 # 320 "papi_fwrappers.c"
3333  ) {
3334  *ncpu = 0;
3335  *nnodes = 0;
3336  *totalcpus = 0;
3337  *vendor = 0;
3338  *model = 0;
3339  *revision = 0;
3340  *mhz = 0;
3341  } else {
3342  *ncpu = hwinfo->ncpu;
3343  *nnodes = hwinfo->nnodes;
3344  *totalcpus = hwinfo->totalcpus;
3345  *vendor = hwinfo->vendor;
3346  *model = hwinfo->model;
3347  *revision = hwinfo->revision;
3348  *mhz = hwinfo->cpu_max_mhz;
3349 
3350  strncpy( vendor_str, hwinfo->vendor_string, ( size_t ) vendor_len );
3351  for ( i = ( int ) strlen( hwinfo->vendor_string ); i < vendor_len;
3352  vendor_str[i++] = ' ' );
3353  strncpy( model_str, hwinfo->model_string, ( size_t ) model_len );
3354  for ( i = ( int ) strlen( hwinfo->model_string ); i < model_len;
3355  model_str[i++] = ' ' );
3356 
3357 
3358 
3359 
3360 
3361 
3362 
3363  }
3364  return;
3365 }
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 3453 of file upper_PAPI_FWRAPPERS.c.

3455 {
3457 }
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 3762 of file upper_PAPI_FWRAPPERS.c.

3768 {
3769  PAPI_option_t p;
3770 
3771  int i;
3772 
3773  if ( ( *check = PAPI_get_opt( 13, &p ) ) == 0 ) {
3774  strncpy( lib_preload_env, p.preload.lib_preload_env,
3775  ( size_t ) lib_preload_env_len );
3776  for ( i = ( int ) strlen( p.preload.lib_preload_env );
3777  i < lib_preload_env_len; lib_preload_env[i++] = ' ' );
3778  }
3779 
3780 
3781 
3782 
3783 
3784 }
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 3378 of file upper_PAPI_FWRAPPERS.c.

3379 {
3380  *real_cyc = PAPI_get_real_cyc( );
3381 }
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 3388 of file upper_PAPI_FWRAPPERS.c.

3389 {
3390  *time = PAPI_get_real_nsec( );
3391 }
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 3383 of file upper_PAPI_FWRAPPERS.c.

3384 {
3385  *time = PAPI_get_real_usec( );
3386 }
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 3393 of file upper_PAPI_FWRAPPERS.c.

3394 {
3395  *virt_cyc = PAPI_get_virt_cyc( );
3396 }
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 3398 of file upper_PAPI_FWRAPPERS.c.

3399 {
3400  *time = PAPI_get_virt_usec( );
3401 }
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 3724 of file upper_PAPI_FWRAPPERS.c.

3727 {
3728  *check = PAPI_ipc( rtime, ptime, ins, ipc );
3729 }
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 3403 of file upper_PAPI_FWRAPPERS.c.

3404 {
3405  *level = PAPI_is_initialized( );
3406 }
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 3408 of file upper_PAPI_FWRAPPERS.c.

3409 {
3410  *check = PAPI_library_init( *check );
3411 }
* 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 3442 of file upper_PAPI_FWRAPPERS.c.

3444 {
3445  *check = PAPI_list_events( *EventSet, Events, number );
3446 }
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 3683 of file upper_PAPI_FWRAPPERS.c.

3685 {
3686  *check = PAPI_lock( *lock );
3687 }
* 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 3448 of file upper_PAPI_FWRAPPERS.c.

3449 {
3450  *check = PAPI_multiplex_init( );
3451 }
* 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 3372 of file upper_PAPI_FWRAPPERS.c.

3374 {
3375  *num = PAPI_num_cmp_hwctrs( *cidx );
3376 }
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 3719 of file upper_PAPI_FWRAPPERS.c.

3720 {
3722 }
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 3579 of file upper_PAPI_FWRAPPERS.c.

3580 {
3581  *count = PAPI_num_events( *EventCode );
3582 }
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 3367 of file upper_PAPI_FWRAPPERS.c.

3368 {
3369  *num = PAPI_num_hwctrs( );
3370 }
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 3465 of file upper_PAPI_FWRAPPERS.c.

3472 {
3473 
3474  char tmp[128];
3475  Fortran2cstring( tmp, message, 128, message_len );
3476 
3477  PAPI_perror( tmp );
3478 
3479 
3480 
3481 }
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 3483 of file upper_PAPI_FWRAPPERS.c.

3485 {
3486  *check = PAPI_query_event( *EventCode );
3487 }
* 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 3489 of file upper_PAPI_FWRAPPERS.c.

3491 {
3492  char tmp[128];
3493  Fortran2cstring( tmp, EventName, 128, Event_len );
3495 }
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 3590 of file upper_PAPI_FWRAPPERS.c.

3592 {
3593  *check = PAPI_read( *EventSet, values );
3594 }
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 3701 of file upper_PAPI_FWRAPPERS.c.

3703 {
3704  *check = PAPI_read_counters( values, *array_len );
3705 }
* 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 3596 of file upper_PAPI_FWRAPPERS.c.

3598 {
3599  *check = PAPI_read_ts( *EventSet, values, cycles );
3600 }
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 3418 of file upper_PAPI_FWRAPPERS.c.

3419 {
3421 }
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 3602 of file upper_PAPI_FWRAPPERS.c.

3604 {
3606 }
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 3616 of file upper_PAPI_FWRAPPERS.c.

3618 {
3619  *check = PAPI_remove_events( *EventSet, Events, *number );
3620 }
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 3608 of file upper_PAPI_FWRAPPERS.c.

3610 {
3611  char tmp[128];
3612  Fortran2cstring( tmp, EventName, 128, Event_len );
3614 }
static void Fortran2cstring(char *cstring, char *Fstring, int clen, int Flen)
int EventSet
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 3622 of file upper_PAPI_FWRAPPERS.c.

3623 {
3624  *check = PAPI_reset( *EventSet );
3625 }
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 3637 of file upper_PAPI_FWRAPPERS.c.

3639 {
3640  *check = PAPI_set_cmp_domain( *domain, *cidx );
3641 }
* 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 3649 of file upper_PAPI_FWRAPPERS.c.

3651 {
3652  *check = PAPI_set_cmp_granularity( *granularity, *cidx );
3653 }
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 3627 of file upper_PAPI_FWRAPPERS.c.

3628 {
3629  *check = PAPI_set_debug( *debug );
3630 }
* 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 3632 of file upper_PAPI_FWRAPPERS.c.

3633 {
3634  *check = PAPI_set_domain( *domain );
3635 }
* 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 3826 of file upper_PAPI_FWRAPPERS.c.

3828 {
3829  PAPI_option_t d;
3830 
3831  d.domain.domain = *domain;
3832  d.domain.eventset = *es;
3833  *check = PAPI_set_opt( 5, &d );
3834 }
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 3643 of file upper_PAPI_FWRAPPERS.c.

3645 {
3646  *check = PAPI_set_granularity( *granularity );
3647 }
* 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 3836 of file upper_PAPI_FWRAPPERS.c.

3837 {
3838  PAPI_option_t i;
3839 
3840  i.inherit.inherit = *inherit;
3841  *check = PAPI_set_opt( 28, &i );
3842 }
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 3459 of file upper_PAPI_FWRAPPERS.c.

3461 {
3463 }
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 3655 of file upper_PAPI_FWRAPPERS.c.

3656 {
3657  PAPI_shutdown( );
3658 }
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 3660 of file upper_PAPI_FWRAPPERS.c.

3661 {
3662  *check = PAPI_start( *EventSet );
3663 }
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 3695 of file upper_PAPI_FWRAPPERS.c.

3697 {
3698  *check = PAPI_start_counters( events, *array_len );
3699 }
* 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 3665 of file upper_PAPI_FWRAPPERS.c.

3667 {
3668  *check = PAPI_state( *EventSet, status );
3669 }
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 3671 of file upper_PAPI_FWRAPPERS.c.

3673 {
3674  *check = PAPI_stop( *EventSet, values );
3675 }
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 3707 of file upper_PAPI_FWRAPPERS.c.

3709 {
3710  *check = PAPI_stop_counters( values, *array_len );
3711 }
* 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 3413 of file upper_PAPI_FWRAPPERS.c.

3414 {
3415  *id = PAPI_thread_id( );
3416 }
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 3436 of file upper_PAPI_FWRAPPERS.c.

3438 {
3439  *check = PAPI_thread_init( handle );
3440 }
* 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 3689 of file upper_PAPI_FWRAPPERS.c.

3691 {
3692  *check = PAPI_unlock( *lock );
3693 }
* 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 3423 of file upper_PAPI_FWRAPPERS.c.

3424 {
3426 }
* 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 3431 of file upper_PAPI_FWRAPPERS.c.

3432 {
3434 }
* 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 3677 of file upper_PAPI_FWRAPPERS.c.

3679 {
3680  *check = PAPI_write( *EventSet, values );
3681 }
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 
)

◆ 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 
)

◆ sigaltstack()

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

◆ sigblock()

int sigblock ( int  __mask)

◆ siggetmask()

int siggetmask ( void  )

Definition at line 2178 of file upper_PAPI_FWRAPPERS.c.

2204  {
2205 
2206 
2207  union
2208  {
2209 
2210  __sighandler_t sa_handler;
2211 
2212  void (*sa_sigaction) (int, siginfo_t *, void *);
2213  }
2214  __sigaction_handler;
2215 
2216 
2217 
2218 
2219 
2220 
2221 
2222  __sigset_t sa_mask;
2223 
2224 
2225  int sa_flags;
2226 
2227 
2228  void (*sa_restorer) (void);
2229  };
void(* __sighandler_t)(int)

◆ siginterrupt()

int siginterrupt ( int  __sig,
int  __interrupt 
)

◆ signal()

__sighandler_t signal ( int  __sig,
__sighandler_t  __handler 
)

◆ sigpending()

int sigpending ( sigset_t __set)

◆ sigprocmask()

int sigprocmask ( int  __how,
const sigset_t *__restrict  __set,
sigset_t *__restrict  __oset 
)

◆ 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

◆ __attribute__

typedef __attribute__

◆ __leaf__

int __leaf__

Definition at line 352 of file upper_PAPI_FWRAPPERS.c.

◆ __pad

unsigned int __pad[3]

Definition at line 2592 of file upper_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)]

◆ PAPI_all_thr_spec_t

Definition at line 2719 of file upper_PAPI_FWRAPPERS.c.

◆ sys_siglist

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

◆ vrregs

unsigned int vrregs[32][4]

Definition at line 2589 of file upper_PAPI_FWRAPPERS.c.

◆ vrsave

unsigned int vrsave

Definition at line 2591 of file upper_PAPI_FWRAPPERS.c.

◆ vscr

vscr_t vscr

Definition at line 2590 of file upper_PAPI_FWRAPPERS.c.