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 29 # 1 "/usr/include/bits/wordsize.h" 1 3 4 30 # 6 "/usr/include/gnu/stubs.h" 2 3 4 31 # 14 "/usr/include/gnu/stubs.h" 3 4 32 # 1 "/usr/include/gnu/stubs-64-v2.h" 1 3 4 33 # 15 "/usr/include/gnu/stubs.h" 2 3 4 34 # 453 "/usr/include/features.h" 2 3 4 35 # 34 "/usr/include/bits/libc-header-start.h" 2 3 4 36 # 28 "/usr/include/stdio.h" 2 3 4 42 # 1 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/stddef.h" 1 3 4 43 # 216 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/stddef.h" 3 4 45 # 216 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/stddef.h" 3 4 47 # 34 "/usr/include/stdio.h" 2 3 4 49 # 1 "/usr/include/bits/types.h" 1 3 4 50 # 27 "/usr/include/bits/types.h" 3 4 51 # 1 "/usr/include/bits/wordsize.h" 1 3 4 52 # 28 "/usr/include/bits/types.h" 2 3 4 88 # 130 "/usr/include/bits/types.h" 3 4 89 # 1 "/usr/include/bits/typesizes.h" 1 3 4 90 # 131 "/usr/include/bits/types.h" 2 3 4 163 # 36 "/usr/include/stdio.h" 2 3 4 164 # 1 "/usr/include/bits/types/__FILE.h" 1 3 4 170 # 37 "/usr/include/stdio.h" 2 3 4 171 # 1 "/usr/include/bits/types/FILE.h" 1 3 4 179 # 38 "/usr/include/stdio.h" 2 3 4 183 # 1 "/usr/include/bits/libio.h" 1 3 4 184 # 35 "/usr/include/bits/libio.h" 3 4 185 # 1 "/usr/include/bits/_G_config.h" 1 3 4 186 # 19 "/usr/include/bits/_G_config.h" 3 4 187 # 1 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/stddef.h" 1 3 4 188 # 20 "/usr/include/bits/_G_config.h" 2 3 4 190 # 1 "/usr/include/bits/types/__mbstate_t.h" 1 3 4 191 # 13 "/usr/include/bits/types/__mbstate_t.h" 3 4 201 # 22 "/usr/include/bits/_G_config.h" 2 3 4 216 # 36 "/usr/include/bits/libio.h" 2 3 4 217 # 53 "/usr/include/bits/libio.h" 3 4 218 # 1 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/stdarg.h" 1 3 4 219 # 40 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/stdarg.h" 3 4 221 # 54 "/usr/include/bits/libio.h" 2 3 4 222 # 149 "/usr/include/bits/libio.h" 3 4 241 # 177 "/usr/include/bits/libio.h" 3 4 252 # 245 "/usr/include/bits/libio.h" 3 4 293 # 293 "/usr/include/bits/libio.h" 3 4 318 struct _IO_FILE_plus;
323 # 337 "/usr/include/bits/libio.h" 3 4 345 # 389 "/usr/include/bits/libio.h" 3 4 349 # 433 "/usr/include/bits/libio.h" 3 4 364 # 462 "/usr/include/bits/libio.h" 3 4 365 extern int _IO_vfscanf (
_IO_FILE * __restrict,
const char * __restrict,
367 extern int _IO_vfprintf (
_IO_FILE *__restrict,
const char *__restrict,
370 extern size_t _IO_sgetn (
_IO_FILE *,
void *,
size_t);
376 # 42 "/usr/include/stdio.h" 2 3 4 382 # 57 "/usr/include/stdio.h" 3 4 384 # 71 "/usr/include/stdio.h" 3 4 393 # 131 "/usr/include/stdio.h" 3 4 394 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 395 # 132 "/usr/include/stdio.h" 2 3 4 414 extern int renameat (
int __oldfd,
const char *__old,
int __newfd,
423 extern FILE *tmpfile (
void) ;
424 # 173 "/usr/include/stdio.h" 3 4 431 # 190 "/usr/include/stdio.h" 3 4 432 extern char *tempnam (
const char *__dir,
const char *__pfx)
441 extern int fclose (FILE *__stream);
446 extern int fflush (FILE *__stream);
447 # 213 "/usr/include/stdio.h" 3 4 448 extern int fflush_unlocked (FILE *__stream);
449 # 232 "/usr/include/stdio.h" 3 4 450 extern FILE *fopen (
const char *__restrict __filename,
451 const char *__restrict __modes) ;
456 extern FILE *freopen (
const char *__restrict __filename,
457 const char *__restrict __modes,
458 FILE *__restrict __stream) ;
459 # 265 "/usr/include/stdio.h" 3 4 461 # 278 "/usr/include/stdio.h" 3 4 462 extern FILE *fmemopen (
void *__s,
size_t __len,
const char *__modes)
468 extern FILE *open_memstream (
char **__bufloc,
size_t *__sizeloc)
__attribute__ ((__nothrow__ ,
__leaf__)) ;
474 extern void setbuf (FILE *__restrict __stream,
char *__restrict __buf)
__attribute__ ((__nothrow__ ,
__leaf__));
478 extern int setvbuf (FILE *__restrict __stream,
char *__restrict __buf,
484 extern void setbuffer (FILE *__restrict __stream,
char *__restrict __buf,
496 extern int fprintf (FILE *__restrict __stream,
497 const char *__restrict __format, ...);
502 extern int printf (
const char *__restrict __format, ...);
504 extern int sprintf (
char *__restrict __s,
505 const char *__restrict __format, ...)
__attribute__ ((__nothrow__));
511 extern
int vfprintf (FILE *__restrict __s, const
char *__restrict __format,
517 extern
int vprintf (const
char *__restrict __format,
__gnuc_va_list __arg);
519 extern
int vsprintf (
char *__restrict __s, const
char *__restrict __format,
524 extern
int snprintf (
char *__restrict __s,
size_t __maxlen,
525 const
char *__restrict __format, ...)
528 extern
int vsnprintf (
char *__restrict __s,
size_t __maxlen,
531 # 365 "/usr/include/stdio.h" 3 4 532 extern int vdprintf (
int __fd,
const char *__restrict __fmt,
535 extern int dprintf (
int __fd,
const char *__restrict __fmt, ...)
544 extern
int fscanf (FILE *__restrict __stream,
545 const
char *__restrict __format, ...) ;
550 extern
int scanf (const
char *__restrict __format, ...) ;
552 extern
int sscanf (const
char *__restrict __s,
554 # 395 "/usr/include/stdio.h" 3 4 555 extern int fscanf (FILE *__restrict __stream,
const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf")
558 extern
int scanf (const
char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf")
560 extern
int sscanf (const
char *__restrict __s, const
char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf")
__attribute__ ((__nothrow__ ,
__leaf__))
563 # 420 "/usr/include/stdio.h" 3 4 564 extern int vfscanf (FILE *__restrict __s,
const char *__restrict __format,
572 extern int vscanf (
const char *__restrict __format,
__gnuc_va_list __arg)
576 extern int vsscanf (
const char *__restrict __s,
579 # 443 "/usr/include/stdio.h" 3 4 580 extern int vfscanf (FILE *__restrict __s,
const char *__restrict __format,
__gnuc_va_list __arg) __asm__ (
"" "__isoc99_vfscanf")
585 extern
int vscanf (const
char *__restrict __format,
__gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf")
588 extern
int vsscanf (const
char *__restrict __s, const
char *__restrict __format,
__gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf")
__attribute__ ((__nothrow__ ,
__leaf__))
593 # 477 "/usr/include/stdio.h" 3 4 594 extern int fgetc (FILE *__stream);
595 extern int getc (FILE *__stream);
601 extern int getchar (
void);
602 # 495 "/usr/include/stdio.h" 3 4 603 extern int getc_unlocked (FILE *__stream);
604 extern int getchar_unlocked (
void);
605 # 506 "/usr/include/stdio.h" 3 4 606 extern int fgetc_unlocked (FILE *__stream);
607 # 517 "/usr/include/stdio.h" 3 4 608 extern int fputc (
int __c, FILE *__stream);
609 extern int putc (
int __c, FILE *__stream);
615 extern int putchar (
int __c);
616 # 537 "/usr/include/stdio.h" 3 4 617 extern int fputc_unlocked (
int __c, FILE *__stream);
625 extern int putc_unlocked (
int __c, FILE *__stream);
626 extern int putchar_unlocked (
int __c);
633 extern int getw (FILE *__stream);
636 extern int putw (
int __w, FILE *__stream);
644 extern char *fgets (
char *__restrict __s,
int __n, FILE *__restrict __stream)
646 # 603 "/usr/include/stdio.h" 3 4 647 extern __ssize_t __getdelim (
char **__restrict __lineptr,
648 size_t *__restrict __n,
int __delimiter,
649 FILE *__restrict __stream) ;
650 extern __ssize_t getdelim (
char **__restrict __lineptr,
651 size_t *__restrict __n,
int __delimiter,
652 FILE *__restrict __stream) ;
660 extern __ssize_t getline (
char **__restrict __lineptr,
661 size_t *__restrict __n,
662 FILE *__restrict __stream) ;
670 extern int fputs (
const char *__restrict __s, FILE *__restrict __stream);
676 extern int puts (
const char *__s);
683 extern int ungetc (
int __c, FILE *__stream);
690 extern size_t fread (
void *__restrict __ptr,
size_t __size,
691 size_t __n, FILE *__restrict __stream) ;
696 extern size_t fwrite (
const void *__restrict __ptr,
size_t __size,
697 size_t __n, FILE *__restrict __s);
698 # 673 "/usr/include/stdio.h" 3 4 699 extern size_t fread_unlocked (
void *__restrict __ptr,
size_t __size,
700 size_t __n, FILE *__restrict __stream) ;
701 extern size_t fwrite_unlocked (
const void *__restrict __ptr,
size_t __size,
702 size_t __n, FILE *__restrict __stream);
710 extern int fseek (FILE *__stream,
long int __off,
int __whence);
715 extern long int ftell (FILE *__stream) ;
720 extern void rewind (FILE *__stream);
721 # 707 "/usr/include/stdio.h" 3 4 722 extern int fseeko (FILE *__stream,
__off_t __off,
int __whence);
727 extern __off_t ftello (FILE *__stream) ;
728 # 731 "/usr/include/stdio.h" 3 4 729 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
734 extern int fsetpos (FILE *__stream,
const fpos_t *__pos);
735 # 757 "/usr/include/stdio.h" 3 4 754 extern void perror (
const char *__s);
760 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4 761 # 26 "/usr/include/bits/sys_errlist.h" 3 4 763 extern const char *
const sys_errlist[];
764 # 782 "/usr/include/stdio.h" 2 3 4 775 # 800 "/usr/include/stdio.h" 3 4 776 extern FILE *popen (
const char *__command,
const char *__modes) ;
782 extern int pclose (FILE *__stream);
789 # 840 "/usr/include/stdio.h" 3 4 798 # 868 "/usr/include/stdio.h" 3 4 800 # 24 "papi_fwrappers.c" 2 801 # 1 "/usr/include/assert.h" 1 3 4 802 # 64 "/usr/include/assert.h" 3 4 806 extern void __assert_fail (
const char *__assertion,
const char *__file,
807 unsigned int __line,
const char *__function)
811 extern void __assert_perror_fail (
int __errnum,
const char *__file,
812 unsigned int __line,
const char *__function)
818 extern void __assert (
const char *__assertion,
const char *__file,
int __line)
823 # 25 "papi_fwrappers.c" 2 824 # 1 "/usr/include/string.h" 1 3 4 825 # 26 "/usr/include/string.h" 3 4 826 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 827 # 27 "/usr/include/string.h" 2 3 4 834 # 1 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/stddef.h" 1 3 4 835 # 34 "/usr/include/string.h" 2 3 4 836 # 42 "/usr/include/string.h" 3 4 837 extern void *memcpy (
void *__restrict __dest,
const void *__restrict __src,
841 extern void *memmove (
void *__dest,
const void *__src,
size_t __n)
848 extern void *memccpy (
void *__restrict __dest,
const void *__restrict __src,
858 extern int memcmp (
const void *__s1,
const void *__s2,
size_t __n)
860 # 90 "/usr/include/string.h" 3 4 861 extern void *memchr (
const void *__s,
int __c,
size_t __n)
863 # 121 "/usr/include/string.h" 3 4 864 extern char *strcpy (
char *__restrict __dest,
const char *__restrict __src)
867 extern char *strncpy (
char *__restrict __dest,
868 const char *__restrict __src,
size_t __n)
872 extern char *strcat (
char *__restrict __dest,
const char *__restrict __src)
875 extern char *strncat (
char *__restrict __dest,
const char *__restrict __src,
879 extern int strcmp (
const char *__s1,
const char *__s2)
882 extern int strncmp (
const char *__s1,
const char *__s2,
size_t __n)
886 extern int strcoll (
const char *__s1,
const char *__s2)
889 extern size_t strxfrm (
char *__restrict __dest,
890 const char *__restrict __src,
size_t __n)
895 # 1 "/usr/include/bits/types/locale_t.h" 1 3 4 896 # 22 "/usr/include/bits/types/locale_t.h" 3 4 897 # 1 "/usr/include/bits/types/__locale_t.h" 1 3 4 898 # 28 "/usr/include/bits/types/__locale_t.h" 3 4 899 struct __locale_struct
902 struct __locale_data *__locales[13];
905 const unsigned short int *__ctype_b;
906 const int *__ctype_tolower;
907 const int *__ctype_toupper;
910 const char *__names[13];
914 # 23 "/usr/include/bits/types/locale_t.h" 2 3 4 917 # 153 "/usr/include/string.h" 2 3 4 924 extern
size_t strxfrm_l (
char *__dest, const
char *__src,
size_t __n,
931 extern
char *strdup (const
char *__s)
939 extern
char *strndup (const
char *__string,
size_t __n)
941 # 225 "/usr/include/string.h" 3 4 942 extern char *strchr (
const char *__s,
int __c)
944 # 252 "/usr/include/string.h" 3 4 945 extern char *strrchr (
const char *__s,
int __c)
947 # 272 "/usr/include/string.h" 3 4 948 extern size_t strcspn (
const char *__s,
const char *__reject)
952 extern size_t strspn (
const char *__s,
const char *__accept)
954 # 302 "/usr/include/string.h" 3 4 955 extern char *strpbrk (
const char *__s,
const char *__accept)
957 # 329 "/usr/include/string.h" 3 4 958 extern char *strstr (
const char *__haystack,
const char *__needle)
964 extern char *strtok (
char *__restrict __s,
const char *__restrict __delim)
969 extern char *__strtok_r (
char *__restrict __s,
970 const char *__restrict __delim,
971 char **__restrict __save_ptr)
974 extern char *strtok_r (
char *__restrict __s,
const char *__restrict __delim,
975 char **__restrict __save_ptr)
977 # 384 "/usr/include/string.h" 3 4 978 extern size_t strlen (
const char *__s)
984 extern size_t strnlen (
const char *__string,
size_t __maxlen)
991 # 409 "/usr/include/string.h" 3 4 992 extern int strerror_r (
int __errnum,
char *__buf,
size_t __buflen) __asm__ (
"" "__xpg_strerror_r")
__attribute__ ((__nothrow__ ,
__leaf__))
995 # 427 "/usr/include/string.h" 3 4 1000 # 1 "/usr/include/strings.h" 1 3 4 1001 # 23 "/usr/include/strings.h" 3 4 1002 # 1 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/stddef.h" 1 3 4 1003 # 24 "/usr/include/strings.h" 2 3 4 1014 extern int bcmp (
const void *__s1,
const void *__s2,
size_t __n)
1018 extern void bcopy (
const void *__src,
void *__dest,
size_t __n)
1023 # 68 "/usr/include/strings.h" 3 4 1024 extern char *index (
const char *__s,
int __c)
1026 # 96 "/usr/include/strings.h" 3 4 1027 extern char *rindex (
const char *__s,
int __c)
1042 __extension__
extern int ffsll (
long long int __ll)
1047 extern int strcasecmp (
const char *__s1,
const char *__s2)
1051 extern int strncasecmp (
const char *__s1,
const char *__s2,
size_t __n)
1059 extern int strcasecmp_l (
const char *__s1,
const char *__s2,
locale_t __loc)
1064 extern int strncasecmp_l (
const char *__s1,
const char *__s2,
1070 # 432 "/usr/include/string.h" 2 3 4 1078 extern char *strsep (
char **__restrict __stringp,
1079 const char *__restrict __delim)
1088 extern char *__stpcpy (
char *__restrict __dest,
const char *__restrict __src)
1090 extern char *stpcpy (
char *__restrict __dest,
const char *__restrict __src)
1095 extern char *__stpncpy (
char *__restrict __dest,
1096 const char *__restrict __src,
size_t __n)
1098 extern char *stpncpy (
char *__restrict __dest,
1099 const char *__restrict __src,
size_t __n)
1105 extern size_t strlcpy (
char *__restrict __dest,
1106 const char *__restrict __src,
size_t __n)
1111 extern size_t strlcat (
char *__restrict __dest,
1112 const char *__restrict __src,
size_t __n)
1114 # 511 "/usr/include/string.h" 3 4 1116 # 26 "papi_fwrappers.c" 2 1119 #pragma GCC visibility push(default) 1121 # 1 "/usr/include/sys/types.h" 1 3 4 1122 # 27 "/usr/include/sys/types.h" 3 4 1145 # 60 "/usr/include/sys/types.h" 3 4 1167 # 98 "/usr/include/sys/types.h" 3 4 1175 # 115 "/usr/include/sys/types.h" 3 4 1188 # 1 "/usr/include/bits/types/clock_t.h" 1 3 4 1196 # 128 "/usr/include/sys/types.h" 2 3 4 1198 # 1 "/usr/include/bits/types/clockid_t.h" 1 3 4 1206 # 130 "/usr/include/sys/types.h" 2 3 4 1207 # 1 "/usr/include/bits/types/time_t.h" 1 3 4 1215 # 131 "/usr/include/sys/types.h" 2 3 4 1216 # 1 "/usr/include/bits/types/timer_t.h" 1 3 4 1224 # 132 "/usr/include/sys/types.h" 2 3 4 1225 # 145 "/usr/include/sys/types.h" 3 4 1226 # 1 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/stddef.h" 1 3 4 1227 # 146 "/usr/include/sys/types.h" 2 3 4 1231 typedef unsigned long int ulong;
1232 typedef unsigned short int ushort;
1233 typedef unsigned int uint;
1238 # 1 "/usr/include/bits/stdint-intn.h" 1 3 4 1239 # 24 "/usr/include/bits/stdint-intn.h" 3 4 1244 # 157 "/usr/include/sys/types.h" 2 3 4 1245 # 178 "/usr/include/sys/types.h" 3 4 1246 typedef unsigned int u_int8_t
__attribute__ ((__mode__ (__QI__)));
1247 typedef unsigned int u_int16_t
__attribute__ ((__mode__ (__HI__)));
1248 typedef unsigned int u_int32_t
__attribute__ ((__mode__ (__SI__)));
1249 typedef unsigned int u_int64_t
__attribute__ ((__mode__ (__DI__)));
1251 typedef int register_t
__attribute__ ((__mode__ (__word__)));
1252 # 194 "/usr/include/sys/types.h" 3 4 1253 # 1 "/usr/include/endian.h" 1 3 4 1254 # 36 "/usr/include/endian.h" 3 4 1255 # 1 "/usr/include/bits/endian.h" 1 3 4 1256 # 37 "/usr/include/endian.h" 2 3 4 1257 # 60 "/usr/include/endian.h" 3 4 1258 # 1 "/usr/include/bits/byteswap.h" 1 3 4 1259 # 34 "/usr/include/bits/byteswap.h" 3 4 1260 # 1 "/usr/include/bits/byteswap-16.h" 1 3 4 1261 # 35 "/usr/include/bits/byteswap.h" 2 3 4 1262 # 43 "/usr/include/bits/byteswap.h" 3 4 1263 static __inline
unsigned int 1264 __bswap_32 (
unsigned int __bsx)
1266 return __builtin_bswap32 (__bsx);
1268 # 74 "/usr/include/bits/byteswap.h" 3 4 1272 return __builtin_bswap64 (__bsx);
1274 # 61 "/usr/include/endian.h" 2 3 4 1275 # 1 "/usr/include/bits/uintn-identity.h" 1 3 4 1276 # 32 "/usr/include/bits/uintn-identity.h" 3 4 1294 # 62 "/usr/include/endian.h" 2 3 4 1295 # 195 "/usr/include/sys/types.h" 2 3 4 1298 # 1 "/usr/include/sys/select.h" 1 3 4 1299 # 30 "/usr/include/sys/select.h" 3 4 1300 # 1 "/usr/include/bits/select.h" 1 3 4 1301 # 31 "/usr/include/sys/select.h" 2 3 4 1304 # 1 "/usr/include/bits/types/sigset_t.h" 1 3 4 1308 # 1 "/usr/include/bits/types/__sigset_t.h" 1 3 4 1315 unsigned long int __val[(1024 / (8 *
sizeof (
unsigned long int)))];
1317 # 5 "/usr/include/bits/types/sigset_t.h" 2 3 4 1321 # 34 "/usr/include/sys/select.h" 2 3 4 1325 # 1 "/usr/include/bits/types/struct_timeval.h" 1 3 4 1338 # 38 "/usr/include/sys/select.h" 2 3 4 1340 # 1 "/usr/include/bits/types/struct_timespec.h" 1 3 4 1341 # 9 "/usr/include/bits/types/struct_timespec.h" 3 4 1347 # 40 "/usr/include/sys/select.h" 2 3 4 1358 # 59 "/usr/include/sys/select.h" 3 4 1378 # 91 "/usr/include/sys/select.h" 3 4 1380 # 101 "/usr/include/sys/select.h" 3 4 1381 extern int select (
int __nfds,
fd_set *__restrict __readfds,
1382 fd_set *__restrict __writefds,
1383 fd_set *__restrict __exceptfds,
1384 struct timeval *__restrict __timeout);
1385 # 113 "/usr/include/sys/select.h" 3 4 1386 extern int pselect (
int __nfds,
fd_set *__restrict __readfds,
1387 fd_set *__restrict __writefds,
1388 fd_set *__restrict __exceptfds,
1389 const struct timespec *__restrict __timeout,
1391 # 126 "/usr/include/sys/select.h" 3 4 1393 # 198 "/usr/include/sys/types.h" 2 3 4 1401 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 1402 # 41 "/usr/include/sys/sysmacros.h" 3 4 1403 # 1 "/usr/include/bits/sysmacros.h" 1 3 4 1404 # 42 "/usr/include/sys/sysmacros.h" 2 3 4 1405 # 71 "/usr/include/sys/sysmacros.h" 3 4 1411 # 85 "/usr/include/sys/sysmacros.h" 3 4 1413 # 206 "/usr/include/sys/types.h" 2 3 4 1436 # 254 "/usr/include/sys/types.h" 3 4 1437 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 1438 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 1439 # 1 "/usr/include/bits/thread-shared-types.h" 1 3 4 1440 # 77 "/usr/include/bits/thread-shared-types.h" 3 4 1441 # 1 "/usr/include/bits/pthreadtypes-arch.h" 1 3 4 1442 # 22 "/usr/include/bits/pthreadtypes-arch.h" 3 4 1443 # 1 "/usr/include/bits/wordsize.h" 1 3 4 1444 # 23 "/usr/include/bits/pthreadtypes-arch.h" 2 3 4 1445 # 51 "/usr/include/bits/pthreadtypes-arch.h" 3 4 1463 # 79 "/usr/include/bits/pthreadtypes-arch.h" 3 4 1465 # 78 "/usr/include/bits/thread-shared-types.h" 2 3 4 1470 typedef struct __pthread_internal_list
1475 # 118 "/usr/include/bits/thread-shared-types.h" 3 4 1483 # 148 "/usr/include/bits/thread-shared-types.h" 3 4 1492 # 165 "/usr/include/bits/thread-shared-types.h" 3 4 1525 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 1621 # 255 "/usr/include/sys/types.h" 2 3 4 1626 # 1 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/limits.h" 1 3 4 1627 # 34 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/limits.h" 3 4 1628 # 1 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/syslimits.h" 1 3 4 1635 # 1 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/limits.h" 1 3 4 1636 # 194 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/limits.h" 3 4 1637 # 1 "/usr/include/limits.h" 1 3 4 1638 # 26 "/usr/include/limits.h" 3 4 1639 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 1640 # 27 "/usr/include/limits.h" 2 3 4 1641 # 183 "/usr/include/limits.h" 3 4 1642 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4 1643 # 160 "/usr/include/bits/posix1_lim.h" 3 4 1644 # 1 "/usr/include/bits/local_lim.h" 1 3 4 1645 # 38 "/usr/include/bits/local_lim.h" 3 4 1646 # 1 "/usr/include/linux/limits.h" 1 3 4 1647 # 39 "/usr/include/bits/local_lim.h" 2 3 4 1648 # 161 "/usr/include/bits/posix1_lim.h" 2 3 4 1649 # 184 "/usr/include/limits.h" 2 3 4 1653 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4 1654 # 188 "/usr/include/limits.h" 2 3 4 1655 # 195 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/limits.h" 2 3 4 1656 # 8 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/syslimits.h" 2 3 4 1657 # 35 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/limits.h" 2 3 4 1659 # 1 "papiStdEventDefs.h" 1 1660 # 51 "papiStdEventDefs.h" 1662 # 51 "papiStdEventDefs.h" 1813 # 1 "/usr/include/signal.h" 1 3 4 1814 # 27 "/usr/include/signal.h" 3 4 1818 # 1 "/usr/include/bits/signum.h" 1 3 4 1819 # 26 "/usr/include/bits/signum.h" 3 4 1820 # 1 "/usr/include/bits/signum-generic.h" 1 3 4 1821 # 27 "/usr/include/bits/signum.h" 2 3 4 1822 # 31 "/usr/include/signal.h" 2 3 4 1824 # 1 "/usr/include/bits/types/sig_atomic_t.h" 1 3 4 1833 # 8 "/usr/include/bits/types/sig_atomic_t.h" 3 4 1835 # 33 "/usr/include/signal.h" 2 3 4 1836 # 57 "/usr/include/signal.h" 3 4 1837 # 1 "/usr/include/bits/types/siginfo_t.h" 1 3 4 1841 # 1 "/usr/include/bits/wordsize.h" 1 3 4 1842 # 5 "/usr/include/bits/types/siginfo_t.h" 2 3 4 1844 # 1 "/usr/include/bits/types/__sigval_t.h" 1 3 4 1845 # 24 "/usr/include/bits/types/__sigval_t.h" 3 4 1852 typedef union sigval __sigval_t;
1853 # 7 "/usr/include/bits/types/siginfo_t.h" 2 3 4 1854 # 16 "/usr/include/bits/types/siginfo_t.h" 3 4 1855 # 1 "/usr/include/bits/siginfo-arch.h" 1 3 4 1856 # 17 "/usr/include/bits/types/siginfo_t.h" 2 3 4 1857 # 36 "/usr/include/bits/types/siginfo_t.h" 3 4 1875 int _pad[((128 /
sizeof (int)) - 4)];
1897 __sigval_t si_sigval;
1947 # 58 "/usr/include/signal.h" 2 3 4 1948 # 1 "/usr/include/bits/siginfo-consts.h" 1 3 4 1949 # 35 "/usr/include/bits/siginfo-consts.h" 3 4 1967 # 63 "/usr/include/bits/siginfo-consts.h" 3 4 2041 # 151 "/usr/include/bits/siginfo-consts.h" 3 4 2074 # 59 "/usr/include/signal.h" 2 3 4 2078 # 1 "/usr/include/bits/types/sigval_t.h" 1 3 4 2079 # 16 "/usr/include/bits/types/sigval_t.h" 3 4 2081 # 63 "/usr/include/signal.h" 2 3 4 2085 # 1 "/usr/include/bits/types/sigevent_t.h" 1 3 4 2089 # 1 "/usr/include/bits/wordsize.h" 1 3 4 2090 # 5 "/usr/include/bits/types/sigevent_t.h" 2 3 4 2091 # 22 "/usr/include/bits/types/sigevent_t.h" 3 4 2092 typedef struct sigevent
2100 int _pad[((64 /
sizeof (int)) - 4)];
2108 void (*_function) (__sigval_t);
2113 # 67 "/usr/include/signal.h" 2 3 4 2114 # 1 "/usr/include/bits/sigevent-consts.h" 1 3 4 2115 # 27 "/usr/include/bits/sigevent-consts.h" 3 4 2129 # 68 "/usr/include/signal.h" 2 3 4 2141 # 88 "/usr/include/signal.h" 3 4 2144 # 112 "/usr/include/signal.h" 3 4 2167 extern void psignal (
int __sig,
const char *__s);
2171 # 170 "/usr/include/signal.h" 3 4 2179 # 190 "/usr/include/signal.h" 3 4 2198 extern int sigismember (
const sigset_t *__set,
int __signo)
2200 # 226 "/usr/include/signal.h" 3 4 2201 # 1 "/usr/include/bits/sigaction.h" 1 3 4 2202 # 24 "/usr/include/bits/sigaction.h" 3 4 2212 void (*sa_sigaction) (int,
siginfo_t *,
void *);
2214 __sigaction_handler;
2228 void (*sa_restorer) (void);
2230 # 227 "/usr/include/signal.h" 2 3 4 2256 extern int sigwait (
const sigset_t *__restrict __set,
int *__restrict __sig)
2275 const struct timespec *__restrict __timeout)
2282 # 286 "/usr/include/signal.h" 3 4 2288 # 1 "/usr/include/bits/sigcontext.h" 1 3 4 2289 # 30 "/usr/include/bits/sigcontext.h" 3 4 2290 # 1 "/usr/include/asm/sigcontext.h" 1 3 4 2291 # 12 "/usr/include/asm/sigcontext.h" 3 4 2292 # 1 "/usr/include/asm/ptrace.h" 1 3 4 2293 # 28 "/usr/include/asm/ptrace.h" 3 4 2294 # 1 "/usr/include/linux/types.h" 1 3 4 2299 # 1 "/usr/include/asm/types.h" 1 3 4 2300 # 26 "/usr/include/asm/types.h" 3 4 2301 # 1 "/usr/include/asm-generic/int-l64.h" 1 3 4 2302 # 12 "/usr/include/asm-generic/int-l64.h" 3 4 2303 # 1 "/usr/include/asm/bitsperlong.h" 1 3 4 2304 # 11 "/usr/include/asm/bitsperlong.h" 3 4 2305 # 1 "/usr/include/asm-generic/bitsperlong.h" 1 3 4 2306 # 12 "/usr/include/asm/bitsperlong.h" 2 3 4 2307 # 13 "/usr/include/asm-generic/int-l64.h" 2 3 4 2326 # 27 "/usr/include/asm/types.h" 2 3 4 2337 # 6 "/usr/include/linux/types.h" 2 3 4 2341 # 1 "/usr/include/linux/posix_types.h" 1 3 4 2346 # 1 "/usr/include/linux/stddef.h" 1 3 4 2347 # 6 "/usr/include/linux/posix_types.h" 2 3 4 2348 # 25 "/usr/include/linux/posix_types.h" 3 4 2350 unsigned long fds_bits[1024 / (8 *
sizeof(long))];
2360 # 1 "/usr/include/asm/posix_types.h" 1 3 4 2361 # 12 "/usr/include/asm/posix_types.h" 3 4 2363 # 24 "/usr/include/asm/posix_types.h" 3 4 2364 # 1 "/usr/include/asm-generic/posix_types.h" 1 3 4 2365 # 15 "/usr/include/asm-generic/posix_types.h" 3 4 2407 # 72 "/usr/include/asm-generic/posix_types.h" 3 4 2411 # 85 "/usr/include/asm-generic/posix_types.h" 3 4 2434 # 25 "/usr/include/asm/posix_types.h" 2 3 4 2435 # 37 "/usr/include/linux/posix_types.h" 2 3 4 2436 # 10 "/usr/include/linux/types.h" 2 3 4 2437 # 24 "/usr/include/linux/types.h" 3 4 2447 # 47 "/usr/include/linux/types.h" 3 4 2449 # 29 "/usr/include/asm/ptrace.h" 2 3 4 2476 # 201 "/usr/include/asm/ptrace.h" 3 4 2486 # 224 "/usr/include/asm/ptrace.h" 3 4 2496 # 13 "/usr/include/asm/sigcontext.h" 2 3 4 2498 # 1 "/usr/include/asm/elf.h" 1 3 4 2499 # 17 "/usr/include/asm/elf.h" 3 4 2500 # 1 "/usr/include/asm/cputable.h" 1 3 4 2501 # 18 "/usr/include/asm/elf.h" 2 3 4 2502 # 1 "/usr/include/asm/auxvec.h" 1 3 4 2503 # 19 "/usr/include/asm/elf.h" 2 3 4 2504 # 102 "/usr/include/asm/elf.h" 3 4 2511 # 119 "/usr/include/asm/elf.h" 3 4 2514 # 138 "/usr/include/asm/elf.h" 3 4 2517 # 160 "/usr/include/asm/elf.h" 3 4 2523 # 293 "/usr/include/asm/elf.h" 3 4 2529 # 15 "/usr/include/asm/sigcontext.h" 2 3 4 2544 # 83 "/usr/include/asm/sigcontext.h" 3 4 2549 # 31 "/usr/include/bits/sigcontext.h" 2 3 4 2553 # 1 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/stddef.h" 1 3 4 2554 # 35 "/usr/include/bits/sigcontext.h" 2 3 4 2555 # 292 "/usr/include/signal.h" 2 3 4 2565 # 1 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/stddef.h" 1 3 4 2566 # 302 "/usr/include/signal.h" 2 3 4 2568 # 1 "/usr/include/bits/types/stack_t.h" 1 3 4 2569 # 23 "/usr/include/bits/types/stack_t.h" 3 4 2570 # 1 "/usr/lib64/gcc/ppc64le-alt-linux/8/include/stddef.h" 1 3 4 2571 # 24 "/usr/include/bits/types/stack_t.h" 2 3 4 2580 # 304 "/usr/include/signal.h" 2 3 4 2583 # 1 "/usr/include/sys/ucontext.h" 1 3 4 2584 # 33 "/usr/include/sys/ucontext.h" 3 4 2586 # 93 "/usr/include/sys/ucontext.h" 3 4 2593 typedef struct _libc_vscr
2610 unsigned long __glibc_reserved[4];
2618 # 143 "/usr/include/sys/ucontext.h" 3 4 2620 long vmx_reserve[34 +34 +1];
2631 # 188 "/usr/include/sys/ucontext.h" 3 4 2636 # 307 "/usr/include/signal.h" 2 3 4 2646 # 1 "/usr/include/bits/sigstack.h" 1 3 4 2647 # 317 "/usr/include/signal.h" 2 3 4 2648 # 1 "/usr/include/bits/ss_flags.h" 1 3 4 2649 # 27 "/usr/include/bits/ss_flags.h" 3 4 2657 # 318 "/usr/include/signal.h" 2 3 4 2667 # 1 "/usr/include/bits/types/struct_sigstack.h" 1 3 4 2668 # 23 "/usr/include/bits/types/struct_sigstack.h" 3 4 2674 # 328 "/usr/include/signal.h" 2 3 4 2684 # 359 "/usr/include/signal.h" 3 4 2685 # 1 "/usr/include/bits/sigthread.h" 1 3 4 2686 # 31 "/usr/include/bits/sigthread.h" 3 4 2693 # 360 "/usr/include/signal.h" 2 3 4 2715 typedef struct _papi_all_thr_spec {
2722 long long overflow_vector,
void *context);
2736 typedef struct _papi_sprofil {
2747 typedef struct _papi_itimer_option {
2755 typedef struct _papi_inherit_option {
2761 typedef struct _papi_domain_option {
2768 typedef struct _papi_granularity_option {
2775 typedef struct _papi_preload_option {
2776 char lib_preload_env[128];
2777 char lib_preload_sep;
2778 char lib_dir_env[128];
2783 typedef struct _papi_component_option {
2785 char short_name[64];
2787 char description[128];
2789 char support_version[64];
2790 char kernel_version[64];
2791 char disabled_reason[128];
2796 int num_preset_events;
2799 int available_domains;
2800 int default_granularity;
2801 int available_granularities;
2802 int hardware_intr_sig;
2805 char *pmu_names[40];
2807 unsigned int hardware_intr:1;
2808 unsigned int precise_intr:1;
2809 unsigned int posix1b_timers:1;
2810 unsigned int kernel_profile:1;
2811 unsigned int kernel_multiplex:1;
2814 unsigned int fast_counter_read:1;
2815 unsigned int fast_real_timer:1;
2816 unsigned int fast_virtual_timer:1;
2818 unsigned int attach_must_ptrace:1;
2823 unsigned int cntr_umasks:1;
2830 unsigned int reserved_bits:12;
2834 typedef struct _papi_mpx_info {
2843 typedef struct _papi_debug_option {
2850 typedef struct _papi_address_map {
2862 typedef struct _papi_program_info {
2863 char fullname[1024];
2868 typedef struct _papi_shared_lib_info {
2876 typedef struct _papi_mh_tlb_info {
2884 typedef struct _papi_mh_cache_info {
2893 typedef struct _papi_mh_level_info {
2900 typedef struct _papi_mh_info {
2907 typedef struct _papi_hw_info {
2915 char vendor_string[128];
2917 char model_string[128];
2928 char virtual_vendor_string[128];
2930 char virtual_vendor_version[128];
2943 typedef struct _papi_attach_option {
2949 typedef struct _papi_cpu_option {
2951 unsigned int cpu_num;
2955 typedef struct _papi_multiplex_option {
2963 typedef struct _papi_addr_range_option {
2998 typedef struct _dmem_t {
3002 long long high_water_mark;
3052 unsigned int event_code;
3055 char short_descr[64];
3057 char long_descr[1024];
3062 int component_index;
3080 unsigned int event_type;
3091 unsigned int code[12];
3157 unsigned scale,
int EventSet,
int EventCode,
3199 int PAPI_flips(
float *rtime,
float *ptime,
long long * flpins,
float *mflips);
3200 int PAPI_flops(
float *rtime,
float *ptime,
long long * flpops,
float *mflops);
3201 int PAPI_ipc(
float *rtime,
float *ptime,
long long * ins,
float *ipc);
3202 int PAPI_epc(
int event,
float *rtime,
float *ptime,
long long *ref,
long long *core,
long long *evt,
float *epc);
3216 #pragma GCC visibility pop 3217 # 27 "papi_fwrappers.c" 2 3218 # 50 "papi_fwrappers.c" 3224 slen = Flen < clen ? Flen : clen;
3225 strncpy( cstring, Fstring, (
size_t ) slen );
3228 for (
i = slen - 1;
i > -1 && cstring[
i] ==
' '; cstring[
i--] =
'\0' );
3231 cstring[clen - 1] =
'\0';
3233 cstring[slen] =
'\0';
3235 # 78 "papi_fwrappers.c" 3241 # 94 "papi_fwrappers.c" 3247 # 111 "papi_fwrappers.c" 3255 # 136 "papi_fwrappers.c" 3261 # 152 "papi_fwrappers.c" 3267 # 168 "papi_fwrappers.c" 3273 # 184 "papi_fwrappers.c" 3279 # 200 "papi_fwrappers.c" 3285 # 217 "papi_fwrappers.c" 3291 # 237 "papi_fwrappers.c" 3292 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 )
3293 # 248 "papi_fwrappers.c" 3306 fullname[
i++] =
' ' );
3322 # 290 "papi_fwrappers.c" 3323 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 )
3324 # 316 "papi_fwrappers.c" 3330 # 320
"papi_fwrappers.c" 3 4
3332 # 320
"papi_fwrappers.c" 3342 *ncpu = hwinfo->
ncpu;
3343 *nnodes = hwinfo->
nnodes;
3345 *vendor = hwinfo->
vendor;
3346 *model = hwinfo->
model;
3350 strncpy( vendor_str, hwinfo->
vendor_string, (
size_t ) vendor_len );
3352 vendor_str[
i++] =
' ' );
3353 strncpy( model_str, hwinfo->
model_string, (
size_t ) model_len );
3355 model_str[
i++] =
' ' );
3366 # 365 "papi_fwrappers.c" 3371 # 381 "papi_fwrappers.c" 3377 # 397 "papi_fwrappers.c" 3382 # 412 "papi_fwrappers.c" 3387 # 427 "papi_fwrappers.c" 3392 # 442 "papi_fwrappers.c" 3397 # 457 "papi_fwrappers.c" 3402 # 472 "papi_fwrappers.c" 3407 # 487 "papi_fwrappers.c" 3412 # 502 "papi_fwrappers.c" 3417 # 517 "papi_fwrappers.c" 3422 # 532 "papi_fwrappers.c" 3435 # 556 "papi_fwrappers.c" 3441 # 572 "papi_fwrappers.c" 3447 # 588 "papi_fwrappers.c" 3452 # 603 "papi_fwrappers.c" 3458 # 619 "papi_fwrappers.c" 3464 # 636 "papi_fwrappers.c" 3482 # 672 "papi_fwrappers.c" 3488 # 689 "papi_fwrappers.c" 3496 # 717 "papi_fwrappers.c" 3497 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 )
3498 # 727 "papi_fwrappers.c" 3505 strncpy( symbol, info.
symbol, (
size_t ) symbol_len );
3506 for (
i = (
int ) strlen( info.
symbol );
i < symbol_len;
3507 symbol[
i++] =
' ' );
3508 strncpy( long_descr, info.
long_descr, (
size_t ) long_descr_len );
3509 for (
i = (
int ) strlen( info.
long_descr );
i < long_descr_len;
3510 long_descr[
i++] =
' ' );
3511 strncpy( short_descr, info.
short_descr, (
size_t ) short_descr_len );
3512 for (
i = (
int ) strlen( info.
short_descr );
i < short_descr_len;
3513 short_descr[
i++] =
' ' );
3519 strncpy( event_note, info.
note, (
size_t ) event_note_len );
3520 note_len=strlen(info.
note);
3522 for (
i = note_len;
i < event_note_len;
3523 event_note[
i++] =
' ' );
3525 # 766 "papi_fwrappers.c" 3527 # 779 "papi_fwrappers.c" 3540 strncpy( out_str,
tmp, (
size_t ) out_len );
3542 for (
i = (
int ) strlen(
tmp );
i < out_len; out_str[
i++] =
' ' );
3548 # 811 "papi_fwrappers.c" 3561 slen = in_len < 128 ? in_len : 128;
3562 strncpy( tmpin, in_str, (
size_t ) slen );
3565 for (
i = slen - 1;
i > -1 && tmpin[
i] ==
' '; tmpin[
i--] =
'\0' );
3568 tmpin[128 - 1] =
'\0';
3578 # 851 "papi_fwrappers.c" 3583 # 866 "papi_fwrappers.c" 3589 # 882 "papi_fwrappers.c" 3595 # 898 "papi_fwrappers.c" 3601 # 914 "papi_fwrappers.c" 3607 # 931 "papi_fwrappers.c" 3615 # 956 "papi_fwrappers.c" 3621 # 972 "papi_fwrappers.c" 3626 # 987 "papi_fwrappers.c" 3631 # 1002 "papi_fwrappers.c" 3636 # 1017 "papi_fwrappers.c" 3642 # 1033 "papi_fwrappers.c" 3648 # 1049 "papi_fwrappers.c" 3654 # 1065 "papi_fwrappers.c" 3659 # 1080 "papi_fwrappers.c" 3664 # 1095 "papi_fwrappers.c" 3670 # 1111 "papi_fwrappers.c" 3676 # 1127 "papi_fwrappers.c" 3682 # 1143 "papi_fwrappers.c" 3688 # 1159 "papi_fwrappers.c" 3694 # 1177 "papi_fwrappers.c" 3700 # 1193 "papi_fwrappers.c" 3706 # 1209 "papi_fwrappers.c" 3712 # 1225 "papi_fwrappers.c" 3718 # 1241 "papi_fwrappers.c" 3723 # 1256 "papi_fwrappers.c" 3730 # 1273 "papi_fwrappers.c" 3731 void papif_epc_ (
int event,
float *rtime,
float *ptime,
long long *ref,
long long *core,
long long *evt,
float *epc,
int *
check)
3736 *
check =
PAPI_epc( event, rtime, ptime, ref, core, evt, epc );
3738 # 1291 "papi_fwrappers.c" 3739 void papif_flips_ (
float *real_time,
float *proc_time,
long long *flpins,
float *mflips,
int *
check )
3745 # 1308 "papi_fwrappers.c" 3746 void papif_flops_ (
float *real_time,
float *proc_time,
long long *flpops,
float *mflops,
int *
check )
3752 # 1330 "papi_fwrappers.c" 3756 # 1332
"papi_fwrappers.c" 3 4
3758 # 1332
"papi_fwrappers.c" 3761 # 1348 "papi_fwrappers.c" 3775 (
size_t ) lib_preload_env_len );
3777 i < lib_preload_env_len; lib_preload_env[
i++] =
' ' );
3785 # 1382 "papi_fwrappers.c" 3794 }
else if ( *mode == 7 ) {
3803 # 1410 "papi_fwrappers.c" 3811 # 1416
"papi_fwrappers.c" 3 4
3813 # 1416
"papi_fwrappers.c" 3816 }
else if ( *mode == 5 ) {
3825 # 1450 "papi_fwrappers.c" 3835 # 1470 "papi_fwrappers.c" 3844 #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)
unsigned long gregset_t[48]
unsigned long int __rlim64_t
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)
void papif_start_(int *EventSet, int *check)
__extension__ long long int __align
unsigned int __writers_futex
signed long int __int64_t
const PAPI_component_info_t * PAPI_get_component_info(int cidx)
long long __kernel_loff_t
struct _IO_FILE_plus _IO_2_1_stdin_
int _IO_getc(_IO_FILE *__fp)
elf_gregset_t32 compat_elf_gregset_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)
int PAPI_set_cmp_granularity(int granularity, int cidx)
struct __pthread_cond_s::@25::@29 __wseq32
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)
unsigned int __g_signals[2]
int PAPI_disable_component_by_name(const char *name)
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)
long int __syscall_slong_t
struct ucontext_t * uc_link
long long PAPI_get_virt_cyc(void)
void papif_set_event_domain_(int *es, int *domain, int *check)
__kernel_gid_t __kernel_old_gid_t
elf_vrreg_t elf_vrregset_t32[33]
unsigned long int __u_quad_t
void papif_get_clockrate_(int *cr)
int PAPI_flops(float *rtime, float *ptime, long long *flpops, float *mflops)
unsigned int __useconds_t
void papif_remove_events_(int *EventSet, int *Events, int *number, int *check)
unsigned long int __dev_t
void papif_reset_(int *EventSet, int *check)
int PAPI_accum_counters(long long *values, int array_len)
void papif_unregister_thread_(int *check)
elf_greg_t32 elf_gregset_t32[48]
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)
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]
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)
unsigned long int __fsblkcnt64_t
__sighandler_t ssignal(int __sig, __sighandler_t __handler) __attribute__((__nothrow__
int PAPI_event_name_to_code(const char *in, int *out)
void papif_stop_counters_(long long *values, int *array_len, int *check)
__kernel_size_t __kernel_uapi_size_t
int PAPI_overflow(int EventSet, int EventCode, int threshold, int flags, PAPI_overflow_handler_t handler)
__kernel_long_t __kernel_ssize_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)
__kernel_long_t __kernel_time_t
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__
__kernel_uid_t __kernel_old_uid_t
__u32 num_instruction_bps
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 long __kernel_ulong_t
int PAPI_set_opt(int option, PAPI_option_t *ptr)
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)
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
void(* __kernel_sighandler_t)(int)
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)
unsigned long int __ino64_t
int PAPI_set_cmp_domain(int domain, int cidx)
void papif_register_thread_(int *check)
unsigned long __kernel_old_dev_t
int PAPI_disable_component(int cidx)
int PAPI_flips(float *rtime, float *ptime, long long *flpins, float *mflips)
unsigned int elf_greg_t32
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)
unsigned long int __nlink_t
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)
unsigned long elf_greg_t64
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)
__kernel_ulong_t __kernel_size_t
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)
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)
unsigned int __kernel_uid_t
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__
int PAPI_get_component_index(const char *name)
int __underflow(_IO_FILE *)
void papif_num_counters_(int *numevents)
int __io_close_fn(void *__cookie)
PAPI_address_map_t address_info
char symbol[PAPI_HUGE_STR_LEN]
unsigned long int __uintmax_t
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]
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
void papif_event_name_to_code_(char *in_str, int *out, int *check, int in_len)
elf_gregset_t64 elf_gregset_t
void papif_set_debug_(int *debug, int *check)
void _IO_flockfile(_IO_FILE *)
void papif_num_events_(int *EventCode, int *count)
int PAPI_num_hwctrs(void)
void papif_shutdown_(void)
unsigned long int __fsfilcnt64_t
unsigned long int __rlim_t
unsigned long int __syscall_ulong_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__
elf_fpreg_t elf_vsrreghalf_t32[32]
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)
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__
long vmx_reserve[34+34+1+32]
unsigned int __kernel_uid32_t
mh for mem hierarchy maybe?
__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
unsigned short int __u_short
void handler(int EventSet, void *address, long long overflow_vector, void *context)
void papif_flops_(float *real_time, float *proc_time, long long *flpops, float *mflops, int *check)
int PAPI_cleanup_eventset(int EventSet)
unsigned int __kernel_gid_t
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)
unsigned long int __ino_t
int PAPI_event_code_to_name(int EventCode, char *out)
unsigned char __rwelision
unsigned int gnu_dev_minor(__dev_t __dev) __attribute__((__nothrow__
elf_greg_t64 elf_gregset_t64[48]
void papif_unregster_thread_(int *check)
char vendor_string[PAPI_MAX_STR_LEN]
void papif_num_cmp_hwctrs_(int *cidx, int *num)
struct _IO_marker * _markers
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)
unsigned int vrregs[32][4]
void papif_is_initialized_(int *level)
int PAPI_get_overflow_event_index(int Eventset, long long overflow_vector, int *array, int *number)
elf_fpreg_t elf_fpregset_t[33]
int sigprocmask(int __how, const sigset_t *__restrict __set, sigset_t *__restrict __oset) __attribute__((__nothrow__
void papif_set_domain_(int *domain, int *check)
__kernel_long_t __kernel_ptrdiff_t
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__
__ssize_t __io_read_fn(void *__cookie, char *__buf, size_t __nbytes)
int pthread_kill(pthread_t __threadid, int __signo) __attribute__((__nothrow__
long long __kernel_time64_t
int PAPI_read_ts(int EventSet, long long *values, long long *cyc)
long long PAPI_get_real_usec(void)
int _IO_peekc_locked(_IO_FILE *__fp)
unsigned short __kernel_gid16_t
int PAPI_unregister_thread(void)
__kernel_ulong_t __kernel_ino_t
struct __pthread_internal_list * __next
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)
unsigned short __kernel_uid16_t
__extension__ unsigned long long int __g1_start
long long PAPI_get_real_nsec(void)
void papif_get_virt_usec_(long long *time)
__kernel_long_t __kernel_clock_t
__kernel_long_t __kernel_suseconds_t
int PAPI_num_counters(void)
int PAPI_start_counters(int *events, int array_len)
struct __pthread_internal_list * __prev
int data_type[MAX_EVENTS]
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
unsigned int __kernel_gid32_t
int PAPI_set_domain(int domain)
__sig_atomic_t sig_atomic_t
int PAPI_thread_init(unsigned long(*id_fn)(void))
struct _IO_marker * _next
int PAPI_attach(int EventSet, unsigned long tid)
unsigned long int __fsfilcnt_t
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)
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
void papif_destroy_eventset_(int *EventSet, int *check)
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
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)
unsigned long int __uint64_t
static const PAPI_hw_info_t * hw_info
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
__kernel_long_t __kernel_off_t
void psiginfo(const siginfo_t *__pinfo, const char *__s)
int PAPI_set_debug(int level)
setvbuf(file, file_buf, _IOFBF, sizeof(file_buf))
unsigned long int __fsblkcnt_t
static __inline __uint64_t __uint64_identity(__uint64_t __x)
char name[PAPI_HUGE_STR_LEN]
elf_vrreg_t elf_vrregset_t[34]
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)
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
unsigned int __kernel_mode_t