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 31 # 1 "/usr/include/gnu/stubs-32.h" 1 3 4 32 # 8 "/usr/include/gnu/stubs.h" 2 3 4 33 # 453 "/usr/include/features.h" 2 3 4 34 # 34 "/usr/include/bits/libc-header-start.h" 2 3 4 35 # 28 "/usr/include/stdio.h" 2 3 4 41 # 1 "/usr/lib/gcc/i586-alt-linux/8/include/stddef.h" 1 3 4 42 # 216 "/usr/lib/gcc/i586-alt-linux/8/include/stddef.h" 3 4 44 # 216 "/usr/lib/gcc/i586-alt-linux/8/include/stddef.h" 3 4 46 # 34 "/usr/include/stdio.h" 2 3 4 48 # 1 "/usr/include/bits/types.h" 1 3 4 49 # 27 "/usr/include/bits/types.h" 3 4 50 # 1 "/usr/include/bits/wordsize.h" 1 3 4 51 # 28 "/usr/include/bits/types.h" 2 3 4 70 __extension__
typedef signed long long int __int64_t;
90 # 130 "/usr/include/bits/types.h" 3 4 91 # 1 "/usr/include/bits/typesizes.h" 1 3 4 92 # 131 "/usr/include/bits/types.h" 2 3 4 96 __extension__
typedef unsigned int __uid_t;
97 __extension__
typedef unsigned int __gid_t;
98 __extension__
typedef unsigned long int __ino_t;
105 __extension__
typedef struct {
int __val[2]; }
__fsid_t;
109 __extension__
typedef unsigned int __id_t;
165 # 36 "/usr/include/stdio.h" 2 3 4 166 # 1 "/usr/include/bits/types/__FILE.h" 1 3 4 172 # 37 "/usr/include/stdio.h" 2 3 4 173 # 1 "/usr/include/bits/types/FILE.h" 1 3 4 181 # 38 "/usr/include/stdio.h" 2 3 4 185 # 1 "/usr/include/bits/libio.h" 1 3 4 186 # 35 "/usr/include/bits/libio.h" 3 4 187 # 1 "/usr/include/bits/_G_config.h" 1 3 4 188 # 19 "/usr/include/bits/_G_config.h" 3 4 189 # 1 "/usr/lib/gcc/i586-alt-linux/8/include/stddef.h" 1 3 4 190 # 20 "/usr/include/bits/_G_config.h" 2 3 4 192 # 1 "/usr/include/bits/types/__mbstate_t.h" 1 3 4 193 # 13 "/usr/include/bits/types/__mbstate_t.h" 3 4 203 # 22 "/usr/include/bits/_G_config.h" 2 3 4 218 # 36 "/usr/include/bits/libio.h" 2 3 4 219 # 53 "/usr/include/bits/libio.h" 3 4 220 # 1 "/usr/lib/gcc/i586-alt-linux/8/include/stdarg.h" 1 3 4 221 # 40 "/usr/lib/gcc/i586-alt-linux/8/include/stdarg.h" 3 4 223 # 54 "/usr/include/bits/libio.h" 2 3 4 224 # 149 "/usr/include/bits/libio.h" 3 4 243 # 177 "/usr/include/bits/libio.h" 3 4 254 # 245 "/usr/include/bits/libio.h" 3 4 295 # 293 "/usr/include/bits/libio.h" 3 4 320 struct _IO_FILE_plus;
325 # 337 "/usr/include/bits/libio.h" 3 4 347 # 389 "/usr/include/bits/libio.h" 3 4 351 # 433 "/usr/include/bits/libio.h" 3 4 366 # 462 "/usr/include/bits/libio.h" 3 4 367 extern int _IO_vfscanf (
_IO_FILE * __restrict,
const char * __restrict,
369 extern int _IO_vfprintf (
_IO_FILE *__restrict,
const char *__restrict,
372 extern size_t _IO_sgetn (
_IO_FILE *,
void *,
size_t);
378 # 42 "/usr/include/stdio.h" 2 3 4 384 # 57 "/usr/include/stdio.h" 3 4 386 # 71 "/usr/include/stdio.h" 3 4 395 # 131 "/usr/include/stdio.h" 3 4 396 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 397 # 132 "/usr/include/stdio.h" 2 3 4 416 extern int renameat (
int __oldfd,
const char *__old,
int __newfd,
425 extern FILE *tmpfile (
void) ;
426 # 173 "/usr/include/stdio.h" 3 4 433 # 190 "/usr/include/stdio.h" 3 4 434 extern char *tempnam (
const char *__dir,
const char *__pfx)
443 extern int fclose (FILE *__stream);
448 extern int fflush (FILE *__stream);
449 # 213 "/usr/include/stdio.h" 3 4 450 extern int fflush_unlocked (FILE *__stream);
451 # 232 "/usr/include/stdio.h" 3 4 452 extern FILE *fopen (
const char *__restrict __filename,
453 const char *__restrict __modes) ;
458 extern FILE *freopen (
const char *__restrict __filename,
459 const char *__restrict __modes,
460 FILE *__restrict __stream) ;
461 # 265 "/usr/include/stdio.h" 3 4 463 # 278 "/usr/include/stdio.h" 3 4 464 extern FILE *fmemopen (
void *__s,
size_t __len,
const char *__modes)
470 extern FILE *open_memstream (
char **__bufloc,
size_t *__sizeloc)
__attribute__ ((__nothrow__ ,
__leaf__)) ;
476 extern void setbuf (FILE *__restrict __stream,
char *__restrict __buf)
__attribute__ ((__nothrow__ ,
__leaf__));
480 extern int setvbuf (FILE *__restrict __stream,
char *__restrict __buf,
486 extern void setbuffer (FILE *__restrict __stream,
char *__restrict __buf,
498 extern int fprintf (FILE *__restrict __stream,
499 const char *__restrict __format, ...);
504 extern int printf (
const char *__restrict __format, ...);
506 extern int sprintf (
char *__restrict __s,
507 const char *__restrict __format, ...)
__attribute__ ((__nothrow__));
513 extern
int vfprintf (FILE *__restrict __s, const
char *__restrict __format,
519 extern
int vprintf (const
char *__restrict __format,
__gnuc_va_list __arg);
521 extern
int vsprintf (
char *__restrict __s, const
char *__restrict __format,
526 extern
int snprintf (
char *__restrict __s,
size_t __maxlen,
527 const
char *__restrict __format, ...)
530 extern
int vsnprintf (
char *__restrict __s,
size_t __maxlen,
533 # 365 "/usr/include/stdio.h" 3 4 534 extern int vdprintf (
int __fd,
const char *__restrict __fmt,
537 extern int dprintf (
int __fd,
const char *__restrict __fmt, ...)
546 extern
int fscanf (FILE *__restrict __stream,
547 const
char *__restrict __format, ...) ;
552 extern
int scanf (const
char *__restrict __format, ...) ;
554 extern
int sscanf (const
char *__restrict __s,
556 # 395 "/usr/include/stdio.h" 3 4 557 extern int fscanf (FILE *__restrict __stream,
const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf")
560 extern
int scanf (const
char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf")
562 extern
int sscanf (const
char *__restrict __s, const
char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf")
__attribute__ ((__nothrow__ ,
__leaf__))
565 # 420 "/usr/include/stdio.h" 3 4 566 extern int vfscanf (FILE *__restrict __s,
const char *__restrict __format,
574 extern int vscanf (
const char *__restrict __format,
__gnuc_va_list __arg)
578 extern int vsscanf (
const char *__restrict __s,
581 # 443 "/usr/include/stdio.h" 3 4 582 extern int vfscanf (FILE *__restrict __s,
const char *__restrict __format,
__gnuc_va_list __arg) __asm__ (
"" "__isoc99_vfscanf")
587 extern
int vscanf (const
char *__restrict __format,
__gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf")
590 extern
int vsscanf (const
char *__restrict __s, const
char *__restrict __format,
__gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf")
__attribute__ ((__nothrow__ ,
__leaf__))
595 # 477 "/usr/include/stdio.h" 3 4 596 extern int fgetc (FILE *__stream);
597 extern int getc (FILE *__stream);
603 extern int getchar (
void);
604 # 495 "/usr/include/stdio.h" 3 4 605 extern int getc_unlocked (FILE *__stream);
606 extern int getchar_unlocked (
void);
607 # 506 "/usr/include/stdio.h" 3 4 608 extern int fgetc_unlocked (FILE *__stream);
609 # 517 "/usr/include/stdio.h" 3 4 610 extern int fputc (
int __c, FILE *__stream);
611 extern int putc (
int __c, FILE *__stream);
617 extern int putchar (
int __c);
618 # 537 "/usr/include/stdio.h" 3 4 619 extern int fputc_unlocked (
int __c, FILE *__stream);
627 extern int putc_unlocked (
int __c, FILE *__stream);
628 extern int putchar_unlocked (
int __c);
635 extern int getw (FILE *__stream);
638 extern int putw (
int __w, FILE *__stream);
646 extern char *fgets (
char *__restrict __s,
int __n, FILE *__restrict __stream)
648 # 603 "/usr/include/stdio.h" 3 4 649 extern __ssize_t __getdelim (
char **__restrict __lineptr,
650 size_t *__restrict __n,
int __delimiter,
651 FILE *__restrict __stream) ;
652 extern __ssize_t getdelim (
char **__restrict __lineptr,
653 size_t *__restrict __n,
int __delimiter,
654 FILE *__restrict __stream) ;
662 extern __ssize_t getline (
char **__restrict __lineptr,
663 size_t *__restrict __n,
664 FILE *__restrict __stream) ;
672 extern int fputs (
const char *__restrict __s, FILE *__restrict __stream);
678 extern int puts (
const char *__s);
685 extern int ungetc (
int __c, FILE *__stream);
692 extern size_t fread (
void *__restrict __ptr,
size_t __size,
693 size_t __n, FILE *__restrict __stream) ;
698 extern size_t fwrite (
const void *__restrict __ptr,
size_t __size,
699 size_t __n, FILE *__restrict __s);
700 # 673 "/usr/include/stdio.h" 3 4 701 extern size_t fread_unlocked (
void *__restrict __ptr,
size_t __size,
702 size_t __n, FILE *__restrict __stream) ;
703 extern size_t fwrite_unlocked (
const void *__restrict __ptr,
size_t __size,
704 size_t __n, FILE *__restrict __stream);
712 extern int fseek (FILE *__stream,
long int __off,
int __whence);
717 extern long int ftell (FILE *__stream) ;
722 extern void rewind (FILE *__stream);
723 # 707 "/usr/include/stdio.h" 3 4 724 extern int fseeko (FILE *__stream,
__off_t __off,
int __whence);
729 extern __off_t ftello (FILE *__stream) ;
730 # 731 "/usr/include/stdio.h" 3 4 731 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
736 extern int fsetpos (FILE *__stream,
const fpos_t *__pos);
737 # 757 "/usr/include/stdio.h" 3 4 756 extern void perror (
const char *__s);
762 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4 763 # 26 "/usr/include/bits/sys_errlist.h" 3 4 765 extern const char *
const sys_errlist[];
766 # 782 "/usr/include/stdio.h" 2 3 4 777 # 800 "/usr/include/stdio.h" 3 4 778 extern FILE *popen (
const char *__command,
const char *__modes) ;
784 extern int pclose (FILE *__stream);
791 # 840 "/usr/include/stdio.h" 3 4 800 # 868 "/usr/include/stdio.h" 3 4 802 # 24 "papi_fwrappers.c" 2 803 # 1 "/usr/include/assert.h" 1 3 4 804 # 64 "/usr/include/assert.h" 3 4 808 extern void __assert_fail (
const char *__assertion,
const char *__file,
809 unsigned int __line,
const char *__function)
813 extern void __assert_perror_fail (
int __errnum,
const char *__file,
814 unsigned int __line,
const char *__function)
820 extern void __assert (
const char *__assertion,
const char *__file,
int __line)
825 # 25 "papi_fwrappers.c" 2 826 # 1 "/usr/include/string.h" 1 3 4 827 # 26 "/usr/include/string.h" 3 4 828 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 829 # 27 "/usr/include/string.h" 2 3 4 836 # 1 "/usr/lib/gcc/i586-alt-linux/8/include/stddef.h" 1 3 4 837 # 34 "/usr/include/string.h" 2 3 4 838 # 42 "/usr/include/string.h" 3 4 839 extern void *memcpy (
void *__restrict __dest,
const void *__restrict __src,
843 extern void *memmove (
void *__dest,
const void *__src,
size_t __n)
850 extern void *memccpy (
void *__restrict __dest,
const void *__restrict __src,
860 extern int memcmp (
const void *__s1,
const void *__s2,
size_t __n)
862 # 90 "/usr/include/string.h" 3 4 863 extern void *memchr (
const void *__s,
int __c,
size_t __n)
865 # 121 "/usr/include/string.h" 3 4 866 extern char *strcpy (
char *__restrict __dest,
const char *__restrict __src)
869 extern char *strncpy (
char *__restrict __dest,
870 const char *__restrict __src,
size_t __n)
874 extern char *strcat (
char *__restrict __dest,
const char *__restrict __src)
877 extern char *strncat (
char *__restrict __dest,
const char *__restrict __src,
881 extern int strcmp (
const char *__s1,
const char *__s2)
884 extern int strncmp (
const char *__s1,
const char *__s2,
size_t __n)
888 extern int strcoll (
const char *__s1,
const char *__s2)
891 extern size_t strxfrm (
char *__restrict __dest,
892 const char *__restrict __src,
size_t __n)
897 # 1 "/usr/include/bits/types/locale_t.h" 1 3 4 898 # 22 "/usr/include/bits/types/locale_t.h" 3 4 899 # 1 "/usr/include/bits/types/__locale_t.h" 1 3 4 900 # 28 "/usr/include/bits/types/__locale_t.h" 3 4 901 struct __locale_struct
904 struct __locale_data *__locales[13];
907 const unsigned short int *__ctype_b;
908 const int *__ctype_tolower;
909 const int *__ctype_toupper;
912 const char *__names[13];
916 # 23 "/usr/include/bits/types/locale_t.h" 2 3 4 919 # 153 "/usr/include/string.h" 2 3 4 926 extern
size_t strxfrm_l (
char *__dest, const
char *__src,
size_t __n,
933 extern
char *strdup (const
char *__s)
941 extern
char *strndup (const
char *__string,
size_t __n)
943 # 225 "/usr/include/string.h" 3 4 944 extern char *strchr (
const char *__s,
int __c)
946 # 252 "/usr/include/string.h" 3 4 947 extern char *strrchr (
const char *__s,
int __c)
949 # 272 "/usr/include/string.h" 3 4 950 extern size_t strcspn (
const char *__s,
const char *__reject)
954 extern size_t strspn (
const char *__s,
const char *__accept)
956 # 302 "/usr/include/string.h" 3 4 957 extern char *strpbrk (
const char *__s,
const char *__accept)
959 # 329 "/usr/include/string.h" 3 4 960 extern char *strstr (
const char *__haystack,
const char *__needle)
966 extern char *strtok (
char *__restrict __s,
const char *__restrict __delim)
971 extern char *__strtok_r (
char *__restrict __s,
972 const char *__restrict __delim,
973 char **__restrict __save_ptr)
976 extern char *strtok_r (
char *__restrict __s,
const char *__restrict __delim,
977 char **__restrict __save_ptr)
979 # 384 "/usr/include/string.h" 3 4 980 extern size_t strlen (
const char *__s)
986 extern size_t strnlen (
const char *__string,
size_t __maxlen)
993 # 409 "/usr/include/string.h" 3 4 994 extern int strerror_r (
int __errnum,
char *__buf,
size_t __buflen) __asm__ (
"" "__xpg_strerror_r")
__attribute__ ((__nothrow__ ,
__leaf__))
997 # 427 "/usr/include/string.h" 3 4 1002 # 1 "/usr/include/strings.h" 1 3 4 1003 # 23 "/usr/include/strings.h" 3 4 1004 # 1 "/usr/lib/gcc/i586-alt-linux/8/include/stddef.h" 1 3 4 1005 # 24 "/usr/include/strings.h" 2 3 4 1016 extern int bcmp (
const void *__s1,
const void *__s2,
size_t __n)
1020 extern void bcopy (
const void *__src,
void *__dest,
size_t __n)
1025 # 68 "/usr/include/strings.h" 3 4 1026 extern char *index (
const char *__s,
int __c)
1028 # 96 "/usr/include/strings.h" 3 4 1029 extern char *rindex (
const char *__s,
int __c)
1044 __extension__
extern int ffsll (
long long int __ll)
1049 extern int strcasecmp (
const char *__s1,
const char *__s2)
1053 extern int strncasecmp (
const char *__s1,
const char *__s2,
size_t __n)
1061 extern int strcasecmp_l (
const char *__s1,
const char *__s2,
locale_t __loc)
1066 extern int strncasecmp_l (
const char *__s1,
const char *__s2,
1072 # 432 "/usr/include/string.h" 2 3 4 1080 extern char *strsep (
char **__restrict __stringp,
1081 const char *__restrict __delim)
1090 extern char *__stpcpy (
char *__restrict __dest,
const char *__restrict __src)
1092 extern char *stpcpy (
char *__restrict __dest,
const char *__restrict __src)
1097 extern char *__stpncpy (
char *__restrict __dest,
1098 const char *__restrict __src,
size_t __n)
1100 extern char *stpncpy (
char *__restrict __dest,
1101 const char *__restrict __src,
size_t __n)
1107 extern size_t strlcpy (
char *__restrict __dest,
1108 const char *__restrict __src,
size_t __n)
1113 extern size_t strlcat (
char *__restrict __dest,
1114 const char *__restrict __src,
size_t __n)
1116 # 511 "/usr/include/string.h" 3 4 1118 # 26 "papi_fwrappers.c" 2 1121 #pragma GCC visibility push(default) 1123 # 1 "/usr/include/sys/types.h" 1 3 4 1124 # 27 "/usr/include/sys/types.h" 3 4 1147 # 60 "/usr/include/sys/types.h" 3 4 1169 # 98 "/usr/include/sys/types.h" 3 4 1177 # 115 "/usr/include/sys/types.h" 3 4 1190 # 1 "/usr/include/bits/types/clock_t.h" 1 3 4 1198 # 128 "/usr/include/sys/types.h" 2 3 4 1200 # 1 "/usr/include/bits/types/clockid_t.h" 1 3 4 1208 # 130 "/usr/include/sys/types.h" 2 3 4 1209 # 1 "/usr/include/bits/types/time_t.h" 1 3 4 1217 # 131 "/usr/include/sys/types.h" 2 3 4 1218 # 1 "/usr/include/bits/types/timer_t.h" 1 3 4 1226 # 132 "/usr/include/sys/types.h" 2 3 4 1227 # 145 "/usr/include/sys/types.h" 3 4 1228 # 1 "/usr/lib/gcc/i586-alt-linux/8/include/stddef.h" 1 3 4 1229 # 146 "/usr/include/sys/types.h" 2 3 4 1233 typedef unsigned long int ulong;
1234 typedef unsigned short int ushort;
1235 typedef unsigned int uint;
1240 # 1 "/usr/include/bits/stdint-intn.h" 1 3 4 1241 # 24 "/usr/include/bits/stdint-intn.h" 3 4 1246 # 157 "/usr/include/sys/types.h" 2 3 4 1247 # 178 "/usr/include/sys/types.h" 3 4 1248 typedef unsigned int u_int8_t
__attribute__ ((__mode__ (__QI__)));
1249 typedef unsigned int u_int16_t
__attribute__ ((__mode__ (__HI__)));
1250 typedef unsigned int u_int32_t
__attribute__ ((__mode__ (__SI__)));
1251 typedef unsigned int u_int64_t
__attribute__ ((__mode__ (__DI__)));
1253 typedef int register_t
__attribute__ ((__mode__ (__word__)));
1254 # 194 "/usr/include/sys/types.h" 3 4 1255 # 1 "/usr/include/endian.h" 1 3 4 1256 # 36 "/usr/include/endian.h" 3 4 1257 # 1 "/usr/include/bits/endian.h" 1 3 4 1258 # 37 "/usr/include/endian.h" 2 3 4 1259 # 60 "/usr/include/endian.h" 3 4 1260 # 1 "/usr/include/bits/byteswap.h" 1 3 4 1261 # 28 "/usr/include/bits/byteswap.h" 3 4 1262 # 1 "/usr/include/bits/wordsize.h" 1 3 4 1263 # 29 "/usr/include/bits/byteswap.h" 2 3 4 1270 # 1 "/usr/include/bits/byteswap-16.h" 1 3 4 1271 # 36 "/usr/include/bits/byteswap.h" 2 3 4 1272 # 44 "/usr/include/bits/byteswap.h" 3 4 1273 static __inline
unsigned int 1274 __bswap_32 (
unsigned int __bsx)
1276 return __builtin_bswap32 (__bsx);
1278 # 108 "/usr/include/bits/byteswap.h" 3 4 1282 return __builtin_bswap64 (__bsx);
1284 # 61 "/usr/include/endian.h" 2 3 4 1285 # 1 "/usr/include/bits/uintn-identity.h" 1 3 4 1286 # 32 "/usr/include/bits/uintn-identity.h" 3 4 1304 # 62 "/usr/include/endian.h" 2 3 4 1305 # 195 "/usr/include/sys/types.h" 2 3 4 1308 # 1 "/usr/include/sys/select.h" 1 3 4 1309 # 30 "/usr/include/sys/select.h" 3 4 1310 # 1 "/usr/include/bits/select.h" 1 3 4 1311 # 22 "/usr/include/bits/select.h" 3 4 1312 # 1 "/usr/include/bits/wordsize.h" 1 3 4 1313 # 23 "/usr/include/bits/select.h" 2 3 4 1314 # 31 "/usr/include/sys/select.h" 2 3 4 1317 # 1 "/usr/include/bits/types/sigset_t.h" 1 3 4 1321 # 1 "/usr/include/bits/types/__sigset_t.h" 1 3 4 1328 unsigned long int __val[(1024 / (8 *
sizeof (
unsigned long int)))];
1330 # 5 "/usr/include/bits/types/sigset_t.h" 2 3 4 1334 # 34 "/usr/include/sys/select.h" 2 3 4 1338 # 1 "/usr/include/bits/types/struct_timeval.h" 1 3 4 1351 # 38 "/usr/include/sys/select.h" 2 3 4 1353 # 1 "/usr/include/bits/types/struct_timespec.h" 1 3 4 1354 # 9 "/usr/include/bits/types/struct_timespec.h" 3 4 1360 # 40 "/usr/include/sys/select.h" 2 3 4 1371 # 59 "/usr/include/sys/select.h" 3 4 1391 # 91 "/usr/include/sys/select.h" 3 4 1393 # 101 "/usr/include/sys/select.h" 3 4 1394 extern int select (
int __nfds,
fd_set *__restrict __readfds,
1395 fd_set *__restrict __writefds,
1396 fd_set *__restrict __exceptfds,
1397 struct timeval *__restrict __timeout);
1398 # 113 "/usr/include/sys/select.h" 3 4 1399 extern int pselect (
int __nfds,
fd_set *__restrict __readfds,
1400 fd_set *__restrict __writefds,
1401 fd_set *__restrict __exceptfds,
1402 const struct timespec *__restrict __timeout,
1404 # 126 "/usr/include/sys/select.h" 3 4 1406 # 198 "/usr/include/sys/types.h" 2 3 4 1414 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 1415 # 41 "/usr/include/sys/sysmacros.h" 3 4 1416 # 1 "/usr/include/bits/sysmacros.h" 1 3 4 1417 # 42 "/usr/include/sys/sysmacros.h" 2 3 4 1418 # 71 "/usr/include/sys/sysmacros.h" 3 4 1424 # 85 "/usr/include/sys/sysmacros.h" 3 4 1426 # 206 "/usr/include/sys/types.h" 2 3 4 1449 # 254 "/usr/include/sys/types.h" 3 4 1450 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 1451 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 1452 # 1 "/usr/include/bits/thread-shared-types.h" 1 3 4 1453 # 77 "/usr/include/bits/thread-shared-types.h" 3 4 1454 # 1 "/usr/include/bits/pthreadtypes-arch.h" 1 3 4 1455 # 21 "/usr/include/bits/pthreadtypes-arch.h" 3 4 1456 # 1 "/usr/include/bits/wordsize.h" 1 3 4 1457 # 22 "/usr/include/bits/pthreadtypes-arch.h" 2 3 4 1458 # 65 "/usr/include/bits/pthreadtypes-arch.h" 3 4 1467 # 92 "/usr/include/bits/pthreadtypes-arch.h" 3 4 1476 # 78 "/usr/include/bits/thread-shared-types.h" 2 3 4 1477 # 88 "/usr/include/bits/thread-shared-types.h" 3 4 1478 typedef struct __pthread_internal_slist
1482 # 118 "/usr/include/bits/thread-shared-types.h" 3 4 1488 # 148 "/usr/include/bits/thread-shared-types.h" 3 4 1538 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 1634 # 255 "/usr/include/sys/types.h" 2 3 4 1639 # 1 "/usr/lib/gcc/i586-alt-linux/8/include/limits.h" 1 3 4 1640 # 34 "/usr/lib/gcc/i586-alt-linux/8/include/limits.h" 3 4 1641 # 1 "/usr/lib/gcc/i586-alt-linux/8/include/syslimits.h" 1 3 4 1648 # 1 "/usr/lib/gcc/i586-alt-linux/8/include/limits.h" 1 3 4 1649 # 194 "/usr/lib/gcc/i586-alt-linux/8/include/limits.h" 3 4 1650 # 1 "/usr/include/limits.h" 1 3 4 1651 # 26 "/usr/include/limits.h" 3 4 1652 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 1653 # 27 "/usr/include/limits.h" 2 3 4 1654 # 183 "/usr/include/limits.h" 3 4 1655 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4 1656 # 160 "/usr/include/bits/posix1_lim.h" 3 4 1657 # 1 "/usr/include/bits/local_lim.h" 1 3 4 1658 # 38 "/usr/include/bits/local_lim.h" 3 4 1659 # 1 "/usr/include/linux/limits.h" 1 3 4 1660 # 39 "/usr/include/bits/local_lim.h" 2 3 4 1661 # 161 "/usr/include/bits/posix1_lim.h" 2 3 4 1662 # 184 "/usr/include/limits.h" 2 3 4 1666 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4 1667 # 188 "/usr/include/limits.h" 2 3 4 1668 # 195 "/usr/lib/gcc/i586-alt-linux/8/include/limits.h" 2 3 4 1669 # 8 "/usr/lib/gcc/i586-alt-linux/8/include/syslimits.h" 2 3 4 1670 # 35 "/usr/lib/gcc/i586-alt-linux/8/include/limits.h" 2 3 4 1672 # 1 "papiStdEventDefs.h" 1 1673 # 51 "papiStdEventDefs.h" 1675 # 51 "papiStdEventDefs.h" 1826 # 1 "/usr/include/signal.h" 1 3 4 1827 # 27 "/usr/include/signal.h" 3 4 1831 # 1 "/usr/include/bits/signum.h" 1 3 4 1832 # 26 "/usr/include/bits/signum.h" 3 4 1833 # 1 "/usr/include/bits/signum-generic.h" 1 3 4 1834 # 27 "/usr/include/bits/signum.h" 2 3 4 1835 # 31 "/usr/include/signal.h" 2 3 4 1837 # 1 "/usr/include/bits/types/sig_atomic_t.h" 1 3 4 1846 # 8 "/usr/include/bits/types/sig_atomic_t.h" 3 4 1848 # 33 "/usr/include/signal.h" 2 3 4 1849 # 57 "/usr/include/signal.h" 3 4 1850 # 1 "/usr/include/bits/types/siginfo_t.h" 1 3 4 1854 # 1 "/usr/include/bits/wordsize.h" 1 3 4 1855 # 5 "/usr/include/bits/types/siginfo_t.h" 2 3 4 1857 # 1 "/usr/include/bits/types/__sigval_t.h" 1 3 4 1858 # 24 "/usr/include/bits/types/__sigval_t.h" 3 4 1865 typedef union sigval __sigval_t;
1866 # 7 "/usr/include/bits/types/siginfo_t.h" 2 3 4 1867 # 16 "/usr/include/bits/types/siginfo_t.h" 3 4 1868 # 1 "/usr/include/bits/siginfo-arch.h" 1 3 4 1869 # 17 "/usr/include/bits/types/siginfo_t.h" 2 3 4 1870 # 36 "/usr/include/bits/types/siginfo_t.h" 3 4 1878 # 51 "/usr/include/bits/types/siginfo_t.h" 3 4 1881 int _pad[((128 /
sizeof (int)) - 3)];
1903 __sigval_t si_sigval;
1953 # 58 "/usr/include/signal.h" 2 3 4 1954 # 1 "/usr/include/bits/siginfo-consts.h" 1 3 4 1955 # 35 "/usr/include/bits/siginfo-consts.h" 3 4 1973 # 63 "/usr/include/bits/siginfo-consts.h" 3 4 2047 # 151 "/usr/include/bits/siginfo-consts.h" 3 4 2080 # 59 "/usr/include/signal.h" 2 3 4 2084 # 1 "/usr/include/bits/types/sigval_t.h" 1 3 4 2085 # 16 "/usr/include/bits/types/sigval_t.h" 3 4 2087 # 63 "/usr/include/signal.h" 2 3 4 2091 # 1 "/usr/include/bits/types/sigevent_t.h" 1 3 4 2095 # 1 "/usr/include/bits/wordsize.h" 1 3 4 2096 # 5 "/usr/include/bits/types/sigevent_t.h" 2 3 4 2097 # 22 "/usr/include/bits/types/sigevent_t.h" 3 4 2098 typedef struct sigevent
2106 int _pad[((64 /
sizeof (int)) - 3)];
2114 void (*_function) (__sigval_t);
2119 # 67 "/usr/include/signal.h" 2 3 4 2120 # 1 "/usr/include/bits/sigevent-consts.h" 1 3 4 2121 # 27 "/usr/include/bits/sigevent-consts.h" 3 4 2135 # 68 "/usr/include/signal.h" 2 3 4 2147 # 88 "/usr/include/signal.h" 3 4 2150 # 112 "/usr/include/signal.h" 3 4 2173 extern void psignal (
int __sig,
const char *__s);
2177 # 170 "/usr/include/signal.h" 3 4 2185 # 190 "/usr/include/signal.h" 3 4 2204 extern int sigismember (
const sigset_t *__set,
int __signo)
2206 # 226 "/usr/include/signal.h" 3 4 2207 # 1 "/usr/include/bits/sigaction.h" 1 3 4 2208 # 24 "/usr/include/bits/sigaction.h" 3 4 2218 void (*sa_sigaction) (int,
siginfo_t *,
void *);
2220 __sigaction_handler;
2234 void (*sa_restorer) (void);
2236 # 227 "/usr/include/signal.h" 2 3 4 2262 extern int sigwait (
const sigset_t *__restrict __set,
int *__restrict __sig)
2281 const struct timespec *__restrict __timeout)
2288 # 286 "/usr/include/signal.h" 3 4 2294 # 1 "/usr/include/bits/sigcontext.h" 1 3 4 2295 # 31 "/usr/include/bits/sigcontext.h" 3 4 2349 # 95 "/usr/include/bits/sigcontext.h" 3 4 2375 # 177 "/usr/include/bits/sigcontext.h" 3 4 2394 # 292 "/usr/include/signal.h" 2 3 4 2404 # 1 "/usr/lib/gcc/i586-alt-linux/8/include/stddef.h" 1 3 4 2405 # 302 "/usr/include/signal.h" 2 3 4 2407 # 1 "/usr/include/bits/types/stack_t.h" 1 3 4 2408 # 23 "/usr/include/bits/types/stack_t.h" 3 4 2409 # 1 "/usr/lib/gcc/i586-alt-linux/8/include/stddef.h" 1 3 4 2410 # 24 "/usr/include/bits/types/stack_t.h" 2 3 4 2419 # 304 "/usr/include/signal.h" 2 3 4 2422 # 1 "/usr/include/sys/ucontext.h" 1 3 4 2423 # 155 "/usr/include/sys/ucontext.h" 3 4 2425 # 164 "/usr/include/sys/ucontext.h" 3 4 2427 # 212 "/usr/include/sys/ucontext.h" 3 4 2471 # 307 "/usr/include/signal.h" 2 3 4 2481 # 1 "/usr/include/bits/sigstack.h" 1 3 4 2482 # 317 "/usr/include/signal.h" 2 3 4 2483 # 1 "/usr/include/bits/ss_flags.h" 1 3 4 2484 # 27 "/usr/include/bits/ss_flags.h" 3 4 2492 # 318 "/usr/include/signal.h" 2 3 4 2502 # 1 "/usr/include/bits/types/struct_sigstack.h" 1 3 4 2503 # 23 "/usr/include/bits/types/struct_sigstack.h" 3 4 2509 # 328 "/usr/include/signal.h" 2 3 4 2519 # 359 "/usr/include/signal.h" 3 4 2520 # 1 "/usr/include/bits/sigthread.h" 1 3 4 2521 # 31 "/usr/include/bits/sigthread.h" 3 4 2528 # 360 "/usr/include/signal.h" 2 3 4 2550 typedef struct _papi_all_thr_spec {
2557 long long overflow_vector,
void *context);
2571 typedef struct _papi_sprofil {
2582 typedef struct _papi_itimer_option {
2590 typedef struct _papi_inherit_option {
2596 typedef struct _papi_domain_option {
2603 typedef struct _papi_granularity_option {
2610 typedef struct _papi_preload_option {
2611 char lib_preload_env[128];
2612 char lib_preload_sep;
2613 char lib_dir_env[128];
2618 typedef struct _papi_component_option {
2620 char short_name[64];
2622 char description[128];
2624 char support_version[64];
2625 char kernel_version[64];
2626 char disabled_reason[128];
2631 int num_preset_events;
2634 int available_domains;
2635 int default_granularity;
2636 int available_granularities;
2637 int hardware_intr_sig;
2640 char *pmu_names[40];
2642 unsigned int hardware_intr:1;
2643 unsigned int precise_intr:1;
2644 unsigned int posix1b_timers:1;
2645 unsigned int kernel_profile:1;
2646 unsigned int kernel_multiplex:1;
2649 unsigned int fast_counter_read:1;
2650 unsigned int fast_real_timer:1;
2651 unsigned int fast_virtual_timer:1;
2653 unsigned int attach_must_ptrace:1;
2658 unsigned int cntr_umasks:1;
2665 unsigned int reserved_bits:12;
2669 typedef struct _papi_mpx_info {
2678 typedef struct _papi_debug_option {
2685 typedef struct _papi_address_map {
2697 typedef struct _papi_program_info {
2698 char fullname[1024];
2703 typedef struct _papi_shared_lib_info {
2711 typedef struct _papi_mh_tlb_info {
2719 typedef struct _papi_mh_cache_info {
2728 typedef struct _papi_mh_level_info {
2735 typedef struct _papi_mh_info {
2742 typedef struct _papi_hw_info {
2750 char vendor_string[128];
2752 char model_string[128];
2763 char virtual_vendor_string[128];
2765 char virtual_vendor_version[128];
2778 typedef struct _papi_attach_option {
2784 typedef struct _papi_cpu_option {
2786 unsigned int cpu_num;
2790 typedef struct _papi_multiplex_option {
2798 typedef struct _papi_addr_range_option {
2833 typedef struct _dmem_t {
2837 long long high_water_mark;
2887 unsigned int event_code;
2890 char short_descr[64];
2892 char long_descr[1024];
2897 int component_index;
2915 unsigned int event_type;
2926 unsigned int code[12];
2992 unsigned scale,
int EventSet,
int EventCode,
3034 int PAPI_flips(
float *rtime,
float *ptime,
long long * flpins,
float *mflips);
3035 int PAPI_flops(
float *rtime,
float *ptime,
long long * flpops,
float *mflops);
3036 int PAPI_ipc(
float *rtime,
float *ptime,
long long * ins,
float *ipc);
3037 int PAPI_epc(
int event,
float *rtime,
float *ptime,
long long *ref,
long long *core,
long long *evt,
float *epc);
3051 #pragma GCC visibility pop 3052 # 27 "papi_fwrappers.c" 2 3053 # 50 "papi_fwrappers.c" 3059 slen = Flen < clen ? Flen : clen;
3060 strncpy( cstring, Fstring, (
size_t ) slen );
3063 for (
i = slen - 1;
i > -1 && cstring[
i] ==
' '; cstring[
i--] =
'\0' );
3066 cstring[clen - 1] =
'\0';
3068 cstring[slen] =
'\0';
3070 # 78 "papi_fwrappers.c" 3076 # 94 "papi_fwrappers.c" 3082 # 111 "papi_fwrappers.c" 3090 # 136 "papi_fwrappers.c" 3096 # 152 "papi_fwrappers.c" 3102 # 168 "papi_fwrappers.c" 3108 # 184 "papi_fwrappers.c" 3114 # 200 "papi_fwrappers.c" 3120 # 217 "papi_fwrappers.c" 3126 # 237 "papi_fwrappers.c" 3127 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 )
3128 # 248 "papi_fwrappers.c" 3141 fullname[
i++] =
' ' );
3157 # 290 "papi_fwrappers.c" 3158 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 )
3159 # 316 "papi_fwrappers.c" 3165 # 320
"papi_fwrappers.c" 3 4
3167 # 320
"papi_fwrappers.c" 3177 *ncpu = hwinfo->
ncpu;
3178 *nnodes = hwinfo->
nnodes;
3180 *vendor = hwinfo->
vendor;
3181 *model = hwinfo->
model;
3185 strncpy( vendor_str, hwinfo->
vendor_string, (
size_t ) vendor_len );
3187 vendor_str[
i++] =
' ' );
3188 strncpy( model_str, hwinfo->
model_string, (
size_t ) model_len );
3190 model_str[
i++] =
' ' );
3201 # 365 "papi_fwrappers.c" 3206 # 381 "papi_fwrappers.c" 3212 # 397 "papi_fwrappers.c" 3217 # 412 "papi_fwrappers.c" 3222 # 427 "papi_fwrappers.c" 3227 # 442 "papi_fwrappers.c" 3232 # 457 "papi_fwrappers.c" 3237 # 472 "papi_fwrappers.c" 3242 # 487 "papi_fwrappers.c" 3247 # 502 "papi_fwrappers.c" 3252 # 517 "papi_fwrappers.c" 3257 # 532 "papi_fwrappers.c" 3270 # 556 "papi_fwrappers.c" 3276 # 572 "papi_fwrappers.c" 3282 # 588 "papi_fwrappers.c" 3287 # 603 "papi_fwrappers.c" 3293 # 619 "papi_fwrappers.c" 3299 # 636 "papi_fwrappers.c" 3317 # 672 "papi_fwrappers.c" 3323 # 689 "papi_fwrappers.c" 3331 # 717 "papi_fwrappers.c" 3332 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 )
3333 # 727 "papi_fwrappers.c" 3340 strncpy( symbol, info.
symbol, (
size_t ) symbol_len );
3341 for (
i = (
int ) strlen( info.
symbol );
i < symbol_len;
3342 symbol[
i++] =
' ' );
3343 strncpy( long_descr, info.
long_descr, (
size_t ) long_descr_len );
3344 for (
i = (
int ) strlen( info.
long_descr );
i < long_descr_len;
3345 long_descr[
i++] =
' ' );
3346 strncpy( short_descr, info.
short_descr, (
size_t ) short_descr_len );
3347 for (
i = (
int ) strlen( info.
short_descr );
i < short_descr_len;
3348 short_descr[
i++] =
' ' );
3354 strncpy( event_note, info.
note, (
size_t ) event_note_len );
3355 note_len=strlen(info.
note);
3357 for (
i = note_len;
i < event_note_len;
3358 event_note[
i++] =
' ' );
3360 # 766 "papi_fwrappers.c" 3362 # 779 "papi_fwrappers.c" 3375 strncpy( out_str,
tmp, (
size_t ) out_len );
3377 for (
i = (
int ) strlen(
tmp );
i < out_len; out_str[
i++] =
' ' );
3383 # 811 "papi_fwrappers.c" 3396 slen = in_len < 128 ? in_len : 128;
3397 strncpy( tmpin, in_str, (
size_t ) slen );
3400 for (
i = slen - 1;
i > -1 && tmpin[
i] ==
' '; tmpin[
i--] =
'\0' );
3403 tmpin[128 - 1] =
'\0';
3413 # 851 "papi_fwrappers.c" 3418 # 866 "papi_fwrappers.c" 3424 # 882 "papi_fwrappers.c" 3430 # 898 "papi_fwrappers.c" 3436 # 914 "papi_fwrappers.c" 3442 # 931 "papi_fwrappers.c" 3450 # 956 "papi_fwrappers.c" 3456 # 972 "papi_fwrappers.c" 3461 # 987 "papi_fwrappers.c" 3466 # 1002 "papi_fwrappers.c" 3471 # 1017 "papi_fwrappers.c" 3477 # 1033 "papi_fwrappers.c" 3483 # 1049 "papi_fwrappers.c" 3489 # 1065 "papi_fwrappers.c" 3494 # 1080 "papi_fwrappers.c" 3499 # 1095 "papi_fwrappers.c" 3505 # 1111 "papi_fwrappers.c" 3511 # 1127 "papi_fwrappers.c" 3517 # 1143 "papi_fwrappers.c" 3523 # 1159 "papi_fwrappers.c" 3529 # 1177 "papi_fwrappers.c" 3535 # 1193 "papi_fwrappers.c" 3541 # 1209 "papi_fwrappers.c" 3547 # 1225 "papi_fwrappers.c" 3553 # 1241 "papi_fwrappers.c" 3558 # 1256 "papi_fwrappers.c" 3565 # 1273 "papi_fwrappers.c" 3566 void papif_epc_ (
int event,
float *rtime,
float *ptime,
long long *ref,
long long *core,
long long *evt,
float *epc,
int *
check)
3571 *
check =
PAPI_epc( event, rtime, ptime, ref, core, evt, epc );
3573 # 1291 "papi_fwrappers.c" 3574 void papif_flips_ (
float *real_time,
float *proc_time,
long long *flpins,
float *mflips,
int *
check )
3580 # 1308 "papi_fwrappers.c" 3581 void papif_flops_ (
float *real_time,
float *proc_time,
long long *flpops,
float *mflops,
int *
check )
3587 # 1330 "papi_fwrappers.c" 3591 # 1332
"papi_fwrappers.c" 3 4
3593 # 1332
"papi_fwrappers.c" 3596 # 1348 "papi_fwrappers.c" 3610 (
size_t ) lib_preload_env_len );
3612 i < lib_preload_env_len; lib_preload_env[
i++] =
' ' );
3620 # 1382 "papi_fwrappers.c" 3629 }
else if ( *mode == 7 ) {
3638 # 1410 "papi_fwrappers.c" 3646 # 1416
"papi_fwrappers.c" 3 4
3648 # 1416
"papi_fwrappers.c" 3651 }
else if ( *mode == 5 ) {
3660 # 1450 "papi_fwrappers.c" 3670 # 1470 "papi_fwrappers.c" 3679 #pragma GCC visibility pop 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)
int PAPI_stop(int EventSet, long long *values)
__dev_t gnu_dev_makedev(unsigned int __major, unsigned int __minor) __attribute__((__nothrow__
int PAPI_is_initialized(void)
void papif_set_inherit_(int *inherit, int *check)
__extension__ typedef int __intptr_t
void papif_start_(int *EventSet, int *check)
__extension__ long long int __align
unsigned int __writers_futex
const PAPI_component_info_t * PAPI_get_component_info(int cidx)
struct _IO_FILE_plus _IO_2_1_stdin_
int _IO_getc(_IO_FILE *__fp)
__extension__ typedef long int __suseconds_t
__extension__ typedef __quad_t __blkcnt64_t
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)
__extension__ typedef int __daddr_t
int PAPI_set_cmp_granularity(int granularity, int cidx)
__extension__ typedef long int __syscall_slong_t
int PAPI_reset(int EventSet)
unsigned long int pthread_t
unsigned int __wrphase_futex
struct __locale_struct * __locale_t
void papif_accum_(int *EventSet, long long *values, int *check)
const PAPI_shlib_info_t * PAPI_get_shared_lib_info(void)
__extension__ typedef unsigned int __mode_t
struct __pthread_cond_s::@30::@33 __g1_start32
__extension__ typedef int __fsword_t
unsigned short int exponent
unsigned int __g_signals[2]
int PAPI_disable_component_by_name(const char *name)
__uint32_t __glibc_reserved2[56]
int select(int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout)
void papif_add_events_(int *EventSet, int *Events, int *number, int *check)
static int Events[NUM_EVENTS]
unsigned long PAPI_thread_id(void)
int PAPI_write(int EventSet, long long *values)
int PAPI_ipc(float *rtime, float *ptime, long long *ins, float *ipc)
int PAPI_remove_event(int EventSet, int EventCode)
struct ucontext_t * uc_link
long long PAPI_get_virt_cyc(void)
__extension__ typedef long int __blkcnt_t
void papif_set_event_domain_(int *es, int *domain, int *check)
__extension__ typedef signed long long int __int64_t
void papif_get_clockrate_(int *cr)
struct __pthread_mutex_s::@25::@27 __elision_data
int PAPI_flops(float *rtime, float *ptime, long long *flpops, float *mflops)
void papif_remove_events_(int *EventSet, int *Events, int *number, int *check)
void papif_reset_(int *EventSet, int *check)
int PAPI_accum_counters(long long *values, int array_len)
void papif_unregister_thread_(int *check)
int PAPI_num_components(void)
void papif_cleanup_eventset_(int *EventSet, int *check)
void papif_list_events_(int *EventSet, int *Events, int *number, int *check)
__uint64_t __glibc_reserved2[5]
__uint32_t __glibc_reserved1[7]
static double array[ARRAYSIZE]
int PAPI_enum_event(int *EventCode, int modifier)
int _IO_ferror(_IO_FILE *__fp) __attribute__((__nothrow__
PAPI_granularity_option_t granularity
int __libc_current_sigrtmin(void)
int PAPI_detach(int EventSet)
void papif_add_named_event_(int *EventSet, char *EventName, int *check, int Event_len)
char long_descr[PAPI_HUGE_STR_LEN]
__extension__ typedef long int __blksize_t
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_get_preload_(char *lib_preload_env, int *check, int lib_preload_env_len)
__sighandler_t ssignal(int __sig, __sighandler_t __handler) __attribute__((__nothrow__
__extension__ typedef long int __clock_t
int PAPI_event_name_to_code(const char *in, int *out)
void papif_stop_counters_(long long *values, int *array_len, int *check)
int PAPI_overflow(int EventSet, int EventCode, int threshold, int flags, PAPI_overflow_handler_t handler)
__extension__ typedef __u_quad_t __ino64_t
A pointer to the following is passed to PAPI_set/get_opt()
static struct timeval start
static void Fortran2cstring(char *cstring, char *Fstring, int clen, int Flen)
char units[MAX_EVENTS][BUFSIZ]
int PAPI_remove_events(int EventSet, int *Events, int number)
long long PAPI_get_virt_nsec(void)
int pthread_sigmask(int __how, const __sigset_t *__restrict __newmask, __sigset_t *__restrict __oldmask) __attribute__((__nothrow__
void papif_get_domain_(int *eventset, int *domain, int *mode, int *check)
void papif_set_multiplex_(int *EventSet, int *check)
void papif_write_(int *EventSet, long long *values, int *check)
int PAPI_sprofil(PAPI_sprofil_t *prof, int profcnt, int EventSet, int EventCode, int threshold, int flags)
int gsignal(int __sig) __attribute__((__nothrow__
void papif_set_cmp_domain_(int *domain, int *cidx, int *check)
void papif_num_hwctrs_(int *num)
pthread_attr_t * _attribute
int sigwait(const sigset_t *__restrict __set, int *__restrict __sig) __attribute__((__nonnull__(1
unsigned short __glibc_reserved1[3]
struct _xsave_hdr xstate_hdr
unsigned short significand[4]
int PAPI_set_opt(int option, PAPI_option_t *ptr)
__extension__ typedef void * __timer_t
void psignal(int __sig, const char *__s)
int PAPI_add_events(int EventSet, int *Events, int number)
int __overflow(_IO_FILE *, int)
void papif_lock_(int *lock, int *check)
__extension__ typedef long long int __intmax_t
void papif_stop_(int *EventSet, long long *values, int *check)
void papif_remove_named_event_(int *EventSet, char *EventName, int *check, int Event_len)
int PAPI_get_event_info(int EventCode, PAPI_event_info_t *info)
volatile int pthread_spinlock_t
int sigsetmask(int __mask) __attribute__((__nothrow__
int PAPI_add_named_event(int EventSet, const char *EventName)
char events[MAX_EVENTS][BUFSIZ]
__ssize_t __io_write_fn(void *__cookie, const char *__buf, size_t __n)
int PAPI_set_cmp_domain(int domain, int cidx)
void papif_register_thread_(int *check)
__extension__ typedef long int __off_t
int PAPI_disable_component(int cidx)
__extension__ typedef __u_quad_t __rlim64_t
int PAPI_flips(float *rtime, float *ptime, long long *flpins, float *mflips)
void papif_perror_(char *message, int message_len)
int PAPI_epc(int event, float *rtime, float *ptime, long long *ref, long long *core, long long *evt, float *epc)
void papif_query_event_(int *EventCode, int *check)
unsigned short _cur_column
int PAPI_num_cmp_hwctrs(int cidx)
void papif_get_dmem_info_(long long *dest, int *check)
int PAPI_get_thr_specific(int tag, void **ptr)
int PAPI_accum(int EventSet, long long *values)
int sigreturn(struct sigcontext *__scp) __attribute__((__nothrow__
void papif_read_counters_(long long *values, int *array_len, int *check)
void papif_start_counters_(int *events, int *array_len, int *check)
int killpg(__pid_t __pgrp, int __sig) __attribute__((__nothrow__
static struct counter_info * event_info
__syscall_slong_t tv_nsec
void papif_event_code_to_name_(int *EventCode, char *out_str, int *check, int out_len)
unsigned int gnu_dev_major(__dev_t __dev) __attribute__((__nothrow__
int(* PAPI_debug_handler_t)(int code)
void(* __sighandler_t)(int)
int PAPI_library_init(int version)
void papif_accum_counters_(long long *values, int *array_len, int *check)
int PAPI_profil(void *buf, unsigned bufsiz, caddr_t offset, unsigned scale, int EventSet, int EventCode, int threshold, int flags)
__extension__ typedef unsigned int __id_t
void papif_read_(int *EventSet, long long *values, int *check)
int __io_seek_fn(void *__cookie, __off64_t *__pos, int __w)
int sigaltstack(const stack_t *__restrict __ss, stack_t *__restrict __oss) __attribute__((__nothrow__
static __inline __uint32_t __uint32_identity(__uint32_t __x)
int sigqueue(__pid_t __pid, int __sig, const union sigval __val) __attribute__((__nothrow__
void papif_enum_event_(int *EventCode, int *modifier, int *check)
void papif_set_cmp_granularity_(int *granularity, int *cidx, int *check)
__extension__ typedef __u_quad_t __dev_t
int PAPI_stop_counters(long long *values, int array_len)
int sigpending(sigset_t *__set) __attribute__((__nothrow__
A pointer to the following is passed to PAPI_get_dmem_info()
int _IO_putc(int __c, _IO_FILE *__fp)
int PAPI_get_cmp_opt(int option, PAPI_option_t *ptr, int cidx)
const PAPI_exe_info_t * PAPI_get_executable_info(void)
int PAPI_num_events(int EventSet)
void papif_remove_event_(int *EventSet, int *Event, int *check)
int PAPI_get_opt(int option, PAPI_option_t *ptr)
void papif_get_virt_cyc_(long long *virt_cyc)
int sigblock(int __mask) __attribute__((__nothrow__
unsigned long int dataoff
int PAPI_get_component_index(const char *name)
int __underflow(_IO_FILE *)
void papif_num_counters_(int *numevents)
int __io_close_fn(void *__cookie)
__extension__ typedef unsigned int __gid_t
PAPI_address_map_t address_info
char symbol[PAPI_HUGE_STR_LEN]
int sigsuspend(const sigset_t *__set) __attribute__((__nonnull__(1)))
int sigtimedwait(const sigset_t *__restrict __set, siginfo_t *__restrict __info, const struct timespec *__restrict __timeout) __attribute__((__nonnull__(1)))
void papif_multiplex_init_(int *check)
int PAPI_state(int EventSet, int *status)
char model_string[PAPI_MAX_STR_LEN]
int __leaf__ __attribute__((__pure__))
__uint32_t ymmh_space[64]
void papif_assign_eventset_component_(int *EventSet, int *cidx, int *check)
int PAPI_query_named_event(const char *EventName)
void papif_get_real_cyc_(long long *real_cyc)
get the executable's address space info
PAPI_exe_info_t * exe_info
__extension__ typedef __u_quad_t __fsfilcnt64_t
void papif_event_name_to_code_(char *in_str, int *out, int *check, int in_len)
void papif_set_debug_(int *debug, int *check)
struct _fpxreg _fxsr_st[8]
void _IO_flockfile(_IO_FILE *)
void papif_num_events_(int *EventCode, int *count)
int PAPI_num_hwctrs(void)
void papif_shutdown_(void)
__extension__ typedef unsigned int __uid_t
const char *const sys_siglist[(64+1)]
void papif_read_ts_(int *EventSet, long long *values, long long *cycles, int *check)
static int Event[MAX_EVENTS]
struct _IO_FILE_plus _IO_2_1_stderr_
int PAPI_set_granularity(int granularity)
void papif_get_granularity_(int *eventset, int *granularity, int *mode, int *check)
int sigaction(int __sig, const struct sigaction *__restrict __act, struct sigaction *__restrict __oact) __attribute__((__nothrow__
int strcoll_l(const char *__s1, const char *__s2, locale_t __l) __attribute__((__nothrow__
__extension__ typedef unsigned int __socklen_t
unsigned short significand[4]
address range specification for range restricted counting if both are zero, range is disabled
unsigned long int uc_flags
void papif_thread_init_(unsigned long int(*handle)(void), int *check)
unsigned long int datasel
char short_descr[PAPI_MIN_STR_LEN]
int PAPI_enum_cmp_event(int *EventCode, int modifier, int cidx)
__sighandler_t __sysv_signal(int __sig, __sighandler_t __handler) __attribute__((__nothrow__
__extension__ typedef long int __time_t
__extension__ typedef unsigned int __useconds_t
mh for mem hierarchy maybe?
__extension__ unsigned long long int __wseq
char _unused2[15 *sizeof(int) - 4 *sizeof(void *) - sizeof(size_t)]
struct _libc_fpstate __fpregs_mem
unsigned short int __u_short
void handler(int EventSet, void *address, long long overflow_vector, void *context)
__extension__ typedef int __key_t
void papif_flops_(float *real_time, float *proc_time, long long *flpops, float *mflops, int *check)
int PAPI_cleanup_eventset(int EventSet)
__uint32_t __glibc_reserved1
int PAPI_assign_eventset_component(int EventSet, int cidx)
void papif_flips_(float *real_time, float *proc_time, long long *flpins, float *mflips, int *check)
int PAPI_create_eventset(int *EventSet)
struct __pthread_internal_slist * __next
__extension__ typedef unsigned int __nlink_t
int PAPI_event_code_to_name(int EventCode, char *out)
unsigned int gnu_dev_minor(__dev_t __dev) __attribute__((__nothrow__
void papif_unregster_thread_(int *check)
__extension__ typedef unsigned long int __ino_t
char vendor_string[PAPI_MAX_STR_LEN]
void papif_num_cmp_hwctrs_(int *cidx, int *num)
struct _IO_marker * _markers
__extension__ typedef int __ssize_t
int PAPI_get_dmem_info(PAPI_dmem_info_t *dest)
__extension__ typedef unsigned long int __fsfilcnt_t
void papif_query_named_event_(char *EventName, int *check, int Event_len)
int PAPI_query_event(int EventCode)
void papif_is_initialized_(int *level)
int PAPI_get_overflow_event_index(int Eventset, long long overflow_vector, int *array, int *number)
int sigprocmask(int __how, const sigset_t *__restrict __set, sigset_t *__restrict __oset) __attribute__((__nothrow__
void papif_set_domain_(int *domain, int *check)
int PAPI_multiplex_init(void)
__sighandler_t signal(int __sig, __sighandler_t __handler) __attribute__((__nothrow__
void papif_library_init_(int *check)
int kill(__pid_t __pid, int __sig) __attribute__((__nothrow__
__uint64_t __glibc_reserved1[2]
__ssize_t __io_read_fn(void *__cookie, char *__buf, size_t __nbytes)
int pthread_kill(pthread_t __threadid, int __signo) __attribute__((__nothrow__
int PAPI_read_ts(int EventSet, long long *values, long long *cyc)
long long PAPI_get_real_usec(void)
__extension__ typedef unsigned long int __syscall_ulong_t
int _IO_peekc_locked(_IO_FILE *__fp)
int PAPI_unregister_thread(void)
int PAPI_set_thr_specific(int tag, void *ptr)
char * PAPI_strerror(int)
void papif_create_eventset_(int *EventSet, int *check)
static char stack[2 *PAPI_HUGE_STR_LEN]
int PAPI_read_counters(long long *values, int array_len)
__extension__ unsigned long long int __g1_start
long long PAPI_get_real_nsec(void)
void papif_get_virt_usec_(long long *time)
int PAPI_num_counters(void)
int PAPI_start_counters(int *events, int array_len)
struct __pthread_cond_s::@28::@32 __wseq32
int data_type[MAX_EVENTS]
__extension__ typedef __u_quad_t __fsblkcnt64_t
__extension__ typedef int __clockid_t
int sigstack(struct sigstack *__ss, struct sigstack *__oss) __attribute__((__nothrow__
void papif_state_(int *EventSet, int *status, int *check)
unsigned short int __uint16_t
__suseconds_t suseconds_t
signed char _vtable_offset
int PAPI_set_multiplex(int EventSet)
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 PAPI_thread_id_t
void papif_add_event_(int *EventSet, int *Event, int *check)
void papif_unlock_(int *lock, int *check)
int PAPI_destroy_eventset(int *EventSet)
int PAPI_remove_named_event(int EventSet, const char *EventName)
PAPI_domain_option_t domain
int PAPI_set_domain(int domain)
__sig_atomic_t sig_atomic_t
int PAPI_thread_init(unsigned long(*id_fn)(void))
struct _fpstate * fpstate
struct _IO_marker * _next
int PAPI_attach(int EventSet, unsigned long tid)
static int attach(hwd_control_state_t *ctl, unsigned long tid)
long long PAPI_get_real_cyc(void)
int _IO_feof(_IO_FILE *__fp) __attribute__((__nothrow__
int PAPI_read(int EventSet, long long *values)
unsigned long esp_at_signal
char fullname[PAPI_HUGE_STR_LEN]
int int sigwaitinfo(const sigset_t *__restrict __set, siginfo_t *__restrict __info) __attribute__((__nonnull__(1)))
const char *const _sys_siglist[(64+1)]
int siginterrupt(int __sig, int __interrupt) __attribute__((__nothrow__
int PAPI_start(int EventSet)
PAPI_preload_info_t preload
__extension__ typedef int __pid_t
void papif_destroy_eventset_(int *EventSet, int *check)
struct _libc_fpreg _st[8]
void PAPI_perror(const char *msg)
void papif_get_real_usec_(long long *time)
char lib_preload_env[PAPI_MAX_STR_LEN]
void papif_get_multiplex_(int *EventSet, int *check)
unsigned int pthread_key_t
signed short int __int16_t
unsigned long int oldmask
__extension__ typedef unsigned long int __fsblkcnt_t
int PAPI_get_multiplex(int EventSet)
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
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)
__extension__ typedef unsigned long long int __uintmax_t
static const PAPI_hw_info_t * hw_info
__extension__ typedef long long int __quad_t
volatile int buf[CACHE_FLUSH_BUFFER_SIZE_INTS]
struct _IO_FILE_plus _IO_2_1_stdout_
char * PAPI_user_defined_events_file_t
char note[PAPI_HUGE_STR_LEN]
int PAPI_list_threads(unsigned long *tids, int *number)
void papif_thread_id_(unsigned long *id)
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_ipc_(float *rtime, float *ptime, long long *ins, float *ipc, int *check)
int PAPI_get_event_component(int EventCode)
char * PAPI_user_defined_events_file_t
void psiginfo(const siginfo_t *__pinfo, const char *__s)
__extension__ typedef unsigned long long int __u_quad_t
int PAPI_set_debug(int level)
setvbuf(file, file_buf, _IOFBF, sizeof(file_buf))
unsigned short int significand[4]
static __inline __uint64_t __uint64_identity(__uint64_t __x)
char name[PAPI_HUGE_STR_LEN]
__extension__ typedef unsigned long int __rlim_t
void(* PAPI_overflow_handler_t)(int EventSet, void *address, long long overflow_vector, void *context)
void papif_epc_(int event, float *rtime, float *ptime, long long *ref, long long *core, long long *evt, float *epc, int *check)
void papif_get_real_nsec_(long long *time)
__extension__ typedef __quad_t __off64_t
static __inline __uint16_t __uint16_identity(__uint16_t __x)
void papif_set_granularity_(int *granularity, int *check)
static __inline __uint64_t __bswap_64(__uint64_t __bsx)
int PAPI_list_events(int EventSet, int *Events, int *number)
int PAPI_get_eventset_component(int EventSet)
unsigned long int __u_long
__extension__ typedef unsigned long long int __uint64_t