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 33 # 1 "/usr/include/gnu/stubs-lp64.h" 1 3 4 34 # 9 "/usr/include/gnu/stubs.h" 2 3 4 35 # 453 "/usr/include/features.h" 2 3 4 36 # 34 "/usr/include/bits/libc-header-start.h" 2 3 4 37 # 28 "/usr/include/stdio.h" 2 3 4 43 # 1 "/usr/lib64/gcc/aarch64-alt-linux/8/include/stddef.h" 1 3 4 44 # 216 "/usr/lib64/gcc/aarch64-alt-linux/8/include/stddef.h" 3 4 46 # 216 "/usr/lib64/gcc/aarch64-alt-linux/8/include/stddef.h" 3 4 48 # 34 "/usr/include/stdio.h" 2 3 4 50 # 1 "/usr/include/bits/types.h" 1 3 4 51 # 27 "/usr/include/bits/types.h" 3 4 52 # 1 "/usr/include/bits/wordsize.h" 1 3 4 53 # 28 "/usr/include/bits/types.h" 2 3 4 89 # 130 "/usr/include/bits/types.h" 3 4 90 # 1 "/usr/include/bits/typesizes.h" 1 3 4 91 # 131 "/usr/include/bits/types.h" 2 3 4 164 # 36 "/usr/include/stdio.h" 2 3 4 165 # 1 "/usr/include/bits/types/__FILE.h" 1 3 4 171 # 37 "/usr/include/stdio.h" 2 3 4 172 # 1 "/usr/include/bits/types/FILE.h" 1 3 4 180 # 38 "/usr/include/stdio.h" 2 3 4 184 # 1 "/usr/include/bits/libio.h" 1 3 4 185 # 35 "/usr/include/bits/libio.h" 3 4 186 # 1 "/usr/include/bits/_G_config.h" 1 3 4 187 # 19 "/usr/include/bits/_G_config.h" 3 4 188 # 1 "/usr/lib64/gcc/aarch64-alt-linux/8/include/stddef.h" 1 3 4 189 # 20 "/usr/include/bits/_G_config.h" 2 3 4 191 # 1 "/usr/include/bits/types/__mbstate_t.h" 1 3 4 192 # 13 "/usr/include/bits/types/__mbstate_t.h" 3 4 202 # 22 "/usr/include/bits/_G_config.h" 2 3 4 217 # 36 "/usr/include/bits/libio.h" 2 3 4 218 # 53 "/usr/include/bits/libio.h" 3 4 219 # 1 "/usr/lib64/gcc/aarch64-alt-linux/8/include/stdarg.h" 1 3 4 220 # 40 "/usr/lib64/gcc/aarch64-alt-linux/8/include/stdarg.h" 3 4 222 # 54 "/usr/include/bits/libio.h" 2 3 4 223 # 149 "/usr/include/bits/libio.h" 3 4 242 # 177 "/usr/include/bits/libio.h" 3 4 253 # 245 "/usr/include/bits/libio.h" 3 4 294 # 293 "/usr/include/bits/libio.h" 3 4 319 struct _IO_FILE_plus;
324 # 337 "/usr/include/bits/libio.h" 3 4 346 # 389 "/usr/include/bits/libio.h" 3 4 350 # 433 "/usr/include/bits/libio.h" 3 4 365 # 462 "/usr/include/bits/libio.h" 3 4 366 extern int _IO_vfscanf (
_IO_FILE * __restrict,
const char * __restrict,
368 extern int _IO_vfprintf (
_IO_FILE *__restrict,
const char *__restrict,
371 extern size_t _IO_sgetn (
_IO_FILE *,
void *,
size_t);
377 # 42 "/usr/include/stdio.h" 2 3 4 383 # 57 "/usr/include/stdio.h" 3 4 385 # 71 "/usr/include/stdio.h" 3 4 394 # 131 "/usr/include/stdio.h" 3 4 395 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 396 # 132 "/usr/include/stdio.h" 2 3 4 415 extern int renameat (
int __oldfd,
const char *__old,
int __newfd,
424 extern FILE *tmpfile (
void) ;
425 # 173 "/usr/include/stdio.h" 3 4 432 # 190 "/usr/include/stdio.h" 3 4 433 extern char *tempnam (
const char *__dir,
const char *__pfx)
442 extern int fclose (FILE *__stream);
447 extern int fflush (FILE *__stream);
448 # 213 "/usr/include/stdio.h" 3 4 449 extern int fflush_unlocked (FILE *__stream);
450 # 232 "/usr/include/stdio.h" 3 4 451 extern FILE *fopen (
const char *__restrict __filename,
452 const char *__restrict __modes) ;
457 extern FILE *freopen (
const char *__restrict __filename,
458 const char *__restrict __modes,
459 FILE *__restrict __stream) ;
460 # 265 "/usr/include/stdio.h" 3 4 462 # 278 "/usr/include/stdio.h" 3 4 463 extern FILE *fmemopen (
void *__s,
size_t __len,
const char *__modes)
469 extern FILE *open_memstream (
char **__bufloc,
size_t *__sizeloc)
__attribute__ ((__nothrow__ ,
__leaf__)) ;
475 extern void setbuf (FILE *__restrict __stream,
char *__restrict __buf)
__attribute__ ((__nothrow__ ,
__leaf__));
479 extern int setvbuf (FILE *__restrict __stream,
char *__restrict __buf,
485 extern void setbuffer (FILE *__restrict __stream,
char *__restrict __buf,
497 extern int fprintf (FILE *__restrict __stream,
498 const char *__restrict __format, ...);
503 extern int printf (
const char *__restrict __format, ...);
505 extern int sprintf (
char *__restrict __s,
506 const char *__restrict __format, ...)
__attribute__ ((__nothrow__));
512 extern
int vfprintf (FILE *__restrict __s, const
char *__restrict __format,
518 extern
int vprintf (const
char *__restrict __format,
__gnuc_va_list __arg);
520 extern
int vsprintf (
char *__restrict __s, const
char *__restrict __format,
525 extern
int snprintf (
char *__restrict __s,
size_t __maxlen,
526 const
char *__restrict __format, ...)
529 extern
int vsnprintf (
char *__restrict __s,
size_t __maxlen,
532 # 365 "/usr/include/stdio.h" 3 4 533 extern int vdprintf (
int __fd,
const char *__restrict __fmt,
536 extern int dprintf (
int __fd,
const char *__restrict __fmt, ...)
545 extern
int fscanf (FILE *__restrict __stream,
546 const
char *__restrict __format, ...) ;
551 extern
int scanf (const
char *__restrict __format, ...) ;
553 extern
int sscanf (const
char *__restrict __s,
555 # 395 "/usr/include/stdio.h" 3 4 556 extern int fscanf (FILE *__restrict __stream,
const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf")
559 extern
int scanf (const
char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf")
561 extern
int sscanf (const
char *__restrict __s, const
char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf")
__attribute__ ((__nothrow__ ,
__leaf__))
564 # 420 "/usr/include/stdio.h" 3 4 565 extern int vfscanf (FILE *__restrict __s,
const char *__restrict __format,
573 extern int vscanf (
const char *__restrict __format,
__gnuc_va_list __arg)
577 extern int vsscanf (
const char *__restrict __s,
580 # 443 "/usr/include/stdio.h" 3 4 581 extern int vfscanf (FILE *__restrict __s,
const char *__restrict __format,
__gnuc_va_list __arg) __asm__ (
"" "__isoc99_vfscanf")
586 extern
int vscanf (const
char *__restrict __format,
__gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf")
589 extern
int vsscanf (const
char *__restrict __s, const
char *__restrict __format,
__gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf")
__attribute__ ((__nothrow__ ,
__leaf__))
594 # 477 "/usr/include/stdio.h" 3 4 595 extern int fgetc (FILE *__stream);
596 extern int getc (FILE *__stream);
602 extern int getchar (
void);
603 # 495 "/usr/include/stdio.h" 3 4 604 extern int getc_unlocked (FILE *__stream);
605 extern int getchar_unlocked (
void);
606 # 506 "/usr/include/stdio.h" 3 4 607 extern int fgetc_unlocked (FILE *__stream);
608 # 517 "/usr/include/stdio.h" 3 4 609 extern int fputc (
int __c, FILE *__stream);
610 extern int putc (
int __c, FILE *__stream);
616 extern int putchar (
int __c);
617 # 537 "/usr/include/stdio.h" 3 4 618 extern int fputc_unlocked (
int __c, FILE *__stream);
626 extern int putc_unlocked (
int __c, FILE *__stream);
627 extern int putchar_unlocked (
int __c);
634 extern int getw (FILE *__stream);
637 extern int putw (
int __w, FILE *__stream);
645 extern char *fgets (
char *__restrict __s,
int __n, FILE *__restrict __stream)
647 # 603 "/usr/include/stdio.h" 3 4 648 extern __ssize_t __getdelim (
char **__restrict __lineptr,
649 size_t *__restrict __n,
int __delimiter,
650 FILE *__restrict __stream) ;
651 extern __ssize_t getdelim (
char **__restrict __lineptr,
652 size_t *__restrict __n,
int __delimiter,
653 FILE *__restrict __stream) ;
661 extern __ssize_t getline (
char **__restrict __lineptr,
662 size_t *__restrict __n,
663 FILE *__restrict __stream) ;
671 extern int fputs (
const char *__restrict __s, FILE *__restrict __stream);
677 extern int puts (
const char *__s);
684 extern int ungetc (
int __c, FILE *__stream);
691 extern size_t fread (
void *__restrict __ptr,
size_t __size,
692 size_t __n, FILE *__restrict __stream) ;
697 extern size_t fwrite (
const void *__restrict __ptr,
size_t __size,
698 size_t __n, FILE *__restrict __s);
699 # 673 "/usr/include/stdio.h" 3 4 700 extern size_t fread_unlocked (
void *__restrict __ptr,
size_t __size,
701 size_t __n, FILE *__restrict __stream) ;
702 extern size_t fwrite_unlocked (
const void *__restrict __ptr,
size_t __size,
703 size_t __n, FILE *__restrict __stream);
711 extern int fseek (FILE *__stream,
long int __off,
int __whence);
716 extern long int ftell (FILE *__stream) ;
721 extern void rewind (FILE *__stream);
722 # 707 "/usr/include/stdio.h" 3 4 723 extern int fseeko (FILE *__stream,
__off_t __off,
int __whence);
728 extern __off_t ftello (FILE *__stream) ;
729 # 731 "/usr/include/stdio.h" 3 4 730 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
735 extern int fsetpos (FILE *__stream,
const fpos_t *__pos);
736 # 757 "/usr/include/stdio.h" 3 4 755 extern void perror (
const char *__s);
761 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4 762 # 26 "/usr/include/bits/sys_errlist.h" 3 4 764 extern const char *
const sys_errlist[];
765 # 782 "/usr/include/stdio.h" 2 3 4 776 # 800 "/usr/include/stdio.h" 3 4 777 extern FILE *popen (
const char *__command,
const char *__modes) ;
783 extern int pclose (FILE *__stream);
790 # 840 "/usr/include/stdio.h" 3 4 799 # 868 "/usr/include/stdio.h" 3 4 801 # 24 "papi_fwrappers.c" 2 802 # 1 "/usr/include/assert.h" 1 3 4 803 # 64 "/usr/include/assert.h" 3 4 807 extern void __assert_fail (
const char *__assertion,
const char *__file,
808 unsigned int __line,
const char *__function)
812 extern void __assert_perror_fail (
int __errnum,
const char *__file,
813 unsigned int __line,
const char *__function)
819 extern void __assert (
const char *__assertion,
const char *__file,
int __line)
824 # 25 "papi_fwrappers.c" 2 825 # 1 "/usr/include/string.h" 1 3 4 826 # 26 "/usr/include/string.h" 3 4 827 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 828 # 27 "/usr/include/string.h" 2 3 4 835 # 1 "/usr/lib64/gcc/aarch64-alt-linux/8/include/stddef.h" 1 3 4 836 # 34 "/usr/include/string.h" 2 3 4 837 # 42 "/usr/include/string.h" 3 4 838 extern void *memcpy (
void *__restrict __dest,
const void *__restrict __src,
842 extern void *memmove (
void *__dest,
const void *__src,
size_t __n)
849 extern void *memccpy (
void *__restrict __dest,
const void *__restrict __src,
859 extern int memcmp (
const void *__s1,
const void *__s2,
size_t __n)
861 # 90 "/usr/include/string.h" 3 4 862 extern void *memchr (
const void *__s,
int __c,
size_t __n)
864 # 121 "/usr/include/string.h" 3 4 865 extern char *strcpy (
char *__restrict __dest,
const char *__restrict __src)
868 extern char *strncpy (
char *__restrict __dest,
869 const char *__restrict __src,
size_t __n)
873 extern char *strcat (
char *__restrict __dest,
const char *__restrict __src)
876 extern char *strncat (
char *__restrict __dest,
const char *__restrict __src,
880 extern int strcmp (
const char *__s1,
const char *__s2)
883 extern int strncmp (
const char *__s1,
const char *__s2,
size_t __n)
887 extern int strcoll (
const char *__s1,
const char *__s2)
890 extern size_t strxfrm (
char *__restrict __dest,
891 const char *__restrict __src,
size_t __n)
896 # 1 "/usr/include/bits/types/locale_t.h" 1 3 4 897 # 22 "/usr/include/bits/types/locale_t.h" 3 4 898 # 1 "/usr/include/bits/types/__locale_t.h" 1 3 4 899 # 28 "/usr/include/bits/types/__locale_t.h" 3 4 900 struct __locale_struct
903 struct __locale_data *__locales[13];
906 const unsigned short int *__ctype_b;
907 const int *__ctype_tolower;
908 const int *__ctype_toupper;
911 const char *__names[13];
915 # 23 "/usr/include/bits/types/locale_t.h" 2 3 4 918 # 153 "/usr/include/string.h" 2 3 4 925 extern
size_t strxfrm_l (
char *__dest, const
char *__src,
size_t __n,
932 extern
char *strdup (const
char *__s)
940 extern
char *strndup (const
char *__string,
size_t __n)
942 # 225 "/usr/include/string.h" 3 4 943 extern char *strchr (
const char *__s,
int __c)
945 # 252 "/usr/include/string.h" 3 4 946 extern char *strrchr (
const char *__s,
int __c)
948 # 272 "/usr/include/string.h" 3 4 949 extern size_t strcspn (
const char *__s,
const char *__reject)
953 extern size_t strspn (
const char *__s,
const char *__accept)
955 # 302 "/usr/include/string.h" 3 4 956 extern char *strpbrk (
const char *__s,
const char *__accept)
958 # 329 "/usr/include/string.h" 3 4 959 extern char *strstr (
const char *__haystack,
const char *__needle)
965 extern char *strtok (
char *__restrict __s,
const char *__restrict __delim)
970 extern char *__strtok_r (
char *__restrict __s,
971 const char *__restrict __delim,
972 char **__restrict __save_ptr)
975 extern char *strtok_r (
char *__restrict __s,
const char *__restrict __delim,
976 char **__restrict __save_ptr)
978 # 384 "/usr/include/string.h" 3 4 979 extern size_t strlen (
const char *__s)
985 extern size_t strnlen (
const char *__string,
size_t __maxlen)
992 # 409 "/usr/include/string.h" 3 4 993 extern int strerror_r (
int __errnum,
char *__buf,
size_t __buflen) __asm__ (
"" "__xpg_strerror_r")
__attribute__ ((__nothrow__ ,
__leaf__))
996 # 427 "/usr/include/string.h" 3 4 1001 # 1 "/usr/include/strings.h" 1 3 4 1002 # 23 "/usr/include/strings.h" 3 4 1003 # 1 "/usr/lib64/gcc/aarch64-alt-linux/8/include/stddef.h" 1 3 4 1004 # 24 "/usr/include/strings.h" 2 3 4 1015 extern int bcmp (
const void *__s1,
const void *__s2,
size_t __n)
1019 extern void bcopy (
const void *__src,
void *__dest,
size_t __n)
1024 # 68 "/usr/include/strings.h" 3 4 1025 extern char *index (
const char *__s,
int __c)
1027 # 96 "/usr/include/strings.h" 3 4 1028 extern char *rindex (
const char *__s,
int __c)
1043 __extension__
extern int ffsll (
long long int __ll)
1048 extern int strcasecmp (
const char *__s1,
const char *__s2)
1052 extern int strncasecmp (
const char *__s1,
const char *__s2,
size_t __n)
1060 extern int strcasecmp_l (
const char *__s1,
const char *__s2,
locale_t __loc)
1065 extern int strncasecmp_l (
const char *__s1,
const char *__s2,
1071 # 432 "/usr/include/string.h" 2 3 4 1079 extern char *strsep (
char **__restrict __stringp,
1080 const char *__restrict __delim)
1089 extern char *__stpcpy (
char *__restrict __dest,
const char *__restrict __src)
1091 extern char *stpcpy (
char *__restrict __dest,
const char *__restrict __src)
1096 extern char *__stpncpy (
char *__restrict __dest,
1097 const char *__restrict __src,
size_t __n)
1099 extern char *stpncpy (
char *__restrict __dest,
1100 const char *__restrict __src,
size_t __n)
1106 extern size_t strlcpy (
char *__restrict __dest,
1107 const char *__restrict __src,
size_t __n)
1112 extern size_t strlcat (
char *__restrict __dest,
1113 const char *__restrict __src,
size_t __n)
1115 # 511 "/usr/include/string.h" 3 4 1117 # 26 "papi_fwrappers.c" 2 1120 #pragma GCC visibility push(default) 1122 # 1 "/usr/include/sys/types.h" 1 3 4 1123 # 27 "/usr/include/sys/types.h" 3 4 1146 # 60 "/usr/include/sys/types.h" 3 4 1168 # 98 "/usr/include/sys/types.h" 3 4 1176 # 115 "/usr/include/sys/types.h" 3 4 1189 # 1 "/usr/include/bits/types/clock_t.h" 1 3 4 1197 # 128 "/usr/include/sys/types.h" 2 3 4 1199 # 1 "/usr/include/bits/types/clockid_t.h" 1 3 4 1207 # 130 "/usr/include/sys/types.h" 2 3 4 1208 # 1 "/usr/include/bits/types/time_t.h" 1 3 4 1216 # 131 "/usr/include/sys/types.h" 2 3 4 1217 # 1 "/usr/include/bits/types/timer_t.h" 1 3 4 1225 # 132 "/usr/include/sys/types.h" 2 3 4 1226 # 145 "/usr/include/sys/types.h" 3 4 1227 # 1 "/usr/lib64/gcc/aarch64-alt-linux/8/include/stddef.h" 1 3 4 1228 # 146 "/usr/include/sys/types.h" 2 3 4 1232 typedef unsigned long int ulong;
1233 typedef unsigned short int ushort;
1234 typedef unsigned int uint;
1239 # 1 "/usr/include/bits/stdint-intn.h" 1 3 4 1240 # 24 "/usr/include/bits/stdint-intn.h" 3 4 1245 # 157 "/usr/include/sys/types.h" 2 3 4 1246 # 178 "/usr/include/sys/types.h" 3 4 1247 typedef unsigned int u_int8_t
__attribute__ ((__mode__ (__QI__)));
1248 typedef unsigned int u_int16_t
__attribute__ ((__mode__ (__HI__)));
1249 typedef unsigned int u_int32_t
__attribute__ ((__mode__ (__SI__)));
1250 typedef unsigned int u_int64_t
__attribute__ ((__mode__ (__DI__)));
1252 typedef int register_t
__attribute__ ((__mode__ (__word__)));
1253 # 194 "/usr/include/sys/types.h" 3 4 1254 # 1 "/usr/include/endian.h" 1 3 4 1255 # 36 "/usr/include/endian.h" 3 4 1256 # 1 "/usr/include/bits/endian.h" 1 3 4 1257 # 37 "/usr/include/endian.h" 2 3 4 1258 # 60 "/usr/include/endian.h" 3 4 1259 # 1 "/usr/include/bits/byteswap.h" 1 3 4 1260 # 34 "/usr/include/bits/byteswap.h" 3 4 1261 # 1 "/usr/include/bits/byteswap-16.h" 1 3 4 1262 # 35 "/usr/include/bits/byteswap.h" 2 3 4 1263 # 43 "/usr/include/bits/byteswap.h" 3 4 1264 static __inline
unsigned int 1265 __bswap_32 (
unsigned int __bsx)
1267 return __builtin_bswap32 (__bsx);
1269 # 74 "/usr/include/bits/byteswap.h" 3 4 1273 return __builtin_bswap64 (__bsx);
1275 # 61 "/usr/include/endian.h" 2 3 4 1276 # 1 "/usr/include/bits/uintn-identity.h" 1 3 4 1277 # 32 "/usr/include/bits/uintn-identity.h" 3 4 1295 # 62 "/usr/include/endian.h" 2 3 4 1296 # 195 "/usr/include/sys/types.h" 2 3 4 1299 # 1 "/usr/include/sys/select.h" 1 3 4 1300 # 30 "/usr/include/sys/select.h" 3 4 1301 # 1 "/usr/include/bits/select.h" 1 3 4 1302 # 31 "/usr/include/sys/select.h" 2 3 4 1305 # 1 "/usr/include/bits/types/sigset_t.h" 1 3 4 1309 # 1 "/usr/include/bits/types/__sigset_t.h" 1 3 4 1316 unsigned long int __val[(1024 / (8 *
sizeof (
unsigned long int)))];
1318 # 5 "/usr/include/bits/types/sigset_t.h" 2 3 4 1322 # 34 "/usr/include/sys/select.h" 2 3 4 1326 # 1 "/usr/include/bits/types/struct_timeval.h" 1 3 4 1339 # 38 "/usr/include/sys/select.h" 2 3 4 1341 # 1 "/usr/include/bits/types/struct_timespec.h" 1 3 4 1342 # 9 "/usr/include/bits/types/struct_timespec.h" 3 4 1348 # 40 "/usr/include/sys/select.h" 2 3 4 1359 # 59 "/usr/include/sys/select.h" 3 4 1379 # 91 "/usr/include/sys/select.h" 3 4 1381 # 101 "/usr/include/sys/select.h" 3 4 1382 extern int select (
int __nfds,
fd_set *__restrict __readfds,
1383 fd_set *__restrict __writefds,
1384 fd_set *__restrict __exceptfds,
1385 struct timeval *__restrict __timeout);
1386 # 113 "/usr/include/sys/select.h" 3 4 1387 extern int pselect (
int __nfds,
fd_set *__restrict __readfds,
1388 fd_set *__restrict __writefds,
1389 fd_set *__restrict __exceptfds,
1390 const struct timespec *__restrict __timeout,
1392 # 126 "/usr/include/sys/select.h" 3 4 1394 # 198 "/usr/include/sys/types.h" 2 3 4 1402 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 1403 # 41 "/usr/include/sys/sysmacros.h" 3 4 1404 # 1 "/usr/include/bits/sysmacros.h" 1 3 4 1405 # 42 "/usr/include/sys/sysmacros.h" 2 3 4 1406 # 71 "/usr/include/sys/sysmacros.h" 3 4 1412 # 85 "/usr/include/sys/sysmacros.h" 3 4 1414 # 206 "/usr/include/sys/types.h" 2 3 4 1437 # 254 "/usr/include/sys/types.h" 3 4 1438 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 1439 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 1440 # 1 "/usr/include/bits/thread-shared-types.h" 1 3 4 1441 # 77 "/usr/include/bits/thread-shared-types.h" 3 4 1442 # 1 "/usr/include/bits/pthreadtypes-arch.h" 1 3 4 1443 # 54 "/usr/include/bits/pthreadtypes-arch.h" 3 4 1458 # 78 "/usr/include/bits/thread-shared-types.h" 2 3 4 1463 typedef struct __pthread_internal_list
1468 # 118 "/usr/include/bits/thread-shared-types.h" 3 4 1476 # 148 "/usr/include/bits/thread-shared-types.h" 3 4 1485 # 165 "/usr/include/bits/thread-shared-types.h" 3 4 1518 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 1614 # 255 "/usr/include/sys/types.h" 2 3 4 1619 # 1 "/usr/lib64/gcc/aarch64-alt-linux/8/include/limits.h" 1 3 4 1620 # 34 "/usr/lib64/gcc/aarch64-alt-linux/8/include/limits.h" 3 4 1621 # 1 "/usr/lib64/gcc/aarch64-alt-linux/8/include/syslimits.h" 1 3 4 1628 # 1 "/usr/lib64/gcc/aarch64-alt-linux/8/include/limits.h" 1 3 4 1629 # 194 "/usr/lib64/gcc/aarch64-alt-linux/8/include/limits.h" 3 4 1630 # 1 "/usr/include/limits.h" 1 3 4 1631 # 26 "/usr/include/limits.h" 3 4 1632 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 1633 # 27 "/usr/include/limits.h" 2 3 4 1634 # 183 "/usr/include/limits.h" 3 4 1635 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4 1636 # 160 "/usr/include/bits/posix1_lim.h" 3 4 1637 # 1 "/usr/include/bits/local_lim.h" 1 3 4 1638 # 39 "/usr/include/bits/local_lim.h" 3 4 1639 # 1 "/usr/include/linux/limits.h" 1 3 4 1640 # 40 "/usr/include/bits/local_lim.h" 2 3 4 1641 # 161 "/usr/include/bits/posix1_lim.h" 2 3 4 1642 # 184 "/usr/include/limits.h" 2 3 4 1646 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4 1647 # 188 "/usr/include/limits.h" 2 3 4 1648 # 195 "/usr/lib64/gcc/aarch64-alt-linux/8/include/limits.h" 2 3 4 1649 # 8 "/usr/lib64/gcc/aarch64-alt-linux/8/include/syslimits.h" 2 3 4 1650 # 35 "/usr/lib64/gcc/aarch64-alt-linux/8/include/limits.h" 2 3 4 1652 # 1 "papiStdEventDefs.h" 1 1653 # 51 "papiStdEventDefs.h" 1655 # 51 "papiStdEventDefs.h" 1806 # 1 "/usr/include/signal.h" 1 3 4 1807 # 27 "/usr/include/signal.h" 3 4 1811 # 1 "/usr/include/bits/signum.h" 1 3 4 1812 # 26 "/usr/include/bits/signum.h" 3 4 1813 # 1 "/usr/include/bits/signum-generic.h" 1 3 4 1814 # 27 "/usr/include/bits/signum.h" 2 3 4 1815 # 31 "/usr/include/signal.h" 2 3 4 1817 # 1 "/usr/include/bits/types/sig_atomic_t.h" 1 3 4 1826 # 8 "/usr/include/bits/types/sig_atomic_t.h" 3 4 1828 # 33 "/usr/include/signal.h" 2 3 4 1829 # 57 "/usr/include/signal.h" 3 4 1830 # 1 "/usr/include/bits/types/siginfo_t.h" 1 3 4 1834 # 1 "/usr/include/bits/wordsize.h" 1 3 4 1835 # 5 "/usr/include/bits/types/siginfo_t.h" 2 3 4 1837 # 1 "/usr/include/bits/types/__sigval_t.h" 1 3 4 1838 # 24 "/usr/include/bits/types/__sigval_t.h" 3 4 1845 typedef union sigval __sigval_t;
1846 # 7 "/usr/include/bits/types/siginfo_t.h" 2 3 4 1847 # 16 "/usr/include/bits/types/siginfo_t.h" 3 4 1848 # 1 "/usr/include/bits/siginfo-arch.h" 1 3 4 1849 # 17 "/usr/include/bits/types/siginfo_t.h" 2 3 4 1850 # 36 "/usr/include/bits/types/siginfo_t.h" 3 4 1868 int _pad[((128 /
sizeof (int)) - 4)];
1890 __sigval_t si_sigval;
1940 # 58 "/usr/include/signal.h" 2 3 4 1941 # 1 "/usr/include/bits/siginfo-consts.h" 1 3 4 1942 # 35 "/usr/include/bits/siginfo-consts.h" 3 4 1960 # 63 "/usr/include/bits/siginfo-consts.h" 3 4 2034 # 151 "/usr/include/bits/siginfo-consts.h" 3 4 2067 # 59 "/usr/include/signal.h" 2 3 4 2071 # 1 "/usr/include/bits/types/sigval_t.h" 1 3 4 2072 # 16 "/usr/include/bits/types/sigval_t.h" 3 4 2074 # 63 "/usr/include/signal.h" 2 3 4 2078 # 1 "/usr/include/bits/types/sigevent_t.h" 1 3 4 2082 # 1 "/usr/include/bits/wordsize.h" 1 3 4 2083 # 5 "/usr/include/bits/types/sigevent_t.h" 2 3 4 2084 # 22 "/usr/include/bits/types/sigevent_t.h" 3 4 2085 typedef struct sigevent
2093 int _pad[((64 /
sizeof (int)) - 4)];
2101 void (*_function) (__sigval_t);
2106 # 67 "/usr/include/signal.h" 2 3 4 2107 # 1 "/usr/include/bits/sigevent-consts.h" 1 3 4 2108 # 27 "/usr/include/bits/sigevent-consts.h" 3 4 2122 # 68 "/usr/include/signal.h" 2 3 4 2134 # 88 "/usr/include/signal.h" 3 4 2137 # 112 "/usr/include/signal.h" 3 4 2160 extern void psignal (
int __sig,
const char *__s);
2164 # 170 "/usr/include/signal.h" 3 4 2172 # 190 "/usr/include/signal.h" 3 4 2191 extern int sigismember (
const sigset_t *__set,
int __signo)
2193 # 226 "/usr/include/signal.h" 3 4 2194 # 1 "/usr/include/bits/sigaction.h" 1 3 4 2195 # 24 "/usr/include/bits/sigaction.h" 3 4 2205 void (*sa_sigaction) (int,
siginfo_t *,
void *);
2207 __sigaction_handler;
2221 void (*sa_restorer) (void);
2223 # 227 "/usr/include/signal.h" 2 3 4 2249 extern int sigwait (
const sigset_t *__restrict __set,
int *__restrict __sig)
2268 const struct timespec *__restrict __timeout)
2275 # 286 "/usr/include/signal.h" 3 4 2281 # 1 "/usr/include/bits/sigcontext.h" 1 3 4 2282 # 30 "/usr/include/bits/sigcontext.h" 3 4 2283 # 1 "/usr/include/asm/sigcontext.h" 1 3 4 2284 # 22 "/usr/include/asm/sigcontext.h" 3 4 2285 # 1 "/usr/include/linux/types.h" 1 3 4 2290 # 1 "/usr/include/asm/types.h" 1 3 4 2291 # 1 "/usr/include/asm-generic/types.h" 1 3 4 2298 # 1 "/usr/include/asm-generic/int-ll64.h" 1 3 4 2299 # 12 "/usr/include/asm-generic/int-ll64.h" 3 4 2300 # 1 "/usr/include/asm/bitsperlong.h" 1 3 4 2301 # 22 "/usr/include/asm/bitsperlong.h" 3 4 2302 # 1 "/usr/include/asm-generic/bitsperlong.h" 1 3 4 2303 # 23 "/usr/include/asm/bitsperlong.h" 2 3 4 2304 # 13 "/usr/include/asm-generic/int-ll64.h" 2 3 4 2322 __extension__
typedef __signed__
long long __s64;
2323 __extension__
typedef unsigned long long __u64;
2324 # 8 "/usr/include/asm-generic/types.h" 2 3 4 2325 # 1 "/usr/include/asm/types.h" 2 3 4 2326 # 6 "/usr/include/linux/types.h" 2 3 4 2330 # 1 "/usr/include/linux/posix_types.h" 1 3 4 2335 # 1 "/usr/include/linux/stddef.h" 1 3 4 2336 # 6 "/usr/include/linux/posix_types.h" 2 3 4 2337 # 25 "/usr/include/linux/posix_types.h" 3 4 2339 unsigned long fds_bits[1024 / (8 *
sizeof(long))];
2349 # 1 "/usr/include/asm/posix_types.h" 1 3 4 2358 # 1 "/usr/include/asm-generic/posix_types.h" 1 3 4 2359 # 15 "/usr/include/asm-generic/posix_types.h" 3 4 2396 # 59 "/usr/include/asm-generic/posix_types.h" 3 4 2398 # 72 "/usr/include/asm-generic/posix_types.h" 3 4 2402 # 85 "/usr/include/asm-generic/posix_types.h" 3 4 2425 # 10 "/usr/include/asm/posix_types.h" 2 3 4 2426 # 37 "/usr/include/linux/posix_types.h" 2 3 4 2427 # 10 "/usr/include/linux/types.h" 2 3 4 2428 # 24 "/usr/include/linux/types.h" 3 4 2438 # 47 "/usr/include/linux/types.h" 3 4 2440 # 23 "/usr/include/asm/sigcontext.h" 2 3 4 2456 # 66 "/usr/include/asm/sigcontext.h" 3 4 2478 # 116 "/usr/include/asm/sigcontext.h" 3 4 2496 # 1 "/usr/include/asm/sve_context.h" 1 3 4 2497 # 134 "/usr/include/asm/sigcontext.h" 2 3 4 2498 # 31 "/usr/include/bits/sigcontext.h" 2 3 4 2502 # 1 "/usr/lib64/gcc/aarch64-alt-linux/8/include/stddef.h" 1 3 4 2503 # 35 "/usr/include/bits/sigcontext.h" 2 3 4 2504 # 292 "/usr/include/signal.h" 2 3 4 2514 # 1 "/usr/lib64/gcc/aarch64-alt-linux/8/include/stddef.h" 1 3 4 2515 # 302 "/usr/include/signal.h" 2 3 4 2517 # 1 "/usr/include/bits/types/stack_t.h" 1 3 4 2518 # 23 "/usr/include/bits/types/stack_t.h" 3 4 2519 # 1 "/usr/lib64/gcc/aarch64-alt-linux/8/include/stddef.h" 1 3 4 2520 # 24 "/usr/include/bits/types/stack_t.h" 2 3 4 2529 # 304 "/usr/include/signal.h" 2 3 4 2532 # 1 "/usr/include/sys/ucontext.h" 1 3 4 2533 # 36 "/usr/include/sys/ucontext.h" 3 4 2534 # 1 "/usr/include/sys/procfs.h" 1 3 4 2535 # 32 "/usr/include/sys/procfs.h" 3 4 2536 # 1 "/usr/include/sys/time.h" 1 3 4 2537 # 34 "/usr/include/sys/time.h" 3 4 2539 # 52 "/usr/include/sys/time.h" 3 4 2546 typedef struct timezone *__restrict __timezone_ptr_t;
2547 # 68 "/usr/include/sys/time.h" 3 4 2609 const struct itimerval *__restrict __new,
2615 extern int utimes (
const char *__file,
const struct timeval __tvp[2])
2620 extern int lutimes (
const char *__file,
const struct timeval __tvp[2])
2625 # 186 "/usr/include/sys/time.h" 3 4 2627 # 33 "/usr/include/sys/procfs.h" 2 3 4 2629 # 1 "/usr/include/sys/user.h" 1 3 4 2630 # 22 "/usr/include/sys/user.h" 3 4 2645 # 35 "/usr/include/sys/procfs.h" 2 3 4 2669 # 66 "/usr/include/sys/procfs.h" 3 4 2726 # 37 "/usr/include/sys/ucontext.h" 2 3 4 2745 unsigned long long int regs[31];
2746 unsigned long long int sp;
2747 unsigned long long int pc;
2753 unsigned char __reserved[4096]
__attribute__ ((__aligned__ (16)));
2765 # 307 "/usr/include/signal.h" 2 3 4 2775 # 1 "/usr/include/bits/sigstack.h" 1 3 4 2776 # 317 "/usr/include/signal.h" 2 3 4 2777 # 1 "/usr/include/bits/ss_flags.h" 1 3 4 2778 # 27 "/usr/include/bits/ss_flags.h" 3 4 2786 # 318 "/usr/include/signal.h" 2 3 4 2796 # 1 "/usr/include/bits/types/struct_sigstack.h" 1 3 4 2797 # 23 "/usr/include/bits/types/struct_sigstack.h" 3 4 2803 # 328 "/usr/include/signal.h" 2 3 4 2813 # 359 "/usr/include/signal.h" 3 4 2814 # 1 "/usr/include/bits/sigthread.h" 1 3 4 2815 # 31 "/usr/include/bits/sigthread.h" 3 4 2822 # 360 "/usr/include/signal.h" 2 3 4 2844 typedef struct _papi_all_thr_spec {
2851 long long overflow_vector,
void *context);
2865 typedef struct _papi_sprofil {
2876 typedef struct _papi_itimer_option {
2884 typedef struct _papi_inherit_option {
2890 typedef struct _papi_domain_option {
2897 typedef struct _papi_granularity_option {
2904 typedef struct _papi_preload_option {
2905 char lib_preload_env[128];
2906 char lib_preload_sep;
2907 char lib_dir_env[128];
2912 typedef struct _papi_component_option {
2914 char short_name[64];
2916 char description[128];
2918 char support_version[64];
2919 char kernel_version[64];
2920 char disabled_reason[128];
2925 int num_preset_events;
2928 int available_domains;
2929 int default_granularity;
2930 int available_granularities;
2931 int hardware_intr_sig;
2934 char *pmu_names[40];
2936 unsigned int hardware_intr:1;
2937 unsigned int precise_intr:1;
2938 unsigned int posix1b_timers:1;
2939 unsigned int kernel_profile:1;
2940 unsigned int kernel_multiplex:1;
2943 unsigned int fast_counter_read:1;
2944 unsigned int fast_real_timer:1;
2945 unsigned int fast_virtual_timer:1;
2947 unsigned int attach_must_ptrace:1;
2952 unsigned int cntr_umasks:1;
2959 unsigned int reserved_bits:12;
2963 typedef struct _papi_mpx_info {
2972 typedef struct _papi_debug_option {
2979 typedef struct _papi_address_map {
2991 typedef struct _papi_program_info {
2992 char fullname[1024];
2997 typedef struct _papi_shared_lib_info {
3005 typedef struct _papi_mh_tlb_info {
3013 typedef struct _papi_mh_cache_info {
3022 typedef struct _papi_mh_level_info {
3029 typedef struct _papi_mh_info {
3036 typedef struct _papi_hw_info {
3044 char vendor_string[128];
3046 char model_string[128];
3057 char virtual_vendor_string[128];
3059 char virtual_vendor_version[128];
3072 typedef struct _papi_attach_option {
3078 typedef struct _papi_cpu_option {
3080 unsigned int cpu_num;
3084 typedef struct _papi_multiplex_option {
3092 typedef struct _papi_addr_range_option {
3127 typedef struct _dmem_t {
3131 long long high_water_mark;
3181 unsigned int event_code;
3184 char short_descr[64];
3186 char long_descr[1024];
3191 int component_index;
3209 unsigned int event_type;
3220 unsigned int code[12];
3286 unsigned scale,
int EventSet,
int EventCode,
3328 int PAPI_flips(
float *rtime,
float *ptime,
long long * flpins,
float *mflips);
3329 int PAPI_flops(
float *rtime,
float *ptime,
long long * flpops,
float *mflops);
3330 int PAPI_ipc(
float *rtime,
float *ptime,
long long * ins,
float *ipc);
3331 int PAPI_epc(
int event,
float *rtime,
float *ptime,
long long *ref,
long long *core,
long long *evt,
float *epc);
3345 #pragma GCC visibility pop 3346 # 27 "papi_fwrappers.c" 2 3347 # 50 "papi_fwrappers.c" 3353 slen = Flen < clen ? Flen : clen;
3354 strncpy( cstring, Fstring, (
size_t ) slen );
3357 for (
i = slen - 1;
i > -1 && cstring[
i] ==
' '; cstring[
i--] =
'\0' );
3360 cstring[clen - 1] =
'\0';
3362 cstring[slen] =
'\0';
3364 # 78 "papi_fwrappers.c" 3370 # 94 "papi_fwrappers.c" 3376 # 111 "papi_fwrappers.c" 3384 # 136 "papi_fwrappers.c" 3390 # 152 "papi_fwrappers.c" 3396 # 168 "papi_fwrappers.c" 3402 # 184 "papi_fwrappers.c" 3408 # 200 "papi_fwrappers.c" 3414 # 217 "papi_fwrappers.c" 3420 # 237 "papi_fwrappers.c" 3421 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 )
3422 # 248 "papi_fwrappers.c" 3435 fullname[
i++] =
' ' );
3451 # 290 "papi_fwrappers.c" 3452 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 )
3453 # 316 "papi_fwrappers.c" 3459 # 320
"papi_fwrappers.c" 3 4
3461 # 320
"papi_fwrappers.c" 3471 *ncpu = hwinfo->
ncpu;
3472 *nnodes = hwinfo->
nnodes;
3474 *vendor = hwinfo->
vendor;
3475 *model = hwinfo->
model;
3479 strncpy( vendor_str, hwinfo->
vendor_string, (
size_t ) vendor_len );
3481 vendor_str[
i++] =
' ' );
3482 strncpy( model_str, hwinfo->
model_string, (
size_t ) model_len );
3484 model_str[
i++] =
' ' );
3495 # 365 "papi_fwrappers.c" 3500 # 381 "papi_fwrappers.c" 3506 # 397 "papi_fwrappers.c" 3511 # 412 "papi_fwrappers.c" 3516 # 427 "papi_fwrappers.c" 3521 # 442 "papi_fwrappers.c" 3526 # 457 "papi_fwrappers.c" 3531 # 472 "papi_fwrappers.c" 3536 # 487 "papi_fwrappers.c" 3541 # 502 "papi_fwrappers.c" 3546 # 517 "papi_fwrappers.c" 3551 # 532 "papi_fwrappers.c" 3564 # 556 "papi_fwrappers.c" 3570 # 572 "papi_fwrappers.c" 3576 # 588 "papi_fwrappers.c" 3581 # 603 "papi_fwrappers.c" 3587 # 619 "papi_fwrappers.c" 3593 # 636 "papi_fwrappers.c" 3611 # 672 "papi_fwrappers.c" 3617 # 689 "papi_fwrappers.c" 3625 # 717 "papi_fwrappers.c" 3626 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 )
3627 # 727 "papi_fwrappers.c" 3634 strncpy( symbol, info.
symbol, (
size_t ) symbol_len );
3635 for (
i = (
int ) strlen( info.
symbol );
i < symbol_len;
3636 symbol[
i++] =
' ' );
3637 strncpy( long_descr, info.
long_descr, (
size_t ) long_descr_len );
3638 for (
i = (
int ) strlen( info.
long_descr );
i < long_descr_len;
3639 long_descr[
i++] =
' ' );
3640 strncpy( short_descr, info.
short_descr, (
size_t ) short_descr_len );
3641 for (
i = (
int ) strlen( info.
short_descr );
i < short_descr_len;
3642 short_descr[
i++] =
' ' );
3648 strncpy( event_note, info.
note, (
size_t ) event_note_len );
3649 note_len=strlen(info.
note);
3651 for (
i = note_len;
i < event_note_len;
3652 event_note[
i++] =
' ' );
3654 # 766 "papi_fwrappers.c" 3656 # 779 "papi_fwrappers.c" 3669 strncpy( out_str,
tmp, (
size_t ) out_len );
3671 for (
i = (
int ) strlen(
tmp );
i < out_len; out_str[
i++] =
' ' );
3677 # 811 "papi_fwrappers.c" 3690 slen = in_len < 128 ? in_len : 128;
3691 strncpy( tmpin, in_str, (
size_t ) slen );
3694 for (
i = slen - 1;
i > -1 && tmpin[
i] ==
' '; tmpin[
i--] =
'\0' );
3697 tmpin[128 - 1] =
'\0';
3707 # 851 "papi_fwrappers.c" 3712 # 866 "papi_fwrappers.c" 3718 # 882 "papi_fwrappers.c" 3724 # 898 "papi_fwrappers.c" 3730 # 914 "papi_fwrappers.c" 3736 # 931 "papi_fwrappers.c" 3744 # 956 "papi_fwrappers.c" 3750 # 972 "papi_fwrappers.c" 3755 # 987 "papi_fwrappers.c" 3760 # 1002 "papi_fwrappers.c" 3765 # 1017 "papi_fwrappers.c" 3771 # 1033 "papi_fwrappers.c" 3777 # 1049 "papi_fwrappers.c" 3783 # 1065 "papi_fwrappers.c" 3788 # 1080 "papi_fwrappers.c" 3793 # 1095 "papi_fwrappers.c" 3799 # 1111 "papi_fwrappers.c" 3805 # 1127 "papi_fwrappers.c" 3811 # 1143 "papi_fwrappers.c" 3817 # 1159 "papi_fwrappers.c" 3823 # 1177 "papi_fwrappers.c" 3829 # 1193 "papi_fwrappers.c" 3835 # 1209 "papi_fwrappers.c" 3841 # 1225 "papi_fwrappers.c" 3847 # 1241 "papi_fwrappers.c" 3852 # 1256 "papi_fwrappers.c" 3859 # 1273 "papi_fwrappers.c" 3860 void papif_epc_ (
int event,
float *rtime,
float *ptime,
long long *ref,
long long *core,
long long *evt,
float *epc,
int *
check)
3865 *
check =
PAPI_epc( event, rtime, ptime, ref, core, evt, epc );
3867 # 1291 "papi_fwrappers.c" 3868 void papif_flips_ (
float *real_time,
float *proc_time,
long long *flpins,
float *mflips,
int *
check )
3874 # 1308 "papi_fwrappers.c" 3875 void papif_flops_ (
float *real_time,
float *proc_time,
long long *flpops,
float *mflops,
int *
check )
3881 # 1330 "papi_fwrappers.c" 3885 # 1332
"papi_fwrappers.c" 3 4
3887 # 1332
"papi_fwrappers.c" 3890 # 1348 "papi_fwrappers.c" 3904 (
size_t ) lib_preload_env_len );
3906 i < lib_preload_env_len; lib_preload_env[
i++] =
' ' );
3914 # 1382 "papi_fwrappers.c" 3923 }
else if ( *mode == 7 ) {
3932 # 1410 "papi_fwrappers.c" 3940 # 1416
"papi_fwrappers.c" 3 4
3942 # 1416
"papi_fwrappers.c" 3945 }
else if ( *mode == 5 ) {
3954 # 1450 "papi_fwrappers.c" 3964 # 1470 "papi_fwrappers.c" 3973 #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 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)
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 utimes(const char *__file, const struct timeval __tvp[2]) __attribute__((__nothrow__
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)
unsigned short __kernel_old_uid_t
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
elf_fpregset_t prfpregset_t
long long PAPI_get_virt_cyc(void)
void papif_set_event_domain_(int *es, int *domain, int *check)
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)
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
elf_gregset_t prgregset_t
int __libc_current_sigrtmin(void)
int PAPI_detach(int EventSet)
int settimeofday(const struct timeval *__tv, const struct timezone *__tz) __attribute__((__nothrow__
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 lutimes(const char *__file, const struct timeval __tvp[2]) __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__
int gettimeofday(struct timeval *__restrict __tv, __timezone_ptr_t __tz) __attribute__((__nothrow__
void papif_set_cmp_domain_(int *domain, int *cidx, int *check)
void papif_num_hwctrs_(int *num)
pthread_attr_t * _attribute
unsigned long long int fault_address
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)
unsigned long long int pstate
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
unsigned long int pr_sigpend
void(* __kernel_sighandler_t)(int)
int sigsetmask(int __mask) __attribute__((__nothrow__
unsigned long long int sp
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)
int PAPI_disable_component(int cidx)
int PAPI_flips(float *rtime, float *ptime, long long *flpins, float *mflips)
int futimes(int __fd, const struct timeval __tvp[2]) __attribute__((__nothrow__
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
unsigned int __kernel_old_dev_t
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)
elf_fpregset_t fpregset_t
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
unsigned long long pstate
__extension__ typedef unsigned long long __u64
__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)
void papif_read_(int *EventSet, long long *values, int *check)
unsigned long int pr_flag
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 getitimer(__itimer_which_t __which, struct itimerval *__value) __attribute__((__nothrow__
int PAPI_stop_counters(long long *values, int array_len)
unsigned long long regs[31]
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)
__u8 __reserved [4096] __attribute__((__aligned__(16)))
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)
elf_greg_t elf_gregset_t[(sizeof(struct user_regs_struct)/sizeof(elf_greg_t))]
int PAPI_state(int EventSet, int *status)
char model_string[PAPI_MAX_STR_LEN]
int __leaf__ __attribute__((__pure__))
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)
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)]
__extension__ typedef __signed__ long long __s64
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 adjtime(const struct timeval *__delta, struct timeval *__olddelta) __attribute__((__nothrow__
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__
address range specification for range restricted counting if both are zero, range is disabled
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__
unsigned short __kernel_old_gid_t
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 int gnu_dev_minor(__dev_t __dev) __attribute__((__nothrow__
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)
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)
__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 setitimer(__itimer_which_t __which, const struct itimerval *__restrict __new, struct itimerval *__restrict __old) __attribute__((__nothrow__
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)
struct timeval it_interval
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))
unsigned long long int pc
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)
unsigned long int pr_sighold
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]
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)
struct elf_siginfo pr_info
int PAPI_get_eventset_component(int EventSet)
unsigned long int __u_long
unsigned int __kernel_mode_t