4 # 1 "/usr/include/stdc-predef.h" 1 3 4 7 # 21 "papi_fwrappers.c" 8 #pragma GCC visibility push(default) 10 # 1 "/usr/include/stdio.h" 1 3 4 11 # 27 "/usr/include/stdio.h" 3 4 12 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 13 # 33 "/usr/include/bits/libc-header-start.h" 3 4 14 # 1 "/usr/include/features.h" 1 3 4 15 # 428 "/usr/include/features.h" 3 4 16 # 1 "/usr/include/sys/cdefs.h" 1 3 4 17 # 427 "/usr/include/sys/cdefs.h" 3 4 18 # 1 "/usr/include/bits/wordsize.h" 1 3 4 19 # 428 "/usr/include/sys/cdefs.h" 2 3 4 20 # 1 "/usr/include/bits/long-double.h" 1 3 4 21 # 429 "/usr/include/sys/cdefs.h" 2 3 4 22 # 429 "/usr/include/features.h" 2 3 4 23 # 452 "/usr/include/features.h" 3 4 24 # 1 "/usr/include/gnu/stubs.h" 1 3 4 25 # 10 "/usr/include/gnu/stubs.h" 3 4 26 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 27 # 11 "/usr/include/gnu/stubs.h" 2 3 4 28 # 453 "/usr/include/features.h" 2 3 4 29 # 34 "/usr/include/bits/libc-header-start.h" 2 3 4 30 # 28 "/usr/include/stdio.h" 2 3 4 36 # 1 "/usr/lib64/gcc/x86_64-alt-linux/8/include/stddef.h" 1 3 4 37 # 216 "/usr/lib64/gcc/x86_64-alt-linux/8/include/stddef.h" 3 4 39 # 216 "/usr/lib64/gcc/x86_64-alt-linux/8/include/stddef.h" 3 4 41 # 34 "/usr/include/stdio.h" 2 3 4 43 # 1 "/usr/include/bits/types.h" 1 3 4 44 # 27 "/usr/include/bits/types.h" 3 4 45 # 1 "/usr/include/bits/wordsize.h" 1 3 4 46 # 28 "/usr/include/bits/types.h" 2 3 4 82 # 130 "/usr/include/bits/types.h" 3 4 83 # 1 "/usr/include/bits/typesizes.h" 1 3 4 84 # 131 "/usr/include/bits/types.h" 2 3 4 97 typedef struct {
int __val[2]; }
__fsid_t;
157 # 36 "/usr/include/stdio.h" 2 3 4 158 # 1 "/usr/include/bits/types/__FILE.h" 1 3 4 164 # 37 "/usr/include/stdio.h" 2 3 4 165 # 1 "/usr/include/bits/types/FILE.h" 1 3 4 173 # 38 "/usr/include/stdio.h" 2 3 4 177 # 1 "/usr/include/bits/libio.h" 1 3 4 178 # 35 "/usr/include/bits/libio.h" 3 4 179 # 1 "/usr/include/bits/_G_config.h" 1 3 4 180 # 19 "/usr/include/bits/_G_config.h" 3 4 181 # 1 "/usr/lib64/gcc/x86_64-alt-linux/8/include/stddef.h" 1 3 4 182 # 20 "/usr/include/bits/_G_config.h" 2 3 4 184 # 1 "/usr/include/bits/types/__mbstate_t.h" 1 3 4 185 # 13 "/usr/include/bits/types/__mbstate_t.h" 3 4 195 # 22 "/usr/include/bits/_G_config.h" 2 3 4 210 # 36 "/usr/include/bits/libio.h" 2 3 4 211 # 53 "/usr/include/bits/libio.h" 3 4 212 # 1 "/usr/lib64/gcc/x86_64-alt-linux/8/include/stdarg.h" 1 3 4 213 # 40 "/usr/lib64/gcc/x86_64-alt-linux/8/include/stdarg.h" 3 4 215 # 54 "/usr/include/bits/libio.h" 2 3 4 216 # 149 "/usr/include/bits/libio.h" 3 4 235 # 177 "/usr/include/bits/libio.h" 3 4 246 # 245 "/usr/include/bits/libio.h" 3 4 287 # 293 "/usr/include/bits/libio.h" 3 4 304 char _unused2[15 *
sizeof (int) - 4 *
sizeof (
void *) -
sizeof (
size_t)];
312 struct _IO_FILE_plus;
317 # 337 "/usr/include/bits/libio.h" 3 4 339 # 389 "/usr/include/bits/libio.h" 3 4 343 # 433 "/usr/include/bits/libio.h" 3 4 358 # 462 "/usr/include/bits/libio.h" 3 4 359 extern int _IO_vfscanf (
_IO_FILE * __restrict,
const char * __restrict,
361 extern int _IO_vfprintf (
_IO_FILE *__restrict,
const char *__restrict,
364 extern size_t _IO_sgetn (
_IO_FILE *,
void *,
size_t);
370 # 42 "/usr/include/stdio.h" 2 3 4 376 # 57 "/usr/include/stdio.h" 3 4 378 # 71 "/usr/include/stdio.h" 3 4 387 # 131 "/usr/include/stdio.h" 3 4 388 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 389 # 132 "/usr/include/stdio.h" 2 3 4 408 extern int renameat (
int __oldfd,
const char *__old,
int __newfd,
417 extern FILE *tmpfile (
void) ;
418 # 173 "/usr/include/stdio.h" 3 4 425 # 190 "/usr/include/stdio.h" 3 4 426 extern char *tempnam (
const char *__dir,
const char *__pfx)
435 extern int fclose (FILE *__stream);
440 extern int fflush (FILE *__stream);
441 # 213 "/usr/include/stdio.h" 3 4 442 extern int fflush_unlocked (FILE *__stream);
443 # 232 "/usr/include/stdio.h" 3 4 444 extern FILE *fopen (
const char *__restrict __filename,
445 const char *__restrict __modes) ;
450 extern FILE *freopen (
const char *__restrict __filename,
451 const char *__restrict __modes,
452 FILE *__restrict __stream) ;
453 # 265 "/usr/include/stdio.h" 3 4 455 # 278 "/usr/include/stdio.h" 3 4 456 extern FILE *fmemopen (
void *__s,
size_t __len,
const char *__modes)
462 extern FILE *open_memstream (
char **__bufloc,
size_t *__sizeloc)
__attribute__ ((__nothrow__ ,
__leaf__)) ;
468 extern void setbuf (FILE *__restrict __stream,
char *__restrict __buf)
__attribute__ ((__nothrow__ ,
__leaf__));
472 extern int setvbuf (FILE *__restrict __stream,
char *__restrict __buf,
478 extern void setbuffer (FILE *__restrict __stream,
char *__restrict __buf,
490 extern int fprintf (FILE *__restrict __stream,
491 const char *__restrict __format, ...);
496 extern int printf (
const char *__restrict __format, ...);
498 extern int sprintf (
char *__restrict __s,
499 const char *__restrict __format, ...)
__attribute__ ((__nothrow__));
505 extern
int vfprintf (FILE *__restrict __s, const
char *__restrict __format,
511 extern
int vprintf (const
char *__restrict __format,
__gnuc_va_list __arg);
513 extern
int vsprintf (
char *__restrict __s, const
char *__restrict __format,
518 extern
int snprintf (
char *__restrict __s,
size_t __maxlen,
519 const
char *__restrict __format, ...)
522 extern
int vsnprintf (
char *__restrict __s,
size_t __maxlen,
525 # 365 "/usr/include/stdio.h" 3 4 526 extern int vdprintf (
int __fd,
const char *__restrict __fmt,
529 extern int dprintf (
int __fd,
const char *__restrict __fmt, ...)
538 extern
int fscanf (FILE *__restrict __stream,
539 const
char *__restrict __format, ...) ;
544 extern
int scanf (const
char *__restrict __format, ...) ;
546 extern
int sscanf (const
char *__restrict __s,
548 # 395 "/usr/include/stdio.h" 3 4 549 extern int fscanf (FILE *__restrict __stream,
const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf")
552 extern
int scanf (const
char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf")
554 extern
int sscanf (const
char *__restrict __s, const
char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf")
__attribute__ ((__nothrow__ ,
__leaf__))
557 # 420 "/usr/include/stdio.h" 3 4 558 extern int vfscanf (FILE *__restrict __s,
const char *__restrict __format,
566 extern int vscanf (
const char *__restrict __format,
__gnuc_va_list __arg)
570 extern int vsscanf (
const char *__restrict __s,
573 # 443 "/usr/include/stdio.h" 3 4 574 extern int vfscanf (FILE *__restrict __s,
const char *__restrict __format,
__gnuc_va_list __arg) __asm__ (
"" "__isoc99_vfscanf")
579 extern
int vscanf (const
char *__restrict __format,
__gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf")
582 extern
int vsscanf (const
char *__restrict __s, const
char *__restrict __format,
__gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf")
__attribute__ ((__nothrow__ ,
__leaf__))
587 # 477 "/usr/include/stdio.h" 3 4 588 extern int fgetc (FILE *__stream);
589 extern int getc (FILE *__stream);
595 extern int getchar (
void);
596 # 495 "/usr/include/stdio.h" 3 4 597 extern int getc_unlocked (FILE *__stream);
598 extern int getchar_unlocked (
void);
599 # 506 "/usr/include/stdio.h" 3 4 600 extern int fgetc_unlocked (FILE *__stream);
601 # 517 "/usr/include/stdio.h" 3 4 602 extern int fputc (
int __c, FILE *__stream);
603 extern int putc (
int __c, FILE *__stream);
609 extern int putchar (
int __c);
610 # 537 "/usr/include/stdio.h" 3 4 611 extern int fputc_unlocked (
int __c, FILE *__stream);
619 extern int putc_unlocked (
int __c, FILE *__stream);
620 extern int putchar_unlocked (
int __c);
627 extern int getw (FILE *__stream);
630 extern int putw (
int __w, FILE *__stream);
638 extern char *fgets (
char *__restrict __s,
int __n, FILE *__restrict __stream)
640 # 603 "/usr/include/stdio.h" 3 4 641 extern __ssize_t __getdelim (
char **__restrict __lineptr,
642 size_t *__restrict __n,
int __delimiter,
643 FILE *__restrict __stream) ;
644 extern __ssize_t getdelim (
char **__restrict __lineptr,
645 size_t *__restrict __n,
int __delimiter,
646 FILE *__restrict __stream) ;
654 extern __ssize_t getline (
char **__restrict __lineptr,
655 size_t *__restrict __n,
656 FILE *__restrict __stream) ;
664 extern int fputs (
const char *__restrict __s, FILE *__restrict __stream);
670 extern int puts (
const char *__s);
677 extern int ungetc (
int __c, FILE *__stream);
684 extern size_t fread (
void *__restrict __ptr,
size_t __size,
685 size_t __n, FILE *__restrict __stream) ;
690 extern size_t fwrite (
const void *__restrict __ptr,
size_t __size,
691 size_t __n, FILE *__restrict __s);
692 # 673 "/usr/include/stdio.h" 3 4 693 extern size_t fread_unlocked (
void *__restrict __ptr,
size_t __size,
694 size_t __n, FILE *__restrict __stream) ;
695 extern size_t fwrite_unlocked (
const void *__restrict __ptr,
size_t __size,
696 size_t __n, FILE *__restrict __stream);
704 extern int fseek (FILE *__stream,
long int __off,
int __whence);
709 extern long int ftell (FILE *__stream) ;
714 extern void rewind (FILE *__stream);
715 # 707 "/usr/include/stdio.h" 3 4 716 extern int fseeko (FILE *__stream,
__off_t __off,
int __whence);
721 extern __off_t ftello (FILE *__stream) ;
722 # 731 "/usr/include/stdio.h" 3 4 723 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
728 extern int fsetpos (FILE *__stream,
const fpos_t *__pos);
729 # 757 "/usr/include/stdio.h" 3 4 748 extern void perror (
const char *__s);
754 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4 755 # 26 "/usr/include/bits/sys_errlist.h" 3 4 757 extern const char *
const sys_errlist[];
758 # 782 "/usr/include/stdio.h" 2 3 4 769 # 800 "/usr/include/stdio.h" 3 4 770 extern FILE *popen (
const char *__command,
const char *__modes) ;
776 extern int pclose (FILE *__stream);
783 # 840 "/usr/include/stdio.h" 3 4 792 # 868 "/usr/include/stdio.h" 3 4 794 # 24 "papi_fwrappers.c" 2 795 # 1 "/usr/include/assert.h" 1 3 4 796 # 64 "/usr/include/assert.h" 3 4 800 extern void __assert_fail (
const char *__assertion,
const char *__file,
801 unsigned int __line,
const char *__function)
805 extern void __assert_perror_fail (
int __errnum,
const char *__file,
806 unsigned int __line,
const char *__function)
812 extern void __assert (
const char *__assertion,
const char *__file,
int __line)
817 # 25 "papi_fwrappers.c" 2 818 # 1 "/usr/include/string.h" 1 3 4 819 # 26 "/usr/include/string.h" 3 4 820 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 821 # 27 "/usr/include/string.h" 2 3 4 828 # 1 "/usr/lib64/gcc/x86_64-alt-linux/8/include/stddef.h" 1 3 4 829 # 34 "/usr/include/string.h" 2 3 4 830 # 42 "/usr/include/string.h" 3 4 831 extern void *memcpy (
void *__restrict __dest,
const void *__restrict __src,
835 extern void *memmove (
void *__dest,
const void *__src,
size_t __n)
842 extern void *memccpy (
void *__restrict __dest,
const void *__restrict __src,
852 extern int memcmp (
const void *__s1,
const void *__s2,
size_t __n)
854 # 90 "/usr/include/string.h" 3 4 855 extern void *memchr (
const void *__s,
int __c,
size_t __n)
857 # 121 "/usr/include/string.h" 3 4 858 extern char *strcpy (
char *__restrict __dest,
const char *__restrict __src)
861 extern char *strncpy (
char *__restrict __dest,
862 const char *__restrict __src,
size_t __n)
866 extern char *strcat (
char *__restrict __dest,
const char *__restrict __src)
869 extern char *strncat (
char *__restrict __dest,
const char *__restrict __src,
873 extern int strcmp (
const char *__s1,
const char *__s2)
876 extern int strncmp (
const char *__s1,
const char *__s2,
size_t __n)
880 extern int strcoll (
const char *__s1,
const char *__s2)
883 extern size_t strxfrm (
char *__restrict __dest,
884 const char *__restrict __src,
size_t __n)
889 # 1 "/usr/include/bits/types/locale_t.h" 1 3 4 890 # 22 "/usr/include/bits/types/locale_t.h" 3 4 891 # 1 "/usr/include/bits/types/__locale_t.h" 1 3 4 892 # 28 "/usr/include/bits/types/__locale_t.h" 3 4 893 struct __locale_struct
896 struct __locale_data *__locales[13];
899 const unsigned short int *__ctype_b;
900 const int *__ctype_tolower;
901 const int *__ctype_toupper;
904 const char *__names[13];
908 # 23 "/usr/include/bits/types/locale_t.h" 2 3 4 911 # 153 "/usr/include/string.h" 2 3 4 918 extern
size_t strxfrm_l (
char *__dest, const
char *__src,
size_t __n,
925 extern
char *strdup (const
char *__s)
933 extern
char *strndup (const
char *__string,
size_t __n)
935 # 225 "/usr/include/string.h" 3 4 936 extern char *strchr (
const char *__s,
int __c)
938 # 252 "/usr/include/string.h" 3 4 939 extern char *strrchr (
const char *__s,
int __c)
941 # 272 "/usr/include/string.h" 3 4 942 extern size_t strcspn (
const char *__s,
const char *__reject)
946 extern size_t strspn (
const char *__s,
const char *__accept)
948 # 302 "/usr/include/string.h" 3 4 949 extern char *strpbrk (
const char *__s,
const char *__accept)
951 # 329 "/usr/include/string.h" 3 4 952 extern char *strstr (
const char *__haystack,
const char *__needle)
958 extern char *strtok (
char *__restrict __s,
const char *__restrict __delim)
963 extern char *__strtok_r (
char *__restrict __s,
964 const char *__restrict __delim,
965 char **__restrict __save_ptr)
968 extern char *strtok_r (
char *__restrict __s,
const char *__restrict __delim,
969 char **__restrict __save_ptr)
971 # 384 "/usr/include/string.h" 3 4 972 extern size_t strlen (
const char *__s)
978 extern size_t strnlen (
const char *__string,
size_t __maxlen)
985 # 409 "/usr/include/string.h" 3 4 986 extern int strerror_r (
int __errnum,
char *__buf,
size_t __buflen) __asm__ (
"" "__xpg_strerror_r")
__attribute__ ((__nothrow__ ,
__leaf__))
989 # 427 "/usr/include/string.h" 3 4 994 # 1 "/usr/include/strings.h" 1 3 4 995 # 23 "/usr/include/strings.h" 3 4 996 # 1 "/usr/lib64/gcc/x86_64-alt-linux/8/include/stddef.h" 1 3 4 997 # 24 "/usr/include/strings.h" 2 3 4 1008 extern int bcmp (
const void *__s1,
const void *__s2,
size_t __n)
1012 extern void bcopy (
const void *__src,
void *__dest,
size_t __n)
1017 # 68 "/usr/include/strings.h" 3 4 1018 extern char *index (
const char *__s,
int __c)
1020 # 96 "/usr/include/strings.h" 3 4 1021 extern char *rindex (
const char *__s,
int __c)
1036 __extension__
extern int ffsll (
long long int __ll)
1041 extern int strcasecmp (
const char *__s1,
const char *__s2)
1045 extern int strncasecmp (
const char *__s1,
const char *__s2,
size_t __n)
1053 extern int strcasecmp_l (
const char *__s1,
const char *__s2,
locale_t __loc)
1058 extern int strncasecmp_l (
const char *__s1,
const char *__s2,
1064 # 432 "/usr/include/string.h" 2 3 4 1072 extern char *strsep (
char **__restrict __stringp,
1073 const char *__restrict __delim)
1082 extern char *__stpcpy (
char *__restrict __dest,
const char *__restrict __src)
1084 extern char *stpcpy (
char *__restrict __dest,
const char *__restrict __src)
1089 extern char *__stpncpy (
char *__restrict __dest,
1090 const char *__restrict __src,
size_t __n)
1092 extern char *stpncpy (
char *__restrict __dest,
1093 const char *__restrict __src,
size_t __n)
1099 extern size_t strlcpy (
char *__restrict __dest,
1100 const char *__restrict __src,
size_t __n)
1105 extern size_t strlcat (
char *__restrict __dest,
1106 const char *__restrict __src,
size_t __n)
1108 # 511 "/usr/include/string.h" 3 4 1110 # 26 "papi_fwrappers.c" 2 1113 #pragma GCC visibility push(default) 1115 # 1 "/usr/include/sys/types.h" 1 3 4 1116 # 27 "/usr/include/sys/types.h" 3 4 1139 # 60 "/usr/include/sys/types.h" 3 4 1161 # 98 "/usr/include/sys/types.h" 3 4 1169 # 115 "/usr/include/sys/types.h" 3 4 1182 # 1 "/usr/include/bits/types/clock_t.h" 1 3 4 1190 # 128 "/usr/include/sys/types.h" 2 3 4 1192 # 1 "/usr/include/bits/types/clockid_t.h" 1 3 4 1200 # 130 "/usr/include/sys/types.h" 2 3 4 1201 # 1 "/usr/include/bits/types/time_t.h" 1 3 4 1209 # 131 "/usr/include/sys/types.h" 2 3 4 1210 # 1 "/usr/include/bits/types/timer_t.h" 1 3 4 1218 # 132 "/usr/include/sys/types.h" 2 3 4 1219 # 145 "/usr/include/sys/types.h" 3 4 1220 # 1 "/usr/lib64/gcc/x86_64-alt-linux/8/include/stddef.h" 1 3 4 1221 # 146 "/usr/include/sys/types.h" 2 3 4 1225 typedef unsigned long int ulong;
1226 typedef unsigned short int ushort;
1227 typedef unsigned int uint;
1232 # 1 "/usr/include/bits/stdint-intn.h" 1 3 4 1233 # 24 "/usr/include/bits/stdint-intn.h" 3 4 1238 # 157 "/usr/include/sys/types.h" 2 3 4 1239 # 178 "/usr/include/sys/types.h" 3 4 1240 typedef unsigned int u_int8_t
__attribute__ ((__mode__ (__QI__)));
1241 typedef unsigned int u_int16_t
__attribute__ ((__mode__ (__HI__)));
1242 typedef unsigned int u_int32_t
__attribute__ ((__mode__ (__SI__)));
1243 typedef unsigned int u_int64_t
__attribute__ ((__mode__ (__DI__)));
1245 typedef int register_t
__attribute__ ((__mode__ (__word__)));
1246 # 194 "/usr/include/sys/types.h" 3 4 1247 # 1 "/usr/include/endian.h" 1 3 4 1248 # 36 "/usr/include/endian.h" 3 4 1249 # 1 "/usr/include/bits/endian.h" 1 3 4 1250 # 37 "/usr/include/endian.h" 2 3 4 1251 # 60 "/usr/include/endian.h" 3 4 1252 # 1 "/usr/include/bits/byteswap.h" 1 3 4 1253 # 28 "/usr/include/bits/byteswap.h" 3 4 1254 # 1 "/usr/include/bits/wordsize.h" 1 3 4 1255 # 29 "/usr/include/bits/byteswap.h" 2 3 4 1262 # 1 "/usr/include/bits/byteswap-16.h" 1 3 4 1263 # 36 "/usr/include/bits/byteswap.h" 2 3 4 1264 # 44 "/usr/include/bits/byteswap.h" 3 4 1265 static __inline
unsigned int 1266 __bswap_32 (
unsigned int __bsx)
1268 return __builtin_bswap32 (__bsx);
1270 # 108 "/usr/include/bits/byteswap.h" 3 4 1274 return __builtin_bswap64 (__bsx);
1276 # 61 "/usr/include/endian.h" 2 3 4 1277 # 1 "/usr/include/bits/uintn-identity.h" 1 3 4 1278 # 32 "/usr/include/bits/uintn-identity.h" 3 4 1296 # 62 "/usr/include/endian.h" 2 3 4 1297 # 195 "/usr/include/sys/types.h" 2 3 4 1300 # 1 "/usr/include/sys/select.h" 1 3 4 1301 # 30 "/usr/include/sys/select.h" 3 4 1302 # 1 "/usr/include/bits/select.h" 1 3 4 1303 # 22 "/usr/include/bits/select.h" 3 4 1304 # 1 "/usr/include/bits/wordsize.h" 1 3 4 1305 # 23 "/usr/include/bits/select.h" 2 3 4 1306 # 31 "/usr/include/sys/select.h" 2 3 4 1309 # 1 "/usr/include/bits/types/sigset_t.h" 1 3 4 1313 # 1 "/usr/include/bits/types/__sigset_t.h" 1 3 4 1320 unsigned long int __val[(1024 / (8 *
sizeof (
unsigned long int)))];
1322 # 5 "/usr/include/bits/types/sigset_t.h" 2 3 4 1326 # 34 "/usr/include/sys/select.h" 2 3 4 1330 # 1 "/usr/include/bits/types/struct_timeval.h" 1 3 4 1343 # 38 "/usr/include/sys/select.h" 2 3 4 1345 # 1 "/usr/include/bits/types/struct_timespec.h" 1 3 4 1346 # 9 "/usr/include/bits/types/struct_timespec.h" 3 4 1352 # 40 "/usr/include/sys/select.h" 2 3 4 1363 # 59 "/usr/include/sys/select.h" 3 4 1383 # 91 "/usr/include/sys/select.h" 3 4 1385 # 101 "/usr/include/sys/select.h" 3 4 1386 extern int select (
int __nfds,
fd_set *__restrict __readfds,
1387 fd_set *__restrict __writefds,
1388 fd_set *__restrict __exceptfds,
1389 struct timeval *__restrict __timeout);
1390 # 113 "/usr/include/sys/select.h" 3 4 1391 extern int pselect (
int __nfds,
fd_set *__restrict __readfds,
1392 fd_set *__restrict __writefds,
1393 fd_set *__restrict __exceptfds,
1394 const struct timespec *__restrict __timeout,
1396 # 126 "/usr/include/sys/select.h" 3 4 1398 # 198 "/usr/include/sys/types.h" 2 3 4 1406 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 1407 # 41 "/usr/include/sys/sysmacros.h" 3 4 1408 # 1 "/usr/include/bits/sysmacros.h" 1 3 4 1409 # 42 "/usr/include/sys/sysmacros.h" 2 3 4 1410 # 71 "/usr/include/sys/sysmacros.h" 3 4 1416 # 85 "/usr/include/sys/sysmacros.h" 3 4 1418 # 206 "/usr/include/sys/types.h" 2 3 4 1441 # 254 "/usr/include/sys/types.h" 3 4 1442 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 1443 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 1444 # 1 "/usr/include/bits/thread-shared-types.h" 1 3 4 1445 # 77 "/usr/include/bits/thread-shared-types.h" 3 4 1446 # 1 "/usr/include/bits/pthreadtypes-arch.h" 1 3 4 1447 # 21 "/usr/include/bits/pthreadtypes-arch.h" 3 4 1448 # 1 "/usr/include/bits/wordsize.h" 1 3 4 1449 # 22 "/usr/include/bits/pthreadtypes-arch.h" 2 3 4 1450 # 65 "/usr/include/bits/pthreadtypes-arch.h" 3 4 1470 unsigned long int __pad2;
1474 # 99 "/usr/include/bits/pthreadtypes-arch.h" 3 4 1476 # 78 "/usr/include/bits/thread-shared-types.h" 2 3 4 1481 typedef struct __pthread_internal_list
1483 struct __pthread_internal_list *__prev;
1484 struct __pthread_internal_list *__next;
1486 # 118 "/usr/include/bits/thread-shared-types.h" 3 4 1494 # 148 "/usr/include/bits/thread-shared-types.h" 3 4 1503 # 165 "/usr/include/bits/thread-shared-types.h" 3 4 1514 __extension__
unsigned long long int __wseq;
1523 __extension__
unsigned long long int __g1_start;
1536 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 1592 __extension__
long long int __align;
1632 # 255 "/usr/include/sys/types.h" 2 3 4 1637 # 1 "/usr/lib64/gcc/x86_64-alt-linux/8/include/limits.h" 1 3 4 1638 # 34 "/usr/lib64/gcc/x86_64-alt-linux/8/include/limits.h" 3 4 1639 # 1 "/usr/lib64/gcc/x86_64-alt-linux/8/include/syslimits.h" 1 3 4 1646 # 1 "/usr/lib64/gcc/x86_64-alt-linux/8/include/limits.h" 1 3 4 1647 # 194 "/usr/lib64/gcc/x86_64-alt-linux/8/include/limits.h" 3 4 1648 # 1 "/usr/include/limits.h" 1 3 4 1649 # 26 "/usr/include/limits.h" 3 4 1650 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 1651 # 27 "/usr/include/limits.h" 2 3 4 1652 # 183 "/usr/include/limits.h" 3 4 1653 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4 1654 # 160 "/usr/include/bits/posix1_lim.h" 3 4 1655 # 1 "/usr/include/bits/local_lim.h" 1 3 4 1656 # 38 "/usr/include/bits/local_lim.h" 3 4 1657 # 1 "/usr/include/linux/limits.h" 1 3 4 1658 # 39 "/usr/include/bits/local_lim.h" 2 3 4 1659 # 161 "/usr/include/bits/posix1_lim.h" 2 3 4 1660 # 184 "/usr/include/limits.h" 2 3 4 1664 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4 1665 # 188 "/usr/include/limits.h" 2 3 4 1666 # 195 "/usr/lib64/gcc/x86_64-alt-linux/8/include/limits.h" 2 3 4 1667 # 8 "/usr/lib64/gcc/x86_64-alt-linux/8/include/syslimits.h" 2 3 4 1668 # 35 "/usr/lib64/gcc/x86_64-alt-linux/8/include/limits.h" 2 3 4 1670 # 1 "papiStdEventDefs.h" 1 1671 # 51 "papiStdEventDefs.h" 1673 # 51 "papiStdEventDefs.h" 1824 # 1 "/usr/include/signal.h" 1 3 4 1825 # 27 "/usr/include/signal.h" 3 4 1829 # 1 "/usr/include/bits/signum.h" 1 3 4 1830 # 26 "/usr/include/bits/signum.h" 3 4 1831 # 1 "/usr/include/bits/signum-generic.h" 1 3 4 1832 # 27 "/usr/include/bits/signum.h" 2 3 4 1833 # 31 "/usr/include/signal.h" 2 3 4 1835 # 1 "/usr/include/bits/types/sig_atomic_t.h" 1 3 4 1844 # 8 "/usr/include/bits/types/sig_atomic_t.h" 3 4 1846 # 33 "/usr/include/signal.h" 2 3 4 1847 # 57 "/usr/include/signal.h" 3 4 1848 # 1 "/usr/include/bits/types/siginfo_t.h" 1 3 4 1852 # 1 "/usr/include/bits/wordsize.h" 1 3 4 1853 # 5 "/usr/include/bits/types/siginfo_t.h" 2 3 4 1855 # 1 "/usr/include/bits/types/__sigval_t.h" 1 3 4 1856 # 24 "/usr/include/bits/types/__sigval_t.h" 3 4 1863 typedef union sigval __sigval_t;
1864 # 7 "/usr/include/bits/types/siginfo_t.h" 2 3 4 1865 # 16 "/usr/include/bits/types/siginfo_t.h" 3 4 1866 # 1 "/usr/include/bits/siginfo-arch.h" 1 3 4 1867 # 17 "/usr/include/bits/types/siginfo_t.h" 2 3 4 1868 # 36 "/usr/include/bits/types/siginfo_t.h" 3 4 1886 int _pad[((128 /
sizeof (int)) - 4)];
1900 __sigval_t si_sigval;
1908 __sigval_t si_sigval;
1926 short int si_addr_lsb;
1958 # 58 "/usr/include/signal.h" 2 3 4 1959 # 1 "/usr/include/bits/siginfo-consts.h" 1 3 4 1960 # 35 "/usr/include/bits/siginfo-consts.h" 3 4 1978 # 63 "/usr/include/bits/siginfo-consts.h" 3 4 2052 # 151 "/usr/include/bits/siginfo-consts.h" 3 4 2085 # 59 "/usr/include/signal.h" 2 3 4 2089 # 1 "/usr/include/bits/types/sigval_t.h" 1 3 4 2090 # 16 "/usr/include/bits/types/sigval_t.h" 3 4 2092 # 63 "/usr/include/signal.h" 2 3 4 2096 # 1 "/usr/include/bits/types/sigevent_t.h" 1 3 4 2100 # 1 "/usr/include/bits/wordsize.h" 1 3 4 2101 # 5 "/usr/include/bits/types/sigevent_t.h" 2 3 4 2102 # 22 "/usr/include/bits/types/sigevent_t.h" 3 4 2103 typedef struct sigevent
2105 __sigval_t sigev_value;
2111 int _pad[((64 /
sizeof (int)) - 4)];
2119 void (*_function) (__sigval_t);
2124 # 67 "/usr/include/signal.h" 2 3 4 2125 # 1 "/usr/include/bits/sigevent-consts.h" 1 3 4 2126 # 27 "/usr/include/bits/sigevent-consts.h" 3 4 2140 # 68 "/usr/include/signal.h" 2 3 4 2152 # 88 "/usr/include/signal.h" 3 4 2155 # 112 "/usr/include/signal.h" 3 4 2178 extern void psignal (
int __sig,
const char *__s);
2182 # 170 "/usr/include/signal.h" 3 4 2190 # 190 "/usr/include/signal.h" 3 4 2209 extern int sigismember (
const sigset_t *__set,
int __signo)
2211 # 226 "/usr/include/signal.h" 3 4 2212 # 1 "/usr/include/bits/sigaction.h" 1 3 4 2213 # 24 "/usr/include/bits/sigaction.h" 3 4 2223 void (*sa_sigaction) (int,
siginfo_t *,
void *);
2225 __sigaction_handler;
2239 void (*sa_restorer) (void);
2241 # 227 "/usr/include/signal.h" 2 3 4 2267 extern int sigwait (
const sigset_t *__restrict __set,
int *__restrict __sig)
2286 const struct timespec *__restrict __timeout)
2293 # 286 "/usr/include/signal.h" 3 4 2299 # 1 "/usr/include/bits/sigcontext.h" 1 3 4 2300 # 31 "/usr/include/bits/sigcontext.h" 3 4 2327 # 123 "/usr/include/bits/sigcontext.h" 3 4 2400 # 292 "/usr/include/signal.h" 2 3 4 2410 # 1 "/usr/lib64/gcc/x86_64-alt-linux/8/include/stddef.h" 1 3 4 2411 # 302 "/usr/include/signal.h" 2 3 4 2413 # 1 "/usr/include/bits/types/stack_t.h" 1 3 4 2414 # 23 "/usr/include/bits/types/stack_t.h" 3 4 2415 # 1 "/usr/lib64/gcc/x86_64-alt-linux/8/include/stddef.h" 1 3 4 2416 # 24 "/usr/include/bits/types/stack_t.h" 2 3 4 2425 # 304 "/usr/include/signal.h" 2 3 4 2428 # 1 "/usr/include/sys/ucontext.h" 1 3 4 2429 # 37 "/usr/include/sys/ucontext.h" 3 4 2431 # 46 "/usr/include/sys/ucontext.h" 3 4 2433 # 101 "/usr/include/sys/ucontext.h" 3 4 2471 __extension__
unsigned long long __reserved1 [8];
2484 # 307 "/usr/include/signal.h" 2 3 4 2494 # 1 "/usr/include/bits/sigstack.h" 1 3 4 2495 # 317 "/usr/include/signal.h" 2 3 4 2496 # 1 "/usr/include/bits/ss_flags.h" 1 3 4 2497 # 27 "/usr/include/bits/ss_flags.h" 3 4 2505 # 318 "/usr/include/signal.h" 2 3 4 2515 # 1 "/usr/include/bits/types/struct_sigstack.h" 1 3 4 2516 # 23 "/usr/include/bits/types/struct_sigstack.h" 3 4 2522 # 328 "/usr/include/signal.h" 2 3 4 2532 # 359 "/usr/include/signal.h" 3 4 2533 # 1 "/usr/include/bits/sigthread.h" 1 3 4 2534 # 31 "/usr/include/bits/sigthread.h" 3 4 2541 # 360 "/usr/include/signal.h" 2 3 4 2563 typedef struct _papi_all_thr_spec {
2570 long long overflow_vector,
void *context);
2584 typedef struct _papi_sprofil {
2595 typedef struct _papi_itimer_option {
2603 typedef struct _papi_inherit_option {
2609 typedef struct _papi_domain_option {
2616 typedef struct _papi_granularity_option {
2623 typedef struct _papi_preload_option {
2624 char lib_preload_env[128];
2625 char lib_preload_sep;
2626 char lib_dir_env[128];
2631 typedef struct _papi_component_option {
2633 char short_name[64];
2635 char description[128];
2637 char support_version[64];
2638 char kernel_version[64];
2639 char disabled_reason[128];
2644 int num_preset_events;
2647 int available_domains;
2648 int default_granularity;
2649 int available_granularities;
2650 int hardware_intr_sig;
2653 char *pmu_names[40];
2655 unsigned int hardware_intr:1;
2656 unsigned int precise_intr:1;
2657 unsigned int posix1b_timers:1;
2658 unsigned int kernel_profile:1;
2659 unsigned int kernel_multiplex:1;
2662 unsigned int fast_counter_read:1;
2663 unsigned int fast_real_timer:1;
2664 unsigned int fast_virtual_timer:1;
2666 unsigned int attach_must_ptrace:1;
2671 unsigned int cntr_umasks:1;
2678 unsigned int reserved_bits:12;
2682 typedef struct _papi_mpx_info {
2691 typedef struct _papi_debug_option {
2698 typedef struct _papi_address_map {
2710 typedef struct _papi_program_info {
2711 char fullname[1024];
2716 typedef struct _papi_shared_lib_info {
2724 typedef struct _papi_mh_tlb_info {
2732 typedef struct _papi_mh_cache_info {
2741 typedef struct _papi_mh_level_info {
2748 typedef struct _papi_mh_info {
2755 typedef struct _papi_hw_info {
2763 char vendor_string[128];
2765 char model_string[128];
2776 char virtual_vendor_string[128];
2778 char virtual_vendor_version[128];
2791 typedef struct _papi_attach_option {
2797 typedef struct _papi_cpu_option {
2799 unsigned int cpu_num;
2803 typedef struct _papi_multiplex_option {
2811 typedef struct _papi_addr_range_option {
2846 typedef struct _dmem_t {
2850 long long high_water_mark;
2900 unsigned int event_code;
2903 char short_descr[64];
2905 char long_descr[1024];
2910 int component_index;
2928 unsigned int event_type;
2939 unsigned int code[12];
3005 unsigned scale,
int EventSet,
int EventCode,
3047 int PAPI_flips(
float *rtime,
float *ptime,
long long * flpins,
float *mflips);
3048 int PAPI_flops(
float *rtime,
float *ptime,
long long * flpops,
float *mflops);
3049 int PAPI_ipc(
float *rtime,
float *ptime,
long long * ins,
float *ipc);
3050 int PAPI_epc(
int event,
float *rtime,
float *ptime,
long long *ref,
long long *core,
long long *evt,
float *epc);
3064 #pragma GCC visibility pop 3065 # 27 "papi_fwrappers.c" 2 3066 # 50 "papi_fwrappers.c" 3072 slen = Flen < clen ? Flen : clen;
3073 strncpy( cstring, Fstring, (
size_t ) slen );
3076 for (
i = slen - 1;
i > -1 && cstring[
i] ==
' '; cstring[
i--] =
'\0' );
3079 cstring[clen - 1] =
'\0';
3081 cstring[slen] =
'\0';
3083 # 78 "papi_fwrappers.c" 3089 # 94 "papi_fwrappers.c" 3095 # 111 "papi_fwrappers.c" 3103 # 136 "papi_fwrappers.c" 3109 # 152 "papi_fwrappers.c" 3115 # 168 "papi_fwrappers.c" 3121 # 184 "papi_fwrappers.c" 3127 # 200 "papi_fwrappers.c" 3133 # 217 "papi_fwrappers.c" 3139 # 237 "papi_fwrappers.c" 3140 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 )
3141 # 248 "papi_fwrappers.c" 3154 fullname[
i++] =
' ' );
3170 # 290 "papi_fwrappers.c" 3171 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 )
3172 # 316 "papi_fwrappers.c" 3178 # 320
"papi_fwrappers.c" 3 4
3180 # 320
"papi_fwrappers.c" 3190 *ncpu = hwinfo->
ncpu;
3191 *nnodes = hwinfo->
nnodes;
3193 *vendor = hwinfo->
vendor;
3194 *model = hwinfo->
model;
3198 strncpy( vendor_str, hwinfo->
vendor_string, (
size_t ) vendor_len );
3200 vendor_str[
i++] =
' ' );
3201 strncpy( model_str, hwinfo->
model_string, (
size_t ) model_len );
3203 model_str[
i++] =
' ' );
3214 # 365 "papi_fwrappers.c" 3219 # 381 "papi_fwrappers.c" 3225 # 397 "papi_fwrappers.c" 3230 # 412 "papi_fwrappers.c" 3235 # 427 "papi_fwrappers.c" 3240 # 442 "papi_fwrappers.c" 3245 # 457 "papi_fwrappers.c" 3250 # 472 "papi_fwrappers.c" 3255 # 487 "papi_fwrappers.c" 3260 # 502 "papi_fwrappers.c" 3265 # 517 "papi_fwrappers.c" 3270 # 532 "papi_fwrappers.c" 3283 # 556 "papi_fwrappers.c" 3289 # 572 "papi_fwrappers.c" 3295 # 588 "papi_fwrappers.c" 3300 # 603 "papi_fwrappers.c" 3306 # 619 "papi_fwrappers.c" 3312 # 636 "papi_fwrappers.c" 3330 # 672 "papi_fwrappers.c" 3336 # 689 "papi_fwrappers.c" 3344 # 717 "papi_fwrappers.c" 3345 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 )
3346 # 727 "papi_fwrappers.c" 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++] =
' ' );
3367 strncpy( event_note, info.
note, (
size_t ) event_note_len );
3368 note_len=strlen(info.
note);
3370 for (
i = note_len;
i < event_note_len;
3371 event_note[
i++] =
' ' );
3373 # 766 "papi_fwrappers.c" 3375 # 779 "papi_fwrappers.c" 3388 strncpy( out_str,
tmp, (
size_t ) out_len );
3390 for (
i = (
int ) strlen(
tmp );
i < out_len; out_str[
i++] =
' ' );
3396 # 811 "papi_fwrappers.c" 3409 slen = in_len < 128 ? in_len : 128;
3410 strncpy( tmpin, in_str, (
size_t ) slen );
3413 for (
i = slen - 1;
i > -1 && tmpin[
i] ==
' '; tmpin[
i--] =
'\0' );
3416 tmpin[128 - 1] =
'\0';
3426 # 851 "papi_fwrappers.c" 3431 # 866 "papi_fwrappers.c" 3437 # 882 "papi_fwrappers.c" 3443 # 898 "papi_fwrappers.c" 3449 # 914 "papi_fwrappers.c" 3455 # 931 "papi_fwrappers.c" 3463 # 956 "papi_fwrappers.c" 3469 # 972 "papi_fwrappers.c" 3474 # 987 "papi_fwrappers.c" 3479 # 1002 "papi_fwrappers.c" 3484 # 1017 "papi_fwrappers.c" 3490 # 1033 "papi_fwrappers.c" 3496 # 1049 "papi_fwrappers.c" 3502 # 1065 "papi_fwrappers.c" 3507 # 1080 "papi_fwrappers.c" 3512 # 1095 "papi_fwrappers.c" 3518 # 1111 "papi_fwrappers.c" 3524 # 1127 "papi_fwrappers.c" 3530 # 1143 "papi_fwrappers.c" 3536 # 1159 "papi_fwrappers.c" 3542 # 1177 "papi_fwrappers.c" 3548 # 1193 "papi_fwrappers.c" 3554 # 1209 "papi_fwrappers.c" 3560 # 1225 "papi_fwrappers.c" 3566 # 1241 "papi_fwrappers.c" 3571 # 1256 "papi_fwrappers.c" 3578 # 1273 "papi_fwrappers.c" 3579 void papif_epc__ (
int event,
float *rtime,
float *ptime,
long long *ref,
long long *core,
long long *evt,
float *epc,
int *
check)
3584 *
check =
PAPI_epc( event, rtime, ptime, ref, core, evt, epc );
3586 # 1291 "papi_fwrappers.c" 3593 # 1308 "papi_fwrappers.c" 3600 # 1330 "papi_fwrappers.c" 3604 # 1332
"papi_fwrappers.c" 3 4
3606 # 1332
"papi_fwrappers.c" 3609 # 1348 "papi_fwrappers.c" 3623 (
size_t ) lib_preload_env_len );
3625 i < lib_preload_env_len; lib_preload_env[
i++] =
' ' );
3633 # 1382 "papi_fwrappers.c" 3642 }
else if ( *mode == 7 ) {
3651 # 1410 "papi_fwrappers.c" 3659 # 1416
"papi_fwrappers.c" 3 4
3661 # 1416
"papi_fwrappers.c" 3664 }
else if ( *mode == 5 ) {
3673 # 1450 "papi_fwrappers.c" 3683 # 1470 "papi_fwrappers.c" 3692 #pragma GCC visibility pop
void papif_add_event__(int *EventSet, int *Event, int *check)
int PAPI_stop(int EventSet, long long *values)
void papif_is_initialized__(int *level)
void papif_set_granularity__(int *granularity, int *check)
int PAPI_is_initialized(void)
unsigned long int __nlink_t
__sig_atomic_t sig_atomic_t
unsigned int gnu_dev_minor(__dev_t __dev) __attribute__((__nothrow__
void papif_library_init__(int *check)
int sigaltstack(const stack_t *__restrict __ss, stack_t *__restrict __oss) __attribute__((__nothrow__
unsigned int __writers_futex
signed long int __int64_t
const PAPI_component_info_t * PAPI_get_component_info(int cidx)
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_destroy_eventset__(int *EventSet, int *check)
void papif_thread_init__(unsigned long int(*handle)(void), int *check)
int __overflow(_IO_FILE *, int)
void papif_stop__(int *EventSet, long long *values, int *check)
int sigsuspend(const sigset_t *__set) __attribute__((__nonnull__(1)))
void papif_get_domain__(int *eventset, int *domain, int *mode, int *check)
void papif_state__(int *EventSet, int *status, int *check)
size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream)
int PAPI_add_event(int EventSet, int Event)
long long PAPI_get_virt_usec(void)
int PAPI_set_cmp_granularity(int granularity, int cidx)
struct __pthread_cond_s::@25::@29 __wseq32
int PAPI_reset(int EventSet)
void papif_num_counters__(int *numevents)
unsigned long int pthread_t
unsigned int __wrphase_futex
__uint64_t __reserved1[8]
unsigned short int significand[4]
struct __locale_struct * __locale_t
void papif_event_code_to_name__(int *EventCode, char *out_str, int *check, int out_len)
const PAPI_shlib_info_t * PAPI_get_shared_lib_info(void)
unsigned int __g_signals[2]
int PAPI_disable_component_by_name(const char *name)
int sigaction(int __sig, const struct sigaction *__restrict __act, struct sigaction *__restrict __oact) __attribute__((__nothrow__
int killpg(__pid_t __pgrp, int __sig) __attribute__((__nothrow__
static int Events[NUM_EVENTS]
unsigned long PAPI_thread_id(void)
int PAPI_write(int EventSet, long long *values)
int sigwait(const sigset_t *__restrict __set, int *__restrict __sig) __attribute__((__nonnull__(1
void papif_get_virt_usec__(long long *time)
int PAPI_ipc(float *rtime, float *ptime, long long *ins, float *ipc)
int PAPI_remove_event(int EventSet, int EventCode)
long int __syscall_slong_t
signed long int __int64_t
int __leaf__ __attribute__((__pure__))
void papif_read_ts__(int *EventSet, long long *values, long long *cycles, int *check)
struct ucontext_t * uc_link
long long PAPI_get_virt_cyc(void)
unsigned long int __fsblkcnt64_t
__sighandler_t __sysv_signal(int __sig, __sighandler_t __handler) __attribute__((__nothrow__
unsigned int pthread_key_t
unsigned long int __u_quad_t
int gsignal(int __sig) __attribute__((__nothrow__
int PAPI_flops(float *rtime, float *ptime, long long *flpops, float *mflops)
void papif_register_thread__(int *check)
unsigned long int __dev_t
int PAPI_accum_counters(long long *values, int array_len)
__ssize_t __io_write_fn(void *__cookie, const char *__buf, size_t __n)
int PAPI_num_components(void)
int select(int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout)
unsigned long int __rlim64_t
__uint64_t __glibc_reserved2[5]
__uint32_t __glibc_reserved1[7]
static double array[ARRAYSIZE]
int PAPI_enum_event(int *EventCode, int modifier)
PAPI_granularity_option_t granularity
unsigned short int __uint16_t
void papif_start__(int *EventSet, int *check)
int PAPI_detach(int EventSet)
int siginterrupt(int __sig, int __interrupt) __attribute__((__nothrow__
void papif_enum_event__(int *EventCode, int *modifier, int *check)
void papif_unregister_thread__(int *check)
int __io_close_fn(void *__cookie)
char long_descr[PAPI_HUGE_STR_LEN]
size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream)
get the executable's info
int PAPI_register_thread(void)
void papif_accum__(int *EventSet, long long *values, int *check)
unsigned int gnu_dev_major(__dev_t __dev) __attribute__((__nothrow__
__uint32_t __glibc_reserved1[24]
int PAPI_event_name_to_code(const char *in, int *out)
int PAPI_overflow(int EventSet, int EventCode, int threshold, int flags, PAPI_overflow_handler_t handler)
void papif_perror__(char *message, int message_len)
void papif_get_preload__(char *lib_preload_env, int *check, int lib_preload_env_len)
A pointer to the following is passed to PAPI_set/get_opt()
static struct timeval start
char units[MAX_EVENTS][BUFSIZ]
int PAPI_remove_events(int EventSet, int *Events, int number)
void papif_read_counters__(long long *values, int *array_len, int *check)
int pthread_kill(pthread_t __threadid, int __signo) __attribute__((__nothrow__
long long PAPI_get_virt_nsec(void)
void papif_set_inherit__(int *inherit, int *check)
void _IO_flockfile(_IO_FILE *)
const char *const sys_siglist[(64+1)]
int PAPI_sprofil(PAPI_sprofil_t *prof, int profcnt, int EventSet, int EventCode, int threshold, int flags)
int _IO_ferror(_IO_FILE *__fp) __attribute__((__nothrow__
unsigned long int pthread_t
unsigned short __glibc_reserved1[3]
struct _xsave_hdr xstate_hdr
unsigned short significand[4]
int PAPI_set_opt(int option, PAPI_option_t *ptr)
int PAPI_add_events(int EventSet, int *Events, int number)
void papif_start_counters__(int *events, int *array_len, int *check)
int sigblock(int __mask) __attribute__((__nothrow__
unsigned short int exponent
int __underflow(_IO_FILE *)
int(* PAPI_debug_handler_t)(int code)
int PAPI_get_event_info(int EventCode, PAPI_event_info_t *info)
void papif_shutdown__(void)
int PAPI_add_named_event(int EventSet, const char *EventName)
unsigned long int __ino64_t
int _IO_peekc_locked(_IO_FILE *__fp)
char events[MAX_EVENTS][BUFSIZ]
__extension__ typedef long long int greg_t
int PAPI_set_cmp_domain(int domain, int cidx)
void papif_get_real_cyc__(long long *real_cyc)
void papif_query_event__(int *EventCode, int *check)
void papif_accum_counters__(long long *values, int *array_len, int *check)
unsigned long int __ino_t
int PAPI_disable_component(int cidx)
int PAPI_flips(float *rtime, float *ptime, long long *flpins, float *mflips)
int PAPI_epc(int event, float *rtime, float *ptime, long long *ref, long long *core, long long *evt, float *epc)
unsigned short _cur_column
int PAPI_num_cmp_hwctrs(int cidx)
int PAPI_get_thr_specific(int tag, void **ptr)
int PAPI_accum(int EventSet, long long *values)
int PAPI_num_hwctrs(void)
struct _IO_FILE_plus _IO_2_1_stderr_
void papif_remove_event__(int *EventSet, int *Event, int *check)
static struct counter_info * event_info
void papif_flops__(float *real_time, float *proc_time, long long *flpops, float *mflops, int *check)
__uint64_t __fpstate_word
__syscall_slong_t tv_nsec
void papif_set_debug__(int *debug, int *check)
static __inline __uint64_t __uint64_identity(__uint64_t __x)
unsigned long int __nlink_t
int PAPI_library_init(int version)
int PAPI_thread_init(unsigned long(*id_fn)(void))
int PAPI_profil(void *buf, unsigned bufsiz, caddr_t offset, unsigned scale, int EventSet, int EventCode, int threshold, int flags)
void papif_event_name_to_code__(char *in_str, int *out, int *check, int in_len)
unsigned short int __u_short
static __inline __uint64_t __bswap_64(__uint64_t __bsx)
unsigned long int __fsfilcnt_t
signed short int __int16_t
int PAPI_stop_counters(long long *values, int array_len)
unsigned long int __syscall_ulong_t
A pointer to the following is passed to PAPI_get_dmem_info()
unsigned long int __u_long
int PAPI_get_cmp_opt(int option, PAPI_option_t *ptr, int cidx)
void papif_epc__(int event, float *rtime, float *ptime, long long *ref, long long *core, long long *evt, float *epc, int *check)
const PAPI_exe_info_t * PAPI_get_executable_info(void)
int PAPI_num_events(int EventSet)
int PAPI_get_opt(int option, PAPI_option_t *ptr)
__builtin_va_list __gnuc_va_list
int _IO_putc(int __c, _IO_FILE *__fp)
void papif_flips__(float *real_time, float *proc_time, long long *flpins, float *mflips, int *check)
int PAPI_get_component_index(const char *name)
int __libc_current_sigrtmin(void)
struct _libc_xmmreg _xmm[16]
PAPI_address_map_t address_info
char symbol[PAPI_HUGE_STR_LEN]
void papif_unlock__(int *lock, int *check)
int PAPI_state(int EventSet, int *status)
void papif_set_multiplex__(int *EventSet, int *check)
void papif_stop_counters__(long long *values, int *array_len, int *check)
void(* PAPI_overflow_handler_t)(int EventSet, void *address, long long overflow_vector, void *context)
char model_string[PAPI_MAX_STR_LEN]
unsigned long int __fsblkcnt_t
__uint32_t ymmh_space[64]
int PAPI_query_named_event(const char *EventName)
get the executable's address space info
PAPI_exe_info_t * exe_info
__sighandler_t ssignal(int __sig, __sighandler_t __handler) __attribute__((__nothrow__
void papif_set_domain__(int *domain, int *check)
void papif_unregster_thread__(int *check)
int sigpending(sigset_t *__set) __attribute__((__nothrow__
void papif_add_events__(int *EventSet, int *Events, int *number, int *check)
void papif_num_events__(int *EventCode, int *count)
int sigstack(struct sigstack *__ss, struct sigstack *__oss) __attribute__((__nothrow__
__suseconds_t suseconds_t
static int Event[MAX_EVENTS]
int _IO_feof(_IO_FILE *__fp) __attribute__((__nothrow__
struct _libc_fpxreg _st[8]
void(* __sighandler_t)(int)
int PAPI_set_granularity(int granularity)
void papif_lock__(int *lock, int *check)
unsigned short significand[4]
void papif_get_clockrate__(int *cr)
address range specification for range restricted counting if both are zero, range is disabled
unsigned long int uc_flags
struct _fpstate * fpstate
unsigned long int __u_quad_t
char short_descr[PAPI_MIN_STR_LEN]
int PAPI_enum_cmp_event(int *EventCode, int modifier, int cidx)
const char *const _sys_siglist[(64+1)]
mh for mem hierarchy maybe?
unsigned short int __glibc_reserved1[3]
__extension__ unsigned long long int __wseq
char _unused2[15 *sizeof(int) - 4 *sizeof(void *) - sizeof(size_t)]
struct __pthread_cond_s::@27::@30 __g1_start32
struct _libc_fpstate __fpregs_mem
unsigned short int __u_short
void handler(int EventSet, void *address, long long overflow_vector, void *context)
int PAPI_cleanup_eventset(int EventSet)
int PAPI_assign_eventset_component(int EventSet, int cidx)
int PAPI_create_eventset(int *EventSet)
unsigned long int __ino_t
void papif_get_dmem_info__(long long *dest, int *check)
int PAPI_event_code_to_name(int EventCode, char *out)
void papif_get_real_usec__(long long *time)
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)
void papif_get_virt_cyc__(long long *virt_cyc)
char vendor_string[PAPI_MAX_STR_LEN]
struct _IO_marker * _markers
void psiginfo(const siginfo_t *__pinfo, const char *__s)
int PAPI_get_dmem_info(PAPI_dmem_info_t *dest)
void papif_query_named_event__(char *EventName, int *check, int Event_len)
int PAPI_query_event(int EventCode)
void papif_read__(int *EventSet, long long *values, int *check)
int PAPI_get_overflow_event_index(int Eventset, long long overflow_vector, int *array, int *number)
int PAPI_multiplex_init(void)
void papif_write__(int *EventSet, long long *values, int *check)
void papif_get_granularity__(int *eventset, int *granularity, int *mode, int *check)
__uint64_t __glibc_reserved1[2]
void papif_remove_named_event__(int *EventSet, char *EventName, int *check, int Event_len)
unsigned int __useconds_t
void papif_cleanup_eventset__(int *EventSet, int *check)
int PAPI_read_ts(int EventSet, long long *values, long long *cyc)
int kill(__pid_t __pid, int __sig) __attribute__((__nothrow__
long long PAPI_get_real_usec(void)
void papif_get_multiplex__(int *EventSet, int *check)
static void Fortran2cstring(char *cstring, char *Fstring, int clen, int Flen)
__dev_t gnu_dev_makedev(unsigned int __major, unsigned int __minor) __attribute__((__nothrow__
int PAPI_unregister_thread(void)
int PAPI_set_thr_specific(int tag, void *ptr)
__uint32_t __glibc_reserved1[24]
char * PAPI_strerror(int)
void papif_set_cmp_domain__(int *domain, int *cidx, int *check)
int sigtimedwait(const sigset_t *__restrict __set, siginfo_t *__restrict __info, const struct timespec *__restrict __timeout) __attribute__((__nonnull__(1)))
static char stack[2 *PAPI_HUGE_STR_LEN]
int int sigwaitinfo(const sigset_t *__restrict __set, siginfo_t *__restrict __info) __attribute__((__nonnull__(1)))
void papif_list_events__(int *EventSet, int *Events, int *number, int *check)
int PAPI_read_counters(long long *values, int array_len)
void psignal(int __sig, const char *__s)
__extension__ unsigned long long int __g1_start
long long PAPI_get_real_nsec(void)
static __inline __uint16_t __uint16_identity(__uint16_t __x)
struct _IO_FILE_plus _IO_2_1_stdin_
__sighandler_t signal(int __sig, __sighandler_t __handler) __attribute__((__nothrow__
void papif_get_real_nsec__(long long *time)
int PAPI_num_counters(void)
int PAPI_start_counters(int *events, int array_len)
int data_type[MAX_EVENTS]
void papif_num_cmp_hwctrs__(int *cidx, int *num)
unsigned short int __uint16_t
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)
int sigqueue(__pid_t __pid, int __sig, const union sigval __val) __attribute__((__nothrow__
signed char _vtable_offset
int PAPI_set_multiplex(int EventSet)
unsigned long int __fsfilcnt64_t
void papif_multiplex_init__(int *check)
unsigned long PAPI_thread_id_t
void papif_reset__(int *EventSet, int *check)
void papif_assign_eventset_component__(int *EventSet, int *cidx, int *check)
int PAPI_destroy_eventset(int *EventSet)
void papif_thread_id__(unsigned long *id)
int PAPI_remove_named_event(int EventSet, const char *EventName)
PAPI_domain_option_t domain
int PAPI_set_domain(int domain)
int strcoll_l(const char *__s1, const char *__s2, locale_t __l) __attribute__((__nothrow__
struct _IO_marker * _next
int PAPI_attach(int EventSet, unsigned long tid)
int __io_seek_fn(void *__cookie, __off64_t *__pos, int __w)
void papif_create_eventset__(int *EventSet, int *check)
unsigned long int __fsfilcnt_t
static int attach(hwd_control_state_t *ctl, unsigned long tid)
long long PAPI_get_real_cyc(void)
long int __syscall_slong_t
int PAPI_read(int EventSet, long long *values)
int sigsetmask(int __mask) __attribute__((__nothrow__
char fullname[PAPI_HUGE_STR_LEN]
int PAPI_start(int EventSet)
PAPI_preload_info_t preload
__ssize_t __io_read_fn(void *__cookie, char *__buf, size_t __nbytes)
void PAPI_perror(const char *msg)
volatile int pthread_spinlock_t
char lib_preload_env[PAPI_MAX_STR_LEN]
signed short int __int16_t
void papif_set_event_domain__(int *es, int *domain, int *check)
void papif_set_cmp_granularity__(int *granularity, int *cidx, int *check)
void papif_num_hwctrs__(int *num)
int PAPI_get_multiplex(int EventSet)
void papif_ipc__(float *rtime, float *ptime, long long *ins, float *ipc, int *check)
const PAPI_hw_info_t * PAPI_get_hardware_info(void)
static long long values[NUM_EVENTS]
unsigned int __g1_orig_size
__builtin_va_list __gnuc_va_list
void papif_remove_events__(int *EventSet, int *Events, int *number, int *check)
unsigned long int __uint64_t
static const PAPI_hw_info_t * hw_info
unsigned long int __uint64_t
volatile int buf[CACHE_FLUSH_BUFFER_SIZE_INTS]
int sigreturn(struct sigcontext *__scp) __attribute__((__nothrow__
char note[PAPI_HUGE_STR_LEN]
int PAPI_list_threads(unsigned long *tids, int *number)
int PAPI_get_event_component(int EventCode)
char * PAPI_user_defined_events_file_t
unsigned long int __uintmax_t
char * PAPI_user_defined_events_file_t
struct _IO_FILE_plus _IO_2_1_stdout_
int PAPI_set_debug(int level)
setvbuf(file, file_buf, _IOFBF, sizeof(file_buf))
unsigned long int __fsblkcnt_t
int sigprocmask(int __how, const sigset_t *__restrict __set, sigset_t *__restrict __oset) __attribute__((__nothrow__
void papif_add_named_event__(int *EventSet, char *EventName, int *check, int Event_len)
char name[PAPI_HUGE_STR_LEN]
int _IO_getc(_IO_FILE *__fp)
static __inline __uint32_t __uint32_identity(__uint32_t __x)
int PAPI_list_events(int EventSet, int *Events, int *number)
struct __locale_struct * __locale_t
int pthread_sigmask(int __how, const __sigset_t *__restrict __newmask, __sigset_t *__restrict __oldmask) __attribute__((__nothrow__
int PAPI_get_eventset_component(int EventSet)
unsigned long int __dev_t
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)
unsigned long int __u_long
unsigned long int __rlim_t