PAPI  5.7.0.0
papi_fwrappers__.c
Go to the documentation of this file.
1 # 1 "papi_fwrappers.c"
2 # 1 "<built-in>"
3 # 1 "<command-line>"
4 # 1 "/usr/include/stdc-predef.h" 1 3 4
5 # 1 "<command-line>" 2
6 # 1 "papi_fwrappers.c"
7 # 21 "papi_fwrappers.c"
8 #pragma GCC visibility push(default)
9 
10 # 1 "/usr/include/stdio.h" 1 3 4
11 # 27 "/usr/include/stdio.h" 3 4
12 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4
13 # 33 "/usr/include/bits/libc-header-start.h" 3 4
14 # 1 "/usr/include/features.h" 1 3 4
15 # 428 "/usr/include/features.h" 3 4
16 # 1 "/usr/include/sys/cdefs.h" 1 3 4
17 # 427 "/usr/include/sys/cdefs.h" 3 4
18 # 1 "/usr/include/bits/wordsize.h" 1 3 4
19 # 428 "/usr/include/sys/cdefs.h" 2 3 4
20 # 1 "/usr/include/bits/long-double.h" 1 3 4
21 # 429 "/usr/include/sys/cdefs.h" 2 3 4
22 # 429 "/usr/include/features.h" 2 3 4
23 # 452 "/usr/include/features.h" 3 4
24 # 1 "/usr/include/gnu/stubs.h" 1 3 4
25 
26 
27 
28 
29 # 1 "/usr/include/bits/wordsize.h" 1 3 4
30 # 6 "/usr/include/gnu/stubs.h" 2 3 4
31 
32 
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
38 
39 
40 
41 
42 
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
45 
46 # 216 "/usr/lib64/gcc/aarch64-alt-linux/8/include/stddef.h" 3 4
47 typedef long unsigned int size_t;
48 # 34 "/usr/include/stdio.h" 2 3 4
49 
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
54 
55 
56 typedef unsigned char __u_char;
57 typedef unsigned short int __u_short;
58 typedef unsigned int __u_int;
59 typedef unsigned long int __u_long;
60 
61 
62 typedef signed char __int8_t;
63 typedef unsigned char __uint8_t;
64 typedef signed short int __int16_t;
65 typedef unsigned short int __uint16_t;
66 typedef signed int __int32_t;
67 typedef unsigned int __uint32_t;
68 
69 typedef signed long int __int64_t;
70 typedef unsigned long int __uint64_t;
71 
72 
73 
74 
75 
76 
77 
78 typedef long int __quad_t;
79 typedef unsigned long int __u_quad_t;
80 
81 
82 
83 
84 
85 
86 
87 typedef long int __intmax_t;
88 typedef unsigned long int __uintmax_t;
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
92 
93 
94 typedef unsigned long int __dev_t;
95 typedef unsigned int __uid_t;
96 typedef unsigned int __gid_t;
97 typedef unsigned long int __ino_t;
98 typedef unsigned long int __ino64_t;
99 typedef unsigned int __mode_t;
100 typedef unsigned int __nlink_t;
101 typedef long int __off_t;
102 typedef long int __off64_t;
103 typedef int __pid_t;
104 typedef struct { int __val[2]; } __fsid_t;
105 typedef long int __clock_t;
106 typedef unsigned long int __rlim_t;
107 typedef unsigned long int __rlim64_t;
108 typedef unsigned int __id_t;
109 typedef long int __time_t;
110 typedef unsigned int __useconds_t;
111 typedef long int __suseconds_t;
112 
113 typedef int __daddr_t;
114 typedef int __key_t;
115 
116 
117 typedef int __clockid_t;
118 
119 
120 typedef void * __timer_t;
121 
122 
123 typedef int __blksize_t;
124 
125 
126 
127 
128 typedef long int __blkcnt_t;
129 typedef long int __blkcnt64_t;
130 
131 
132 typedef unsigned long int __fsblkcnt_t;
133 typedef unsigned long int __fsblkcnt64_t;
134 
135 
136 typedef unsigned long int __fsfilcnt_t;
137 typedef unsigned long int __fsfilcnt64_t;
138 
139 
140 typedef long int __fsword_t;
141 
142 typedef long int __ssize_t;
143 
144 
145 typedef long int __syscall_slong_t;
146 
147 typedef unsigned long int __syscall_ulong_t;
148 
149 
150 
152 typedef char *__caddr_t;
153 
154 
155 typedef long int __intptr_t;
156 
157 
158 typedef unsigned int __socklen_t;
159 
160 
161 
162 
163 typedef int __sig_atomic_t;
164 # 36 "/usr/include/stdio.h" 2 3 4
165 # 1 "/usr/include/bits/types/__FILE.h" 1 3 4
166 
167 
168 
169 struct _IO_FILE;
170 typedef struct _IO_FILE __FILE;
171 # 37 "/usr/include/stdio.h" 2 3 4
172 # 1 "/usr/include/bits/types/FILE.h" 1 3 4
173 
174 
175 
176 struct _IO_FILE;
177 
178 
179 typedef struct _IO_FILE FILE;
180 # 38 "/usr/include/stdio.h" 2 3 4
181 
182 
183 
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
190 
191 # 1 "/usr/include/bits/types/__mbstate_t.h" 1 3 4
192 # 13 "/usr/include/bits/types/__mbstate_t.h" 3 4
193 typedef struct
194 {
195  int __count;
196  union
197  {
198  unsigned int __wch;
199  char __wchb[4];
200  } __value;
201 } __mbstate_t;
202 # 22 "/usr/include/bits/_G_config.h" 2 3 4
203 
204 
205 
206 
207 typedef struct
208 {
209  __off_t __pos;
210  __mbstate_t __state;
211 } _G_fpos_t;
212 typedef struct
213 {
214  __off64_t __pos;
215  __mbstate_t __state;
216 } _G_fpos64_t;
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
221 typedef __builtin_va_list __gnuc_va_list;
222 # 54 "/usr/include/bits/libio.h" 2 3 4
223 # 149 "/usr/include/bits/libio.h" 3 4
224 struct _IO_jump_t; struct _IO_FILE;
225 
226 
227 
228 
229 typedef void _IO_lock_t;
230 
231 
232 
233 
234 
235 struct _IO_marker {
236  struct _IO_marker *_next;
237  struct _IO_FILE *_sbuf;
238 
239 
240 
241  int _pos;
242 # 177 "/usr/include/bits/libio.h" 3 4
243 };
244 
245 
247 {
252 };
253 # 245 "/usr/include/bits/libio.h" 3 4
254 struct _IO_FILE {
255  int _flags;
256 
257 
258 
259 
260  char* _IO_read_ptr;
261  char* _IO_read_end;
262  char* _IO_read_base;
263  char* _IO_write_base;
264  char* _IO_write_ptr;
265  char* _IO_write_end;
266  char* _IO_buf_base;
267  char* _IO_buf_end;
268 
269  char *_IO_save_base;
270  char *_IO_backup_base;
271  char *_IO_save_end;
272 
273  struct _IO_marker *_markers;
274 
275  struct _IO_FILE *_chain;
276 
277  int _fileno;
278 
279 
280 
281  int _flags2;
282 
284 
285 
286 
287  unsigned short _cur_column;
288  signed char _vtable_offset;
289  char _shortbuf[1];
290 
291 
292 
293  _IO_lock_t *_lock;
294 # 293 "/usr/include/bits/libio.h" 3 4
296 
297 
298 
299 
300 
301 
302 
303  void *__pad1;
304  void *__pad2;
305  void *__pad3;
306  void *__pad4;
307 
308  size_t __pad5;
309  int _mode;
310 
311  char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
312 
313 };
314 
315 
316 typedef struct _IO_FILE _IO_FILE;
317 
318 
319 struct _IO_FILE_plus;
320 
321 extern struct _IO_FILE_plus _IO_2_1_stdin_;
322 extern struct _IO_FILE_plus _IO_2_1_stdout_;
323 extern struct _IO_FILE_plus _IO_2_1_stderr_;
324 # 337 "/usr/include/bits/libio.h" 3 4
325 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
326 
327 
328 
329 
330 
331 
332 
333 typedef __ssize_t __io_write_fn (void *__cookie, const char *__buf,
334  size_t __n);
335 
336 
337 
338 
339 
340 
341 
342 typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
343 
344 
345 typedef int __io_close_fn (void *__cookie);
346 # 389 "/usr/include/bits/libio.h" 3 4
347 extern int __underflow (_IO_FILE *);
348 extern int __uflow (_IO_FILE *);
349 extern int __overflow (_IO_FILE *, int);
350 # 433 "/usr/include/bits/libio.h" 3 4
351 extern int _IO_getc (_IO_FILE *__fp);
352 extern int _IO_putc (int __c, _IO_FILE *__fp);
353 extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__));
354 extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__));
355 
356 extern int _IO_peekc_locked (_IO_FILE *__fp);
357 
358 
359 
360 
361 
362 extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__));
363 extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__));
364 extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__));
365 # 462 "/usr/include/bits/libio.h" 3 4
366 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
367  __gnuc_va_list, int *__restrict);
368 extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
370 extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
371 extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
372 
373 extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
374 extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
375 
376 extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__));
377 # 42 "/usr/include/stdio.h" 2 3 4
378 
379 
380 
381 
382 typedef __gnuc_va_list va_list;
383 # 57 "/usr/include/stdio.h" 3 4
384 typedef __off_t off_t;
385 # 71 "/usr/include/stdio.h" 3 4
386 typedef __ssize_t ssize_t;
387 
388 
389 
390 
391 
392 
393 typedef _G_fpos_t fpos_t;
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
397 
398 
399 
400 extern struct _IO_FILE *stdin;
401 extern struct _IO_FILE *stdout;
402 extern struct _IO_FILE *stderr;
403 
404 
405 
406 
407 
408 
409 extern int remove (const char *__filename) __attribute__ ((__nothrow__ , __leaf__));
410 
411 extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ , __leaf__));
412 
413 
414 
415 extern int renameat (int __oldfd, const char *__old, int __newfd,
416  const char *__new) __attribute__ ((__nothrow__ , __leaf__));
417 
418 
419 
420 
421 
422 
423 
424 extern FILE *tmpfile (void) ;
425 # 173 "/usr/include/stdio.h" 3 4
426 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ;
427 
428 
429 
430 
431 extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ;
432 # 190 "/usr/include/stdio.h" 3 4
433 extern char *tempnam (const char *__dir, const char *__pfx)
434  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ;
435 
436 
437 
438 
439 
440 
441 
442 extern int fclose (FILE *__stream);
443 
444 
445 
446 
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) ;
453 
454 
455 
456 
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
461 extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ;
462 # 278 "/usr/include/stdio.h" 3 4
463 extern FILE *fmemopen (void *__s, size_t __len, const char *__modes)
464  __attribute__ ((__nothrow__ , __leaf__)) ;
465 
466 
467 
468 
469 extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) ;
470 
471 
472 
473 
474 
475 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__));
476 
477 
478 
479 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
480  int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__));
481 
482 
483 
484 
485 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
486  size_t __size) __attribute__ ((__nothrow__ , __leaf__));
487 
488 
489 extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
490 
491 
492 
493 
494 
495 
496 
497 extern int fprintf (FILE *__restrict __stream,
498  const char *__restrict __format, ...);
499 
500 
501 
502 
503 extern int printf (const char *__restrict __format, ...);
504 
505 extern int sprintf (char *__restrict __s,
506  const char *__restrict __format, ...) __attribute__ ((__nothrow__));
507 
508 
509 
510 
511 
512 extern int vfprintf (FILE *__restrict __s, const char *__restrict __format,
513  __gnuc_va_list __arg);
514 
515 
516 
517 
518 extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg);
519 
520 extern int vsprintf (char *__restrict __s, const char *__restrict __format,
521  __gnuc_va_list __arg) __attribute__ ((__nothrow__));
522 
523 
524 
525 extern int snprintf (char *__restrict __s, size_t __maxlen,
526  const char *__restrict __format, ...)
527  __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
528 
529 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
530  const char *__restrict __format, __gnuc_va_list __arg)
531  __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
532 # 365 "/usr/include/stdio.h" 3 4
533 extern int vdprintf (int __fd, const char *__restrict __fmt,
534  __gnuc_va_list __arg)
535  __attribute__ ((__format__ (__printf__, 2, 0)));
536 extern int dprintf (int __fd, const char *__restrict __fmt, ...)
537  __attribute__ ((__format__ (__printf__, 2, 3)));
538 
539 
540 
541 
542 
543 
544 
545 extern int fscanf (FILE *__restrict __stream,
546  const char *__restrict __format, ...) ;
547 
548 
549 
550 
551 extern int scanf (const char *__restrict __format, ...) ;
552 
553 extern int sscanf (const char *__restrict __s,
554  const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__));
555 # 395 "/usr/include/stdio.h" 3 4
556 extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf")
557 
558  ;
559 extern int scanf (const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf")
560  ;
561 extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ , __leaf__))
562 
563  ;
564 # 420 "/usr/include/stdio.h" 3 4
565 extern int vfscanf (FILE *__restrict __s, const char *__restrict __format,
566  __gnuc_va_list __arg)
567  __attribute__ ((__format__ (__scanf__, 2, 0))) ;
568 
569 
570 
571 
572 
573 extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg)
574  __attribute__ ((__format__ (__scanf__, 1, 0))) ;
575 
576 
577 extern int vsscanf (const char *__restrict __s,
578  const char *__restrict __format, __gnuc_va_list __arg)
579  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
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")
582 
583 
584 
585  __attribute__ ((__format__ (__scanf__, 2, 0))) ;
586 extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf")
587 
588  __attribute__ ((__format__ (__scanf__, 1, 0))) ;
589 extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ , __leaf__))
590 
591 
592 
593  __attribute__ ((__format__ (__scanf__, 2, 0)));
594 # 477 "/usr/include/stdio.h" 3 4
595 extern int fgetc (FILE *__stream);
596 extern int getc (FILE *__stream);
597 
598 
599 
600 
601 
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);
611 
612 
613 
614 
615 
616 extern int putchar (int __c);
617 # 537 "/usr/include/stdio.h" 3 4
618 extern int fputc_unlocked (int __c, FILE *__stream);
619 
620 
621 
622 
623 
624 
625 
626 extern int putc_unlocked (int __c, FILE *__stream);
627 extern int putchar_unlocked (int __c);
628 
629 
630 
631 
632 
633 
634 extern int getw (FILE *__stream);
635 
636 
637 extern int putw (int __w, FILE *__stream);
638 
639 
640 
641 
642 
643 
644 
645 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
646  ;
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) ;
654 
655 
656 
657 
658 
659 
660 
661 extern __ssize_t getline (char **__restrict __lineptr,
662  size_t *__restrict __n,
663  FILE *__restrict __stream) ;
664 
665 
666 
667 
668 
669 
670 
671 extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
672 
673 
674 
675 
676 
677 extern int puts (const char *__s);
678 
679 
680 
681 
682 
683 
684 extern int ungetc (int __c, FILE *__stream);
685 
686 
687 
688 
689 
690 
691 extern size_t fread (void *__restrict __ptr, size_t __size,
692  size_t __n, FILE *__restrict __stream) ;
693 
694 
695 
696 
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);
704 
705 
706 
707 
708 
709 
710 
711 extern int fseek (FILE *__stream, long int __off, int __whence);
712 
713 
714 
715 
716 extern long int ftell (FILE *__stream) ;
717 
718 
719 
720 
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);
724 
725 
726 
727 
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);
731 
732 
733 
734 
735 extern int fsetpos (FILE *__stream, const fpos_t *__pos);
736 # 757 "/usr/include/stdio.h" 3 4
737 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
738 
739 extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
740 
741 extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
742 
743 
744 
745 extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
746 extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
747 extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
748 
749 
750 
751 
752 
753 
754 
755 extern void perror (const char *__s);
756 
757 
758 
759 
760 
761 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4
762 # 26 "/usr/include/bits/sys_errlist.h" 3 4
763 extern int sys_nerr;
764 extern const char *const sys_errlist[];
765 # 782 "/usr/include/stdio.h" 2 3 4
766 
767 
768 
769 
770 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
771 
772 
773 
774 
775 extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
776 # 800 "/usr/include/stdio.h" 3 4
777 extern FILE *popen (const char *__command, const char *__modes) ;
778 
779 
780 
781 
782 
783 extern int pclose (FILE *__stream);
784 
785 
786 
787 
788 
789 extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__));
790 # 840 "/usr/include/stdio.h" 3 4
791 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
792 
793 
794 
795 extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
796 
797 
798 extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
799 # 868 "/usr/include/stdio.h" 3 4
800 
801 # 24 "papi_fwrappers.c" 2
802 # 1 "/usr/include/assert.h" 1 3 4
803 # 64 "/usr/include/assert.h" 3 4
804 
805 
806 
807 extern void __assert_fail (const char *__assertion, const char *__file,
808  unsigned int __line, const char *__function)
809  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
810 
811 
812 extern void __assert_perror_fail (int __errnum, const char *__file,
813  unsigned int __line, const char *__function)
814  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
815 
816 
817 
818 
819 extern void __assert (const char *__assertion, const char *__file, int __line)
820  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
821 
822 
823 
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
829 
830 
831 
832 
833 
834 
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,
839  size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
840 
841 
842 extern void *memmove (void *__dest, const void *__src, size_t __n)
843  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
844 
845 
846 
847 
848 
849 extern void *memccpy (void *__restrict __dest, const void *__restrict __src,
850  int __c, size_t __n)
851  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
852 
853 
854 
855 
856 extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
857 
858 
859 extern int memcmp (const void *__s1, const void *__s2, size_t __n)
860  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
861 # 90 "/usr/include/string.h" 3 4
862 extern void *memchr (const void *__s, int __c, size_t __n)
863  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
864 # 121 "/usr/include/string.h" 3 4
865 extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
866  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
867 
868 extern char *strncpy (char *__restrict __dest,
869  const char *__restrict __src, size_t __n)
870  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
871 
872 
873 extern char *strcat (char *__restrict __dest, const char *__restrict __src)
874  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
875 
876 extern char *strncat (char *__restrict __dest, const char *__restrict __src,
877  size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
878 
879 
880 extern int strcmp (const char *__s1, const char *__s2)
881  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
882 
883 extern int strncmp (const char *__s1, const char *__s2, size_t __n)
884  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
885 
886 
887 extern int strcoll (const char *__s1, const char *__s2)
888  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
889 
890 extern size_t strxfrm (char *__restrict __dest,
891  const char *__restrict __src, size_t __n)
892  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
893 
894 
895 
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
901 {
902 
903  struct __locale_data *__locales[13];
904 
905 
906  const unsigned short int *__ctype_b;
907  const int *__ctype_tolower;
908  const int *__ctype_toupper;
909 
910 
911  const char *__names[13];
912 };
913 
914 typedef struct __locale_struct *__locale_t;
915 # 23 "/usr/include/bits/types/locale_t.h" 2 3 4
916 
918 # 153 "/usr/include/string.h" 2 3 4
919 
920 
921 extern int strcoll_l (const char *__s1, const char *__s2, locale_t __l)
922  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
923 
924 
925 extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n,
926  locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4)));
927 
928 
929 
930 
931 
932 extern char *strdup (const char *__s)
933  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
934 
935 
936 
937 
938 
939 
940 extern char *strndup (const char *__string, size_t __n)
941  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
942 # 225 "/usr/include/string.h" 3 4
943 extern char *strchr (const char *__s, int __c)
944  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
945 # 252 "/usr/include/string.h" 3 4
946 extern char *strrchr (const char *__s, int __c)
947  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
948 # 272 "/usr/include/string.h" 3 4
949 extern size_t strcspn (const char *__s, const char *__reject)
950  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
951 
952 
953 extern size_t strspn (const char *__s, const char *__accept)
954  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
955 # 302 "/usr/include/string.h" 3 4
956 extern char *strpbrk (const char *__s, const char *__accept)
957  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
958 # 329 "/usr/include/string.h" 3 4
959 extern char *strstr (const char *__haystack, const char *__needle)
960  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
961 
962 
963 
964 
965 extern char *strtok (char *__restrict __s, const char *__restrict __delim)
966  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
967 
968 
969 
970 extern char *__strtok_r (char *__restrict __s,
971  const char *__restrict __delim,
972  char **__restrict __save_ptr)
973  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3)));
974 
975 extern char *strtok_r (char *__restrict __s, const char *__restrict __delim,
976  char **__restrict __save_ptr)
977  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3)));
978 # 384 "/usr/include/string.h" 3 4
979 extern size_t strlen (const char *__s)
980  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
981 
982 
983 
984 
985 extern size_t strnlen (const char *__string, size_t __maxlen)
986  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
987 
988 
989 
990 
991 extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__));
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__))
994 
995  __attribute__ ((__nonnull__ (2)));
996 # 427 "/usr/include/string.h" 3 4
997 extern char *strerror_l (int __errnum, locale_t __l) __attribute__ ((__nothrow__ , __leaf__));
998 
999 
1000 
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
1005 
1006 
1007 
1008 
1009 
1010 
1011 
1012 
1013 
1014 
1015 extern int bcmp (const void *__s1, const void *__s2, size_t __n)
1016  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1017 
1018 
1019 extern void bcopy (const void *__src, void *__dest, size_t __n)
1020  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
1021 
1022 
1023 extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
1024 # 68 "/usr/include/strings.h" 3 4
1025 extern char *index (const char *__s, int __c)
1026  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
1027 # 96 "/usr/include/strings.h" 3 4
1028 extern char *rindex (const char *__s, int __c)
1029  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
1030 
1031 
1032 
1033 
1034 
1035 
1036 extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
1037 
1038 
1039 
1040 
1041 
1042 extern int ffsl (long int __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
1043 __extension__ extern int ffsll (long long int __ll)
1044  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
1045 
1046 
1047 
1048 extern int strcasecmp (const char *__s1, const char *__s2)
1049  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1050 
1051 
1052 extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
1053  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1054 
1055 
1056 
1057 
1058 
1059 
1060 extern int strcasecmp_l (const char *__s1, const char *__s2, locale_t __loc)
1061  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
1062 
1063 
1064 
1065 extern int strncasecmp_l (const char *__s1, const char *__s2,
1066  size_t __n, locale_t __loc)
1067  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4)));
1068 
1069 
1070 
1071 # 432 "/usr/include/string.h" 2 3 4
1072 
1073 
1074 
1075 extern void explicit_bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
1076 
1077 
1078 
1079 extern char *strsep (char **__restrict __stringp,
1080  const char *__restrict __delim)
1081  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
1082 
1083 
1084 
1085 
1086 extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__));
1087 
1088 
1089 extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src)
1090  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
1091 extern char *stpcpy (char *__restrict __dest, const char *__restrict __src)
1092  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
1093 
1094 
1095 
1096 extern char *__stpncpy (char *__restrict __dest,
1097  const char *__restrict __src, size_t __n)
1098  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
1099 extern char *stpncpy (char *__restrict __dest,
1100  const char *__restrict __src, size_t __n)
1101  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
1102 
1103 
1104 
1105 
1106 extern size_t strlcpy (char *__restrict __dest,
1107  const char *__restrict __src, size_t __n)
1108  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
1109 
1110 
1111 
1112 extern size_t strlcat (char *__restrict __dest,
1113  const char *__restrict __src, size_t __n)
1114  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
1115 # 511 "/usr/include/string.h" 3 4
1116 
1117 # 26 "papi_fwrappers.c" 2
1118 # 1 "papi.h" 1
1119 # 25 "papi.h"
1120 #pragma GCC visibility push(default)
1121 # 239 "papi.h"
1122 # 1 "/usr/include/sys/types.h" 1 3 4
1123 # 27 "/usr/include/sys/types.h" 3 4
1124 
1125 
1126 
1127 
1128 
1129 
1130 typedef __u_char u_char;
1131 typedef __u_short u_short;
1132 typedef __u_int u_int;
1133 typedef __u_long u_long;
1134 typedef __quad_t quad_t;
1135 typedef __u_quad_t u_quad_t;
1136 typedef __fsid_t fsid_t;
1137 
1138 
1139 
1140 
1141 typedef __loff_t loff_t;
1142 
1143 
1144 
1145 typedef __ino_t ino_t;
1146 # 60 "/usr/include/sys/types.h" 3 4
1147 typedef __dev_t dev_t;
1148 
1149 
1150 
1151 
1152 typedef __gid_t gid_t;
1153 
1154 
1155 
1156 
1157 typedef __mode_t mode_t;
1158 
1159 
1160 
1161 
1162 typedef __nlink_t nlink_t;
1163 
1164 
1165 
1166 
1167 typedef __uid_t uid_t;
1168 # 98 "/usr/include/sys/types.h" 3 4
1169 typedef __pid_t pid_t;
1170 
1171 
1172 
1173 
1174 
1175 typedef __id_t id_t;
1176 # 115 "/usr/include/sys/types.h" 3 4
1177 typedef __daddr_t daddr_t;
1178 typedef __caddr_t caddr_t;
1179 
1180 
1181 
1182 
1183 
1184 typedef __key_t key_t;
1185 
1186 
1187 
1188 
1189 # 1 "/usr/include/bits/types/clock_t.h" 1 3 4
1190 
1191 
1192 
1193 
1194 
1195 
1196 typedef __clock_t clock_t;
1197 # 128 "/usr/include/sys/types.h" 2 3 4
1198 
1199 # 1 "/usr/include/bits/types/clockid_t.h" 1 3 4
1200 
1201 
1202 
1203 
1204 
1205 
1206 typedef __clockid_t clockid_t;
1207 # 130 "/usr/include/sys/types.h" 2 3 4
1208 # 1 "/usr/include/bits/types/time_t.h" 1 3 4
1209 
1210 
1211 
1212 
1213 
1214 
1215 typedef __time_t time_t;
1216 # 131 "/usr/include/sys/types.h" 2 3 4
1217 # 1 "/usr/include/bits/types/timer_t.h" 1 3 4
1218 
1219 
1220 
1221 
1222 
1223 
1224 typedef __timer_t timer_t;
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
1229 
1230 
1231 
1232 typedef unsigned long int ulong;
1233 typedef unsigned short int ushort;
1234 typedef unsigned int uint;
1235 
1236 
1237 
1238 
1239 # 1 "/usr/include/bits/stdint-intn.h" 1 3 4
1240 # 24 "/usr/include/bits/stdint-intn.h" 3 4
1241 typedef __int8_t int8_t;
1242 typedef __int16_t int16_t;
1243 typedef __int32_t int32_t;
1244 typedef __int64_t int64_t;
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__)));
1251 
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)
1266 {
1267  return __builtin_bswap32 (__bsx);
1268 }
1269 # 74 "/usr/include/bits/byteswap.h" 3 4
1270 static __inline __uint64_t
1272 {
1273  return __builtin_bswap64 (__bsx);
1274 }
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
1278 static __inline __uint16_t
1280 {
1281  return __x;
1282 }
1283 
1284 static __inline __uint32_t
1286 {
1287  return __x;
1288 }
1289 
1290 static __inline __uint64_t
1292 {
1293  return __x;
1294 }
1295 # 62 "/usr/include/endian.h" 2 3 4
1296 # 195 "/usr/include/sys/types.h" 2 3 4
1297 
1298 
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
1303 
1304 
1305 # 1 "/usr/include/bits/types/sigset_t.h" 1 3 4
1306 
1307 
1308 
1309 # 1 "/usr/include/bits/types/__sigset_t.h" 1 3 4
1310 
1311 
1312 
1313 
1314 typedef struct
1315 {
1316  unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
1317 } __sigset_t;
1318 # 5 "/usr/include/bits/types/sigset_t.h" 2 3 4
1319 
1320 
1322 # 34 "/usr/include/sys/select.h" 2 3 4
1323 
1324 
1325 
1326 # 1 "/usr/include/bits/types/struct_timeval.h" 1 3 4
1327 
1328 
1329 
1330 
1331 
1332 
1333 
1334 struct timeval
1335 {
1336  __time_t tv_sec;
1338 };
1339 # 38 "/usr/include/sys/select.h" 2 3 4
1340 
1341 # 1 "/usr/include/bits/types/struct_timespec.h" 1 3 4
1342 # 9 "/usr/include/bits/types/struct_timespec.h" 3 4
1343 struct timespec
1344 {
1345  __time_t tv_sec;
1347 };
1348 # 40 "/usr/include/sys/select.h" 2 3 4
1349 
1350 
1351 
1353 
1354 
1355 
1356 
1357 
1358 typedef long int __fd_mask;
1359 # 59 "/usr/include/sys/select.h" 3 4
1360 typedef struct
1361  {
1362 
1363 
1364 
1365 
1366 
1367 
1368  __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))];
1369 
1370 
1371  } fd_set;
1372 
1373 
1374 
1375 
1376 
1377 
1379 # 91 "/usr/include/sys/select.h" 3 4
1380 
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,
1391  const __sigset_t *__restrict __sigmask);
1392 # 126 "/usr/include/sys/select.h" 3 4
1393 
1394 # 198 "/usr/include/sys/types.h" 2 3 4
1395 
1396 
1397 
1398 
1399 
1400 
1401 
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
1407 
1408 
1409 extern unsigned int gnu_dev_major (__dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
1410 extern unsigned int gnu_dev_minor (__dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
1411 extern __dev_t gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
1412 # 85 "/usr/include/sys/sysmacros.h" 3 4
1413 
1414 # 206 "/usr/include/sys/types.h" 2 3 4
1415 
1416 
1417 
1418 
1419 
1420 
1422 
1423 
1424 
1425 
1426 
1427 
1429 
1430 
1431 
1433 
1434 
1435 
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
1445 {
1446  unsigned int __readers;
1447  unsigned int __writers;
1448  unsigned int __wrphase_futex;
1449  unsigned int __writers_futex;
1450  unsigned int __pad3;
1451  unsigned int __pad4;
1452  int __cur_writer;
1453  int __shared;
1454  unsigned long int __pad1;
1455  unsigned long int __pad2;
1456  unsigned int __flags;
1457 };
1458 # 78 "/usr/include/bits/thread-shared-types.h" 2 3 4
1459 
1460 
1461 
1462 
1463 typedef struct __pthread_internal_list
1464 {
1465  struct __pthread_internal_list *__prev;
1466  struct __pthread_internal_list *__next;
1468 # 118 "/usr/include/bits/thread-shared-types.h" 3 4
1469 struct __pthread_mutex_s
1470 {
1471  int __lock ;
1472  unsigned int __count;
1473  int __owner;
1474 
1475  unsigned int __nusers;
1476 # 148 "/usr/include/bits/thread-shared-types.h" 3 4
1477  int __kind;
1478 
1479 
1480 
1481 
1482 
1483  int __spins;
1485 # 165 "/usr/include/bits/thread-shared-types.h" 3 4
1486 
1487 };
1488 
1489 
1490 
1491 
1492 struct __pthread_cond_s
1493 {
1494  __extension__ union
1495  {
1496  __extension__ unsigned long long int __wseq;
1497  struct
1498  {
1499  unsigned int __low;
1500  unsigned int __high;
1501  } __wseq32;
1502  };
1503  __extension__ union
1504  {
1505  __extension__ unsigned long long int __g1_start;
1506  struct
1507  {
1508  unsigned int __low;
1509  unsigned int __high;
1510  } __g1_start32;
1511  };
1512  unsigned int __g_refs[2] ;
1513  unsigned int __g_size[2];
1514  unsigned int __g1_orig_size;
1515  unsigned int __wrefs;
1516  unsigned int __g_signals[2];
1517 };
1518 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4
1519 
1520 
1521 
1522 typedef unsigned long int pthread_t;
1523 
1524 
1525 
1526 
1527 typedef union
1528 {
1529  char __size[8];
1530  int __align;
1532 
1533 
1534 
1535 
1536 typedef union
1537 {
1538  char __size[8];
1539  int __align;
1541 
1542 
1543 
1544 typedef unsigned int pthread_key_t;
1545 
1546 
1547 
1548 typedef int pthread_once_t;
1549 
1550 
1551 union pthread_attr_t
1552 {
1553  char __size[64];
1554  long int __align;
1555 };
1556 
1557 typedef union pthread_attr_t pthread_attr_t;
1558 
1559 
1560 
1561 
1562 typedef union
1563 {
1564  struct __pthread_mutex_s __data;
1565  char __size[48];
1566  long int __align;
1567 } pthread_mutex_t;
1568 
1569 
1570 typedef union
1571 {
1572  struct __pthread_cond_s __data;
1573  char __size[48];
1574  __extension__ long long int __align;
1575 } pthread_cond_t;
1576 
1577 
1578 
1579 
1580 
1581 typedef union
1582 {
1583  struct __pthread_rwlock_arch_t __data;
1584  char __size[56];
1585  long int __align;
1587 
1588 typedef union
1589 {
1590  char __size[8];
1591  long int __align;
1593 
1594 
1595 
1596 
1597 
1598 typedef volatile int pthread_spinlock_t;
1599 
1600 
1601 
1602 
1603 typedef union
1604 {
1605  char __size[32];
1606  long int __align;
1608 
1609 typedef union
1610 {
1611  char __size[8];
1612  int __align;
1614 # 255 "/usr/include/sys/types.h" 2 3 4
1615 
1616 
1617 
1618 # 240 "papi.h" 2
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
1622 
1623 
1624 
1625 
1626 
1627 
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
1643 
1644 
1645 
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
1651 # 241 "papi.h" 2
1652 # 1 "papiStdEventDefs.h" 1
1653 # 51 "papiStdEventDefs.h"
1654 
1655 # 51 "papiStdEventDefs.h"
1656 enum
1657 {
1674 
1691 
1708 
1725 
1742 
1759 
1773 };
1774 # 242 "papi.h" 2
1775 # 479 "papi.h"
1776 enum {
1780 
1781 
1794 
1795 
1804 };
1805 # 543 "papi.h"
1806 # 1 "/usr/include/signal.h" 1 3 4
1807 # 27 "/usr/include/signal.h" 3 4
1808 
1809 
1810 
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
1816 
1817 # 1 "/usr/include/bits/types/sig_atomic_t.h" 1 3 4
1818 
1819 
1820 
1821 
1822 
1823 
1824 
1825 
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
1831 
1832 
1833 
1834 # 1 "/usr/include/bits/wordsize.h" 1 3 4
1835 # 5 "/usr/include/bits/types/siginfo_t.h" 2 3 4
1836 
1837 # 1 "/usr/include/bits/types/__sigval_t.h" 1 3 4
1838 # 24 "/usr/include/bits/types/__sigval_t.h" 3 4
1839 union sigval
1840 {
1841  int sival_int;
1842  void *sival_ptr;
1843 };
1844 
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
1851 typedef struct
1852  {
1853  int si_signo;
1854 
1855  int si_errno;
1856 
1857  int si_code;
1858 
1859 
1860 
1861 
1862 
1863  int __pad0;
1864 
1865 
1866  union
1867  {
1868  int _pad[((128 / sizeof (int)) - 4)];
1869 
1870 
1871  struct
1872  {
1873  __pid_t si_pid;
1874  __uid_t si_uid;
1875  } _kill;
1876 
1877 
1878  struct
1879  {
1880  int si_tid;
1881  int si_overrun;
1882  __sigval_t si_sigval;
1883  } _timer;
1884 
1885 
1886  struct
1887  {
1888  __pid_t si_pid;
1889  __uid_t si_uid;
1890  __sigval_t si_sigval;
1891  } _rt;
1892 
1893 
1894  struct
1895  {
1896  __pid_t si_pid;
1897  __uid_t si_uid;
1898  int si_status;
1899  __clock_t si_utime;
1900  __clock_t si_stime;
1901  } _sigchld;
1902 
1903 
1904  struct
1905  {
1906  void *si_addr;
1907 
1908  short int si_addr_lsb;
1909  union
1910  {
1911 
1912  struct
1913  {
1914  void *_lower;
1915  void *_upper;
1916  } _addr_bnd;
1917 
1918  __uint32_t _pkey;
1919  } _bounds;
1920  } _sigfault;
1921 
1922 
1923  struct
1924  {
1925  long int si_band;
1926  int si_fd;
1927  } _sigpoll;
1928 
1929 
1930 
1931  struct
1932  {
1933  void *_call_addr;
1934  int _syscall;
1935  unsigned int _arch;
1936  } _sigsys;
1937 
1938  } _sifields;
1939  } siginfo_t ;
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
1943 enum
1944 {
1945  SI_ASYNCNL = -60,
1946  SI_TKILL = -6,
1948 
1952 
1953 
1954 
1955 
1956 
1959  SI_KERNEL = 0x80
1960 # 63 "/usr/include/bits/siginfo-consts.h" 3 4
1961 };
1962 
1963 
1964 
1965 
1966 enum
1967 {
1969 
1971 
1973 
1975 
1977 
1979 
1981 
1983 
1984 };
1985 
1986 
1987 enum
1988 {
1990 
1992 
1994 
1996 
1998 
2000 
2002 
2004 
2005 };
2006 
2007 
2008 enum
2009 {
2011 
2013 
2015 
2017 
2018 };
2019 
2020 
2021 enum
2022 {
2024 
2026 
2028 
2030 
2032 
2033 };
2034 # 151 "/usr/include/bits/siginfo-consts.h" 3 4
2035 enum
2036 {
2038 
2040 
2042 
2044 
2046 
2048 
2049 };
2050 
2051 
2052 enum
2053 {
2054  POLL_IN = 1,
2055 
2057 
2059 
2061 
2063 
2065 
2066 };
2067 # 59 "/usr/include/signal.h" 2 3 4
2068 
2069 
2070 
2071 # 1 "/usr/include/bits/types/sigval_t.h" 1 3 4
2072 # 16 "/usr/include/bits/types/sigval_t.h" 3 4
2073 typedef __sigval_t sigval_t;
2074 # 63 "/usr/include/signal.h" 2 3 4
2075 
2076 
2077 
2078 # 1 "/usr/include/bits/types/sigevent_t.h" 1 3 4
2079 
2080 
2081 
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
2086  {
2087  __sigval_t sigev_value;
2088  int sigev_signo;
2089  int sigev_notify;
2090 
2091  union
2092  {
2093  int _pad[((64 / sizeof (int)) - 4)];
2094 
2095 
2096 
2097  __pid_t _tid;
2098 
2099  struct
2100  {
2101  void (*_function) (__sigval_t);
2102  pthread_attr_t *_attribute;
2103  } _sigev_thread;
2104  } _sigev_un;
2105  } sigevent_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
2109 enum
2110 {
2112 
2114 
2116 
2117 
2119 
2120 
2121 };
2122 # 68 "/usr/include/signal.h" 2 3 4
2123 
2124 
2125 
2126 
2127 typedef void (*__sighandler_t) (int);
2128 
2129 
2130 
2131 
2132 extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler)
2133  __attribute__ ((__nothrow__ , __leaf__));
2134 # 88 "/usr/include/signal.h" 3 4
2135 extern __sighandler_t signal (int __sig, __sighandler_t __handler)
2136  __attribute__ ((__nothrow__ , __leaf__));
2137 # 112 "/usr/include/signal.h" 3 4
2138 extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__ , __leaf__));
2139 
2140 
2141 
2142 
2143 
2144 
2145 extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__ , __leaf__));
2146 
2147 
2148 
2149 extern int raise (int __sig) __attribute__ ((__nothrow__ , __leaf__));
2150 
2151 
2152 
2153 extern __sighandler_t ssignal (int __sig, __sighandler_t __handler)
2154  __attribute__ ((__nothrow__ , __leaf__));
2155 extern int gsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__));
2156 
2157 
2158 
2159 
2160 extern void psignal (int __sig, const char *__s);
2161 
2162 
2163 extern void psiginfo (const siginfo_t *__pinfo, const char *__s);
2164 # 170 "/usr/include/signal.h" 3 4
2165 extern int sigblock (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2166 
2167 
2168 extern int sigsetmask (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2169 
2170 
2171 extern int siggetmask (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2172 # 190 "/usr/include/signal.h" 3 4
2173 typedef __sighandler_t sig_t;
2174 
2175 
2176 
2177 
2178 
2179 extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2180 
2181 
2182 extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2183 
2184 
2185 extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2186 
2187 
2188 extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2189 
2190 
2191 extern int sigismember (const sigset_t *__set, int __signo)
2192  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
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
2196 struct sigaction
2197  {
2198 
2199 
2200  union
2201  {
2202 
2203  __sighandler_t sa_handler;
2204 
2205  void (*sa_sigaction) (int, siginfo_t *, void *);
2206  }
2207  __sigaction_handler;
2208 
2209 
2210 
2211 
2212 
2213 
2214 
2215  __sigset_t sa_mask;
2216 
2217 
2218  int sa_flags;
2219 
2220 
2221  void (*sa_restorer) (void);
2222  };
2223 # 227 "/usr/include/signal.h" 2 3 4
2224 
2225 
2226 extern int sigprocmask (int __how, const sigset_t *__restrict __set,
2227  sigset_t *__restrict __oset) __attribute__ ((__nothrow__ , __leaf__));
2228 
2229 
2230 
2231 
2232 
2233 
2234 extern int sigsuspend (const sigset_t *__set) __attribute__ ((__nonnull__ (1)));
2235 
2236 
2237 extern int sigaction (int __sig, const struct sigaction *__restrict __act,
2238  struct sigaction *__restrict __oact) __attribute__ ((__nothrow__ , __leaf__));
2239 
2240 
2241 extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2242 
2243 
2244 
2245 
2246 
2247 
2248 
2249 extern int sigwait (const sigset_t *__restrict __set, int *__restrict __sig)
2250  __attribute__ ((__nonnull__ (1, 2)));
2251 
2252 
2253 
2254 
2255 
2256 
2257 
2258 extern int sigwaitinfo (const sigset_t *__restrict __set,
2259  siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1)));
2260 
2261 
2262 
2263 
2264 
2265 
2266 extern int sigtimedwait (const sigset_t *__restrict __set,
2267  siginfo_t *__restrict __info,
2268  const struct timespec *__restrict __timeout)
2269  __attribute__ ((__nonnull__ (1)));
2270 
2271 
2272 
2273 extern int sigqueue (__pid_t __pid, int __sig, const union sigval __val)
2274  __attribute__ ((__nothrow__ , __leaf__));
2275 # 286 "/usr/include/signal.h" 3 4
2276 extern const char *const _sys_siglist[(64 + 1)];
2277 extern const char *const sys_siglist[(64 + 1)];
2278 
2279 
2280 
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
2286 
2287 
2288 
2289 
2290 # 1 "/usr/include/asm/types.h" 1 3 4
2291 # 1 "/usr/include/asm-generic/types.h" 1 3 4
2292 
2293 
2294 
2295 
2296 
2297 
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
2305 
2306 
2307 
2308 
2309 
2310 
2311 
2312 typedef __signed__ char __s8;
2313 typedef unsigned char __u8;
2314 
2315 typedef __signed__ short __s16;
2316 typedef unsigned short __u16;
2317 
2318 typedef __signed__ int __s32;
2319 typedef unsigned int __u32;
2320 
2321 
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
2327 
2328 
2329 
2330 # 1 "/usr/include/linux/posix_types.h" 1 3 4
2331 
2332 
2333 
2334 
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
2338 typedef struct {
2339  unsigned long fds_bits[1024 / (8 * sizeof(long))];
2340 } __kernel_fd_set;
2341 
2342 
2343 typedef void (*__kernel_sighandler_t)(int);
2344 
2345 
2346 typedef int __kernel_key_t;
2347 typedef int __kernel_mqd_t;
2348 
2349 # 1 "/usr/include/asm/posix_types.h" 1 3 4
2350 
2351 
2352 
2353 
2354 typedef unsigned short __kernel_old_uid_t;
2355 typedef unsigned short __kernel_old_gid_t;
2356 
2357 
2358 # 1 "/usr/include/asm-generic/posix_types.h" 1 3 4
2359 # 15 "/usr/include/asm-generic/posix_types.h" 3 4
2360 typedef long __kernel_long_t;
2361 typedef unsigned long __kernel_ulong_t;
2362 
2363 
2364 
2366 
2367 
2368 
2369 typedef unsigned int __kernel_mode_t;
2370 
2371 
2372 
2373 typedef int __kernel_pid_t;
2374 
2375 
2376 
2378 
2379 
2380 
2381 typedef unsigned int __kernel_uid_t;
2382 typedef unsigned int __kernel_gid_t;
2383 
2384 
2385 
2387 
2388 
2389 
2390 typedef int __kernel_daddr_t;
2391 
2392 
2393 
2394 typedef unsigned int __kernel_uid32_t;
2395 typedef unsigned int __kernel_gid32_t;
2396 # 59 "/usr/include/asm-generic/posix_types.h" 3 4
2397 typedef unsigned int __kernel_old_dev_t;
2398 # 72 "/usr/include/asm-generic/posix_types.h" 3 4
2402 # 85 "/usr/include/asm-generic/posix_types.h" 3 4
2404 
2405 
2406 
2407 typedef struct {
2408  int val[2];
2409 } __kernel_fsid_t;
2410 
2411 
2412 
2413 
2414 
2416 typedef long long __kernel_loff_t;
2418 typedef long long __kernel_time64_t;
2420 typedef int __kernel_timer_t;
2422 typedef char * __kernel_caddr_t;
2423 typedef unsigned short __kernel_uid16_t;
2424 typedef unsigned short __kernel_gid16_t;
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
2429 typedef __u16 __le16;
2430 typedef __u16 __be16;
2431 typedef __u32 __le32;
2432 typedef __u32 __be32;
2433 typedef __u64 __le64;
2434 typedef __u64 __be64;
2435 
2436 typedef __u16 __sum16;
2437 typedef __u32 __wsum;
2438 # 47 "/usr/include/linux/types.h" 3 4
2439 typedef unsigned __poll_t;
2440 # 23 "/usr/include/asm/sigcontext.h" 2 3 4
2441 
2442 
2443 
2444 
2445 
2446 struct sigcontext {
2448 
2449  __u64 regs[31];
2450  __u64 sp;
2451  __u64 pc;
2452  __u64 pstate;
2453 
2454  __u8 __reserved[4096] __attribute__((__aligned__(16)));
2455 };
2456 # 66 "/usr/include/asm/sigcontext.h" 3 4
2457 struct _aarch64_ctx {
2458  __u32 magic;
2459  __u32 size;
2460 };
2461 
2462 
2463 
2464 struct fpsimd_context {
2465  struct _aarch64_ctx head;
2466  __u32 fpsr;
2467  __u32 fpcr;
2468  __uint128_t vregs[32];
2469 };
2470 
2471 
2472 
2473 
2474 struct esr_context {
2475  struct _aarch64_ctx head;
2476  __u64 esr;
2477 };
2478 # 116 "/usr/include/asm/sigcontext.h" 3 4
2479 struct extra_context {
2480  struct _aarch64_ctx head;
2481  __u64 datap;
2482  __u32 size;
2483  __u32 __reserved[3];
2484 };
2485 
2486 
2487 
2488 struct sve_context {
2489  struct _aarch64_ctx head;
2490  __u16 vl;
2491  __u16 __reserved[3];
2492 };
2493 
2494 
2495 
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
2499 
2500 
2501 
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
2505 
2506 
2507 extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__ , __leaf__));
2508 
2509 
2510 
2511 
2512 
2513 
2514 # 1 "/usr/lib64/gcc/aarch64-alt-linux/8/include/stddef.h" 1 3 4
2515 # 302 "/usr/include/signal.h" 2 3 4
2516 
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
2521 
2522 
2523 typedef struct
2524  {
2525  void *ss_sp;
2526  int ss_flags;
2527  size_t ss_size;
2528  } stack_t;
2529 # 304 "/usr/include/signal.h" 2 3 4
2530 
2531 
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
2538 
2539 # 52 "/usr/include/sys/time.h" 3 4
2540 struct timezone
2541  {
2542  int tz_minuteswest;
2543  int tz_dsttime;
2544  };
2545 
2546 typedef struct timezone *__restrict __timezone_ptr_t;
2547 # 68 "/usr/include/sys/time.h" 3 4
2548 extern int gettimeofday (struct timeval *__restrict __tv,
2549  __timezone_ptr_t __tz) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2550 
2551 
2552 
2553 
2554 extern int settimeofday (const struct timeval *__tv,
2555  const struct timezone *__tz)
2556  __attribute__ ((__nothrow__ , __leaf__));
2557 
2558 
2559 
2560 
2561 
2562 extern int adjtime (const struct timeval *__delta,
2563  struct timeval *__olddelta) __attribute__ ((__nothrow__ , __leaf__));
2564 
2565 
2566 
2567 
2569  {
2570 
2572 
2573 
2575 
2576 
2577 
2579 
2580  };
2581 
2582 
2583 
2584 struct itimerval
2585  {
2586 
2587  struct timeval it_interval;
2588 
2589  struct timeval it_value;
2590  };
2591 
2592 
2593 
2594 
2595 
2596 
2597 typedef int __itimer_which_t;
2598 
2599 
2600 
2601 
2602 extern int getitimer (__itimer_which_t __which,
2603  struct itimerval *__value) __attribute__ ((__nothrow__ , __leaf__));
2604 
2605 
2606 
2607 
2608 extern int setitimer (__itimer_which_t __which,
2609  const struct itimerval *__restrict __new,
2610  struct itimerval *__restrict __old) __attribute__ ((__nothrow__ , __leaf__));
2611 
2612 
2613 
2614 
2615 extern int utimes (const char *__file, const struct timeval __tvp[2])
2616  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2617 
2618 
2619 
2620 extern int lutimes (const char *__file, const struct timeval __tvp[2])
2621  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2622 
2623 
2624 extern int futimes (int __fd, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__));
2625 # 186 "/usr/include/sys/time.h" 3 4
2626 
2627 # 33 "/usr/include/sys/procfs.h" 2 3 4
2628 
2629 # 1 "/usr/include/sys/user.h" 1 3 4
2630 # 22 "/usr/include/sys/user.h" 3 4
2631 struct user_regs_struct
2632 {
2633  unsigned long long regs[31];
2634  unsigned long long sp;
2635  unsigned long long pc;
2636  unsigned long long pstate;
2637 };
2638 
2639 struct user_fpsimd_struct
2640 {
2641  __uint128_t vregs[32];
2642  unsigned int fpsr;
2643  unsigned int fpcr;
2644 };
2645 # 35 "/usr/include/sys/procfs.h" 2 3 4
2646 
2647 
2648 
2649 
2651 
2652 
2653 
2654 
2655 
2656 
2657 typedef elf_greg_t elf_gregset_t[(sizeof (struct user_regs_struct) / sizeof(elf_greg_t))];
2658 
2659 
2660 typedef struct user_fpsimd_struct elf_fpregset_t;
2661 
2662 
2663 struct elf_siginfo
2664  {
2665  int si_signo;
2666  int si_code;
2667  int si_errno;
2668  };
2669 # 66 "/usr/include/sys/procfs.h" 3 4
2670 struct elf_prstatus
2671  {
2672  struct elf_siginfo pr_info;
2673  short int pr_cursig;
2674  unsigned long int pr_sigpend;
2675  unsigned long int pr_sighold;
2676  __pid_t pr_pid;
2677  __pid_t pr_ppid;
2678  __pid_t pr_pgrp;
2679  __pid_t pr_sid;
2680  struct timeval pr_utime;
2681  struct timeval pr_stime;
2682  struct timeval pr_cutime;
2683  struct timeval pr_cstime;
2685  int pr_fpvalid;
2686  };
2687 
2688 
2689 
2690 
2691 struct elf_prpsinfo
2692  {
2693  char pr_state;
2694  char pr_sname;
2695  char pr_zomb;
2696  char pr_nice;
2697  unsigned long int pr_flag;
2698  unsigned int pr_uid;
2699  unsigned int pr_gid;
2700  int pr_pid, pr_ppid, pr_pgrp, pr_sid;
2701 
2702  char pr_fname[16];
2703  char pr_psargs[(80)];
2704  };
2705 
2706 
2707 
2708 
2709 
2710 
2711 typedef void *psaddr_t;
2712 
2713 
2715 typedef elf_fpregset_t prfpregset_t;
2716 
2717 
2718 
2720 
2721 
2722 typedef struct elf_prstatus prstatus_t;
2723 typedef struct elf_prpsinfo prpsinfo_t;
2724 
2725 
2726 # 37 "/usr/include/sys/ucontext.h" 2 3 4
2727 
2728 
2730 
2731 
2733 
2734 
2735 typedef elf_fpregset_t fpregset_t;
2736 
2737 
2738 
2739 
2740 
2741 
2742 typedef struct
2743  {
2744  unsigned long long int fault_address;
2745  unsigned long long int regs[31];
2746  unsigned long long int sp;
2747  unsigned long long int pc;
2748  unsigned long long int pstate;
2749 
2750 
2751 
2752 
2753  unsigned char __reserved[4096] __attribute__ ((__aligned__ (16)));
2754  } mcontext_t;
2755 
2756 
2757 typedef struct ucontext_t
2758  {
2759  unsigned long uc_flags;
2760  struct ucontext_t *uc_link;
2761  stack_t uc_stack;
2764  } ucontext_t;
2765 # 307 "/usr/include/signal.h" 2 3 4
2766 
2767 
2768 
2769 
2770 
2771 
2772 
2773 extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__ , __leaf__));
2774 
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
2779 enum
2780 {
2782 
2784 
2785 };
2786 # 318 "/usr/include/signal.h" 2 3 4
2787 
2788 
2789 
2790 extern int sigaltstack (const stack_t *__restrict __ss,
2791  stack_t *__restrict __oss) __attribute__ ((__nothrow__ , __leaf__));
2792 
2793 
2794 
2795 
2796 # 1 "/usr/include/bits/types/struct_sigstack.h" 1 3 4
2797 # 23 "/usr/include/bits/types/struct_sigstack.h" 3 4
2798 struct sigstack
2799  {
2800  void *ss_sp;
2801  int ss_onstack;
2802  };
2803 # 328 "/usr/include/signal.h" 2 3 4
2804 
2805 
2806 
2807 
2808 
2809 
2810 
2811 extern int sigstack (struct sigstack *__ss, struct sigstack *__oss)
2812  __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
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
2816 extern int pthread_sigmask (int __how,
2817  const __sigset_t *__restrict __newmask,
2818  __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__ , __leaf__));
2819 
2820 
2821 extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__ , __leaf__));
2822 # 360 "/usr/include/signal.h" 2 3 4
2823 
2824 
2825 
2826 
2827 
2828 
2829 extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__ , __leaf__));
2830 
2831 extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__ , __leaf__));
2832 
2833 
2834 
2835 
2836 
2837 # 544 "papi.h" 2
2838 # 556 "papi.h"
2839 
2840 # 556 "papi.h"
2841 typedef unsigned long PAPI_thread_id_t;
2842 
2843 
2844  typedef struct _papi_all_thr_spec {
2845  int num;
2846  PAPI_thread_id_t *id;
2847  void **data;
2849 
2850  typedef void (*PAPI_overflow_handler_t) (int EventSet, void *address,
2851  long long overflow_vector, void *context);
2852 
2853 
2854 
2855 
2856 
2857 
2858  typedef char *caddr_t;
2859 
2860 
2861 
2862 
2863 
2864 
2865  typedef struct _papi_sprofil {
2866  void *pr_base;
2867  unsigned pr_size;
2868  caddr_t pr_off;
2869  unsigned pr_scale;
2870 
2871 
2872 
2873  } PAPI_sprofil_t;
2874 
2875 
2876  typedef struct _papi_itimer_option {
2877  int itimer_num;
2878  int itimer_sig;
2879  int ns;
2880  int flags;
2882 
2883 
2884  typedef struct _papi_inherit_option {
2885  int eventset;
2886  int inherit;
2888 
2889 
2890  typedef struct _papi_domain_option {
2891  int def_cidx;
2892  int eventset;
2893  int domain;
2895 
2896 
2897  typedef struct _papi_granularity_option {
2898  int def_cidx;
2899  int eventset;
2900  int granularity;
2902 
2903 
2904  typedef struct _papi_preload_option {
2905  char lib_preload_env[128];
2906  char lib_preload_sep;
2907  char lib_dir_env[128];
2908  char lib_dir_sep;
2910 
2911 
2912  typedef struct _papi_component_option {
2913  char name[128];
2914  char short_name[64];
2915 
2916  char description[128];
2917  char version[64];
2918  char support_version[64];
2919  char kernel_version[64];
2920  char disabled_reason[128];
2921  int disabled;
2922  int CmpIdx;
2923  int num_cntrs;
2924  int num_mpx_cntrs;
2925  int num_preset_events;
2926  int num_native_events;
2927  int default_domain;
2928  int available_domains;
2929  int default_granularity;
2930  int available_granularities;
2931  int hardware_intr_sig;
2932 
2933  int component_type;
2934  char *pmu_names[40];
2935  int reserved[8];
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;
2941 
2942 
2943  unsigned int fast_counter_read:1;
2944  unsigned int fast_real_timer:1;
2945  unsigned int fast_virtual_timer:1;
2946  unsigned int attach:1;
2947  unsigned int attach_must_ptrace:1;
2948 
2949 
2950 
2951 
2952  unsigned int cntr_umasks:1;
2953 
2954 
2955 
2956 
2957  unsigned int cpu:1;
2958  unsigned int inherit:1;
2959  unsigned int reserved_bits:12;
2961 
2962 
2963  typedef struct _papi_mpx_info {
2964  int timer_sig;
2965  int timer_num;
2966  int timer_us;
2967  } PAPI_mpx_info_t;
2968 
2969  typedef int (*PAPI_debug_handler_t) (int code);
2970 
2971 
2972  typedef struct _papi_debug_option {
2973  int level;
2976 
2977 
2978 
2979  typedef struct _papi_address_map {
2980  char name[1024];
2981  caddr_t text_start;
2982  caddr_t text_end;
2983  caddr_t data_start;
2984  caddr_t data_end;
2985  caddr_t bss_start;
2986  caddr_t bss_end;
2988 
2989 
2990 
2991  typedef struct _papi_program_info {
2992  char fullname[1024];
2993  PAPI_address_map_t address_info;
2994  } PAPI_exe_info_t;
2995 
2996 
2997  typedef struct _papi_shared_lib_info {
2998  PAPI_address_map_t *map;
2999  int count;
3001 
3002 
3004 # 748 "papi.h"
3005  typedef struct _papi_mh_tlb_info {
3006  int type;
3007  int num_entries;
3008  int page_size;
3009  int associativity;
3011 
3012 
3013  typedef struct _papi_mh_cache_info {
3014  int type;
3015  int size;
3016  int line_size;
3017  int num_lines;
3018  int associativity;
3020 
3021 
3022  typedef struct _papi_mh_level_info {
3023  PAPI_mh_tlb_info_t tlb[6];
3025  } PAPI_mh_level_t;
3026 
3027 
3028 
3029  typedef struct _papi_mh_info {
3030  int levels;
3031  PAPI_mh_level_t level[4];
3032  } PAPI_mh_info_t;
3033 
3034 
3035 
3036  typedef struct _papi_hw_info {
3037  int ncpu;
3038  int threads;
3039  int cores;
3040  int sockets;
3041  int nnodes;
3042  int totalcpus;
3043  int vendor;
3044  char vendor_string[128];
3045  int model;
3046  char model_string[128];
3047  float revision;
3048  int cpuid_family;
3049  int cpuid_model;
3050  int cpuid_stepping;
3051 
3052  int cpu_max_mhz;
3053  int cpu_min_mhz;
3054 
3055  PAPI_mh_info_t mem_hierarchy;
3056  int virtualized;
3057  char virtual_vendor_string[128];
3058 
3059  char virtual_vendor_version[128];
3060 
3061 
3062 
3063  float mhz;
3064  int clock_mhz;
3065 
3066 
3067  int reserved[8];
3068 
3069  } PAPI_hw_info_t;
3070 
3071 
3072  typedef struct _papi_attach_option {
3073  int eventset;
3074  unsigned long tid;
3076 
3077 
3078  typedef struct _papi_cpu_option {
3079  int eventset;
3080  unsigned int cpu_num;
3082 
3083 
3084  typedef struct _papi_multiplex_option {
3085  int eventset;
3086  int ns;
3087  int flags;
3089 
3090 
3091 
3092  typedef struct _papi_addr_range_option {
3093  int eventset;
3094  caddr_t start;
3095  caddr_t end;
3096  int start_off;
3097  int end_off;
3099 
3100 
3101 
3102 
3103 
3104  typedef union
3105  {
3106  PAPI_preload_info_t preload;
3109  PAPI_granularity_option_t granularity;
3110  PAPI_granularity_option_t defgranularity;
3111  PAPI_domain_option_t domain;
3112  PAPI_domain_option_t defdomain;
3114  PAPI_cpu_option_t cpu;
3116  PAPI_itimer_option_t itimer;
3118  PAPI_shlib_info_t *shlib_info;
3119  PAPI_exe_info_t *exe_info;
3120  PAPI_component_info_t *cmp_info;
3122  PAPI_user_defined_events_file_t events_file;
3123  } PAPI_option_t;
3124 
3125 
3126 
3127  typedef struct _dmem_t {
3128  long long peak;
3129  long long size;
3130  long long resident;
3131  long long high_water_mark;
3132  long long shared;
3133  long long text;
3134  long long library;
3135  long long heap;
3136  long long locked;
3137  long long stack;
3138  long long pagesize;
3139  long long pte;
3140  } PAPI_dmem_info_t;
3141 # 924 "papi.h"
3142 enum {
3147 };
3148 
3149 
3150 enum {
3155 };
3156 
3157 
3158 enum {
3161 };
3162 
3163 
3164 enum {
3169 };
3170 
3171 
3172 enum {
3177 };
3178 
3179 
3180  typedef struct event_info {
3181  unsigned int event_code;
3182 
3183  char symbol[1024];
3184  char short_descr[64];
3185 
3186  char long_descr[1024];
3187 
3188 
3189 
3190 
3191  int component_index;
3192  char units[64];
3193  int location;
3194  int data_type;
3195  int value_type;
3196  int timescope;
3197  int update_type;
3198  int update_freq;
3199 
3200 
3201 
3202 
3203 
3204  unsigned int count;
3205 
3206 
3207 
3208 
3209  unsigned int event_type;
3210 
3211 
3212  char derived[64];
3213 
3214 
3215  char postfix[256];
3216 
3217 
3218 
3219 
3220  unsigned int code[12];
3221 
3222 
3223 
3224 
3225  char name[12]
3226  [256];
3227 
3228 
3229 
3230  char note[1024];
3231 
3232 
3233 
3234 
3236 
3237 
3238 
3239 
3240 
3241 
3242 
3243  int PAPI_accum(int EventSet, long long * values);
3244  int PAPI_add_event(int EventSet, int Event);
3245  int PAPI_add_named_event(int EventSet, const char *EventName);
3246  int PAPI_add_events(int EventSet, int *Events, int number);
3248  int PAPI_attach(int EventSet, unsigned long tid);
3250  int PAPI_create_eventset(int *EventSet);
3251  int PAPI_detach(int EventSet);
3252  int PAPI_destroy_eventset(int *EventSet);
3253  int PAPI_enum_event(int *EventCode, int modifier);
3254  int PAPI_enum_cmp_event(int *EventCode, int modifier, int cidx);
3255  int PAPI_event_code_to_name(int EventCode, char *out);
3256  int PAPI_event_name_to_code(const char *in, int *out);
3258  int PAPI_get_event_info(int EventCode, PAPI_event_info_t * info);
3262  int PAPI_get_multiplex(int EventSet);
3263  int PAPI_get_opt(int option, PAPI_option_t * ptr);
3264  int PAPI_get_cmp_opt(int option, PAPI_option_t * ptr,int cidx);
3265  long long PAPI_get_real_cyc(void);
3266  long long PAPI_get_real_nsec(void);
3267  long long PAPI_get_real_usec(void);
3269  int PAPI_get_thr_specific(int tag, void **ptr);
3270  int PAPI_get_overflow_event_index(int Eventset, long long overflow_vector, int *array, int *number);
3271  long long PAPI_get_virt_cyc(void);
3272  long long PAPI_get_virt_nsec(void);
3273  long long PAPI_get_virt_usec(void);
3274  int PAPI_is_initialized(void);
3275  int PAPI_library_init(int version);
3276  int PAPI_list_events(int EventSet, int *Events, int *number);
3277  int PAPI_list_threads(unsigned long *tids, int *number);
3278  int PAPI_lock(int);
3279  int PAPI_multiplex_init(void);
3280  int PAPI_num_cmp_hwctrs(int cidx);
3281  int PAPI_num_events(int EventSet);
3282  int PAPI_overflow(int EventSet, int EventCode, int threshold,
3283  int flags, PAPI_overflow_handler_t handler);
3284  void PAPI_perror(const char *msg );
3285  int PAPI_profil(void *buf, unsigned bufsiz, caddr_t offset,
3286  unsigned scale, int EventSet, int EventCode,
3287  int threshold, int flags);
3288  int PAPI_query_event(int EventCode);
3289  int PAPI_query_named_event(const char *EventName);
3290  int PAPI_read(int EventSet, long long * values);
3291  int PAPI_read_ts(int EventSet, long long * values, long long *cyc);
3292  int PAPI_register_thread(void);
3293  int PAPI_remove_event(int EventSet, int EventCode);
3294  int PAPI_remove_named_event(int EventSet, const char *EventName);
3295  int PAPI_remove_events(int EventSet, int *Events, int number);
3296  int PAPI_reset(int EventSet);
3297  int PAPI_set_debug(int level);
3298  int PAPI_set_cmp_domain(int domain, int cidx);
3299  int PAPI_set_domain(int domain);
3300  int PAPI_set_cmp_granularity(int granularity, int cidx);
3301  int PAPI_set_granularity(int granularity);
3302  int PAPI_set_multiplex(int EventSet);
3303  int PAPI_set_opt(int option, PAPI_option_t * ptr);
3304  int PAPI_set_thr_specific(int tag, void *ptr);
3305  void PAPI_shutdown(void);
3306  int PAPI_sprofil(PAPI_sprofil_t * prof, int profcnt, int EventSet, int EventCode, int threshold, int flags);
3307  int PAPI_start(int EventSet);
3308  int PAPI_state(int EventSet, int *status);
3309  int PAPI_stop(int EventSet, long long * values);
3310  char *PAPI_strerror(int);
3311  unsigned long PAPI_thread_id(void);
3312  int PAPI_thread_init(unsigned long (*id_fn) (void));
3313  int PAPI_unlock(int);
3314  int PAPI_unregister_thread(void);
3315  int PAPI_write(int EventSet, long long * values);
3316  int PAPI_get_event_component(int EventCode);
3318  int PAPI_get_component_index(const char *name);
3319  int PAPI_disable_component(int cidx);
3320  int PAPI_disable_component_by_name(const char *name );
3321 # 1116 "papi.h"
3322  int PAPI_accum_counters(long long * values, int array_len);
3323  int PAPI_num_counters(void);
3324  int PAPI_num_components(void);
3325  int PAPI_read_counters(long long * values, int array_len);
3326  int PAPI_start_counters(int *events, int array_len);
3327  int PAPI_stop_counters(long long * values, int array_len);
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);
3332 
3333 
3334 
3335 
3336 
3337 int PAPI_num_hwctrs(void);
3338 
3339 
3340 
3341 
3342 
3343 
3344 
3345 #pragma GCC visibility pop
3346 # 27 "papi_fwrappers.c" 2
3347 # 50 "papi_fwrappers.c"
3348 static void Fortran2cstring( char *cstring, char *Fstring, int clen , int Flen )
3349 {
3350  int slen, i;
3351 
3352 
3353  slen = Flen < clen ? Flen : clen;
3354  strncpy( cstring, Fstring, ( size_t ) slen );
3355 
3356 
3357  for ( i = slen - 1; i > -1 && cstring[i] == ' '; cstring[i--] = '\0' );
3358 
3359 
3360  cstring[clen - 1] = '\0';
3361  if ( slen < clen )
3362  cstring[slen] = '\0';
3363 }
3364 # 78 "papi_fwrappers.c"
3365 void papif_accum__ ( int *EventSet, long long *values, int *check )
3366 
3367 {
3368  *check = PAPI_accum( *EventSet, values );
3369 }
3370 # 94 "papi_fwrappers.c"
3371 void papif_add_event__ ( int *EventSet, int *Event, int *check )
3372 
3373 {
3375 }
3376 # 111 "papi_fwrappers.c"
3377 void papif_add_named_event__ ( int *EventSet, char *EventName, int *check, int Event_len )
3378 
3379 {
3380  char tmp[128];
3381  Fortran2cstring( tmp, EventName, 128, Event_len );
3383 }
3384 # 136 "papi_fwrappers.c"
3385 void papif_add_events__ ( int *EventSet, int *Events, int *number, int *check )
3386 
3387 {
3388  *check = PAPI_add_events( *EventSet, Events, *number );
3389 }
3390 # 152 "papi_fwrappers.c"
3392 
3393 {
3395 }
3396 # 168 "papi_fwrappers.c"
3398 
3399 {
3401 }
3402 # 184 "papi_fwrappers.c"
3404 
3405 {
3407 }
3408 # 200 "papi_fwrappers.c"
3410 
3411 {
3413 }
3414 # 217 "papi_fwrappers.c"
3415 void papif_get_dmem_info__ ( long long *dest, int *check )
3416 
3417 {
3418  *check = PAPI_get_dmem_info( ( PAPI_dmem_info_t * ) dest );
3419 }
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"
3423 {
3424  PAPI_option_t e;
3425 
3426 
3427 
3428 
3429 
3430  if ( ( *check = PAPI_get_opt( 17, &e ) ) == 0 ) {
3431 
3432  int i;
3433  strncpy( fullname, e.exe_info->fullname, ( size_t ) fullname_len );
3434  for ( i = ( int ) strlen( e.exe_info->fullname ); i < fullname_len;
3435  fullname[i++] = ' ' );
3436  strncpy( name, e.exe_info->address_info.name, ( size_t ) name_len );
3437  for ( i = ( int ) strlen( e.exe_info->address_info.name ); i < name_len;
3438  name[i++] = ' ' );
3439 
3440 
3441 
3442 
3443  *text_start = ( long ) e.exe_info->address_info.text_start;
3444  *text_end = ( long ) e.exe_info->address_info.text_end;
3445  *data_start = ( long ) e.exe_info->address_info.data_start;
3446  *data_end = ( long ) e.exe_info->address_info.data_end;
3447  *bss_start = ( long ) e.exe_info->address_info.bss_start;
3448  *bss_end = ( long ) e.exe_info->address_info.bss_end;
3449  }
3450 }
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"
3454 {
3455  const PAPI_hw_info_t *hwinfo;
3456  int i;
3457  hwinfo = PAPI_get_hardware_info( );
3458  if ( hwinfo ==
3459 # 320 "papi_fwrappers.c" 3 4
3460  ((void *)0)
3461 # 320 "papi_fwrappers.c"
3462  ) {
3463  *ncpu = 0;
3464  *nnodes = 0;
3465  *totalcpus = 0;
3466  *vendor = 0;
3467  *model = 0;
3468  *revision = 0;
3469  *mhz = 0;
3470  } else {
3471  *ncpu = hwinfo->ncpu;
3472  *nnodes = hwinfo->nnodes;
3473  *totalcpus = hwinfo->totalcpus;
3474  *vendor = hwinfo->vendor;
3475  *model = hwinfo->model;
3476  *revision = hwinfo->revision;
3477  *mhz = hwinfo->cpu_max_mhz;
3478 
3479  strncpy( vendor_str, hwinfo->vendor_string, ( size_t ) vendor_len );
3480  for ( i = ( int ) strlen( hwinfo->vendor_string ); i < vendor_len;
3481  vendor_str[i++] = ' ' );
3482  strncpy( model_str, hwinfo->model_string, ( size_t ) model_len );
3483  for ( i = ( int ) strlen( hwinfo->model_string ); i < model_len;
3484  model_str[i++] = ' ' );
3485 
3486 
3487 
3488 
3489 
3490 
3491 
3492  }
3493  return;
3494 }
3495 # 365 "papi_fwrappers.c"
3496 void papif_num_hwctrs__ ( int *num )
3497 {
3498  *num = PAPI_num_hwctrs( );
3499 }
3500 # 381 "papi_fwrappers.c"
3501 void papif_num_cmp_hwctrs__ ( int *cidx, int *num )
3502 
3503 {
3504  *num = PAPI_num_cmp_hwctrs( *cidx );
3505 }
3506 # 397 "papi_fwrappers.c"
3507 void papif_get_real_cyc__ ( long long *real_cyc )
3508 {
3509  *real_cyc = PAPI_get_real_cyc( );
3510 }
3511 # 412 "papi_fwrappers.c"
3512 void papif_get_real_usec__ ( long long *time )
3513 {
3514  *time = PAPI_get_real_usec( );
3515 }
3516 # 427 "papi_fwrappers.c"
3517 void papif_get_real_nsec__ ( long long *time )
3518 {
3519  *time = PAPI_get_real_nsec( );
3520 }
3521 # 442 "papi_fwrappers.c"
3522 void papif_get_virt_cyc__ ( long long *virt_cyc )
3523 {
3524  *virt_cyc = PAPI_get_virt_cyc( );
3525 }
3526 # 457 "papi_fwrappers.c"
3527 void papif_get_virt_usec__ ( long long *time )
3528 {
3529  *time = PAPI_get_virt_usec( );
3530 }
3531 # 472 "papi_fwrappers.c"
3532 void papif_is_initialized__ ( int *level )
3533 {
3534  *level = PAPI_is_initialized( );
3535 }
3536 # 487 "papi_fwrappers.c"
3538 {
3539  *check = PAPI_library_init( *check );
3540 }
3541 # 502 "papi_fwrappers.c"
3542 void papif_thread_id__ ( unsigned long *id )
3543 {
3544  *id = PAPI_thread_id( );
3545 }
3546 # 517 "papi_fwrappers.c"
3548 {
3550 }
3551 # 532 "papi_fwrappers.c"
3553 {
3555 }
3556 
3557 
3558 
3559 
3561 {
3563 }
3564 # 556 "papi_fwrappers.c"
3565 void papif_thread_init__ ( unsigned long int ( *handle ) ( void ), int *check )
3566 
3567 {
3568  *check = PAPI_thread_init( handle );
3569 }
3570 # 572 "papi_fwrappers.c"
3571 void papif_list_events__ ( int *EventSet, int *Events, int *number, int *check )
3572 
3573 {
3574  *check = PAPI_list_events( *EventSet, Events, number );
3575 }
3576 # 588 "papi_fwrappers.c"
3578 {
3579  *check = PAPI_multiplex_init( );
3580 }
3581 # 603 "papi_fwrappers.c"
3583 
3584 {
3586 }
3587 # 619 "papi_fwrappers.c"
3589 
3590 {
3592 }
3593 # 636 "papi_fwrappers.c"
3594 void papif_perror__ ( char *message, int message_len )
3595 
3596 
3597 
3598 
3599 
3600 
3601 {
3602 
3603  char tmp[128];
3604  Fortran2cstring( tmp, message, 128, message_len );
3605 
3606  PAPI_perror( tmp );
3607 
3608 
3609 
3610 }
3611 # 672 "papi_fwrappers.c"
3612 void papif_query_event__ ( int *EventCode, int *check )
3613 
3614 {
3615  *check = PAPI_query_event( *EventCode );
3616 }
3617 # 689 "papi_fwrappers.c"
3618 void papif_query_named_event__ ( char *EventName, int *check, int Event_len )
3619 
3620 {
3621  char tmp[128];
3622  Fortran2cstring( tmp, EventName, 128, Event_len );
3624 }
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"
3628 {
3629  PAPI_event_info_t info;
3630  ( void ) flags;
3631 
3632  int i;
3633  if ( ( *check = PAPI_get_event_info( *EventCode, &info ) ) == 0 ) {
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++] = ' ' );
3643 
3644  *count = ( int ) info.count;
3645 
3646  int note_len=0;
3647 
3648  strncpy( event_note, info.note, ( size_t ) event_note_len );
3649  note_len=strlen(info.note);
3650 
3651  for ( i = note_len; i < event_note_len;
3652  event_note[i++] = ' ' );
3653  }
3654 # 766 "papi_fwrappers.c"
3655 }
3656 # 779 "papi_fwrappers.c"
3657 void papif_event_code_to_name__ ( int *EventCode, char *out_str, int *check, int out_len )
3658 
3659 
3660 
3661 
3662 
3663 {
3664 
3665  char tmp[128];
3666  int i;
3667  *check = PAPI_event_code_to_name( *EventCode, tmp );
3668 
3669  strncpy( out_str, tmp, ( size_t ) out_len );
3670 
3671  for ( i = ( int ) strlen( tmp ); i < out_len; out_str[i++] = ' ' );
3672 
3673 
3674 
3675 
3676 }
3677 # 811 "papi_fwrappers.c"
3678 void papif_event_name_to_code__ ( char *in_str, int *out, int *check, int in_len )
3679 
3680 
3681 
3682 
3683 
3684 {
3685 
3686  int slen, i;
3687  char tmpin[128];
3688 
3689 
3690  slen = in_len < 128 ? in_len : 128;
3691  strncpy( tmpin, in_str, ( size_t ) slen );
3692 
3693 
3694  for ( i = slen - 1; i > -1 && tmpin[i] == ' '; tmpin[i--] = '\0' );
3695 
3696 
3697  tmpin[128 - 1] = '\0';
3698  if ( slen < 128 )
3699  tmpin[slen] = '\0';
3700 
3701  *check = PAPI_event_name_to_code( tmpin, out );
3702 
3703 
3704 
3705 
3706 }
3707 # 851 "papi_fwrappers.c"
3708 void papif_num_events__ ( int *EventCode, int *count )
3709 {
3710  *count = PAPI_num_events( *EventCode );
3711 }
3712 # 866 "papi_fwrappers.c"
3713 void papif_enum_event__ ( int *EventCode, int *modifier, int *check )
3714 
3715 {
3716  *check = PAPI_enum_event( EventCode, *modifier );
3717 }
3718 # 882 "papi_fwrappers.c"
3719 void papif_read__ ( int *EventSet, long long *values, int *check )
3720 
3721 {
3722  *check = PAPI_read( *EventSet, values );
3723 }
3724 # 898 "papi_fwrappers.c"
3725 void papif_read_ts__ ( int *EventSet, long long *values, long long *cycles, int *check )
3726 
3727 {
3728  *check = PAPI_read_ts( *EventSet, values, cycles );
3729 }
3730 # 914 "papi_fwrappers.c"
3731 void papif_remove_event__ ( int *EventSet, int *Event, int *check )
3732 
3733 {
3735 }
3736 # 931 "papi_fwrappers.c"
3737 void papif_remove_named_event__ ( int *EventSet, char *EventName, int *check, int Event_len )
3738 
3739 {
3740  char tmp[128];
3741  Fortran2cstring( tmp, EventName, 128, Event_len );
3743 }
3744 # 956 "papi_fwrappers.c"
3745 void papif_remove_events__ ( int *EventSet, int *Events, int *number, int *check )
3746 
3747 {
3748  *check = PAPI_remove_events( *EventSet, Events, *number );
3749 }
3750 # 972 "papi_fwrappers.c"
3751 void papif_reset__ ( int *EventSet, int *check )
3752 {
3753  *check = PAPI_reset( *EventSet );
3754 }
3755 # 987 "papi_fwrappers.c"
3756 void papif_set_debug__ ( int *debug, int *check )
3757 {
3758  *check = PAPI_set_debug( *debug );
3759 }
3760 # 1002 "papi_fwrappers.c"
3761 void papif_set_domain__ ( int *domain, int *check )
3762 {
3763  *check = PAPI_set_domain( *domain );
3764 }
3765 # 1017 "papi_fwrappers.c"
3766 void papif_set_cmp_domain__ ( int *domain, int *cidx, int *check )
3767 
3768 {
3769  *check = PAPI_set_cmp_domain( *domain, *cidx );
3770 }
3771 # 1033 "papi_fwrappers.c"
3772 void papif_set_granularity__ ( int *granularity, int *check )
3773 
3774 {
3775  *check = PAPI_set_granularity( *granularity );
3776 }
3777 # 1049 "papi_fwrappers.c"
3778 void papif_set_cmp_granularity__ ( int *granularity, int *cidx, int *check )
3779 
3780 {
3781  *check = PAPI_set_cmp_granularity( *granularity, *cidx );
3782 }
3783 # 1065 "papi_fwrappers.c"
3784 void papif_shutdown__ ( void )
3785 {
3786  PAPI_shutdown( );
3787 }
3788 # 1080 "papi_fwrappers.c"
3789 void papif_start__ ( int *EventSet, int *check )
3790 {
3791  *check = PAPI_start( *EventSet );
3792 }
3793 # 1095 "papi_fwrappers.c"
3794 void papif_state__ ( int *EventSet, int *status, int *check )
3795 
3796 {
3797  *check = PAPI_state( *EventSet, status );
3798 }
3799 # 1111 "papi_fwrappers.c"
3800 void papif_stop__ ( int *EventSet, long long *values, int *check )
3801 
3802 {
3803  *check = PAPI_stop( *EventSet, values );
3804 }
3805 # 1127 "papi_fwrappers.c"
3806 void papif_write__ ( int *EventSet, long long *values, int *check )
3807 
3808 {
3809  *check = PAPI_write( *EventSet, values );
3810 }
3811 # 1143 "papi_fwrappers.c"
3812 void papif_lock__ ( int *lock, int *check )
3813 
3814 {
3815  *check = PAPI_lock( *lock );
3816 }
3817 # 1159 "papi_fwrappers.c"
3818 void papif_unlock__ ( int *lock, int *check )
3819 
3820 {
3821  *check = PAPI_unlock( *lock );
3822 }
3823 # 1177 "papi_fwrappers.c"
3824 void papif_start_counters__ ( int *events, int *array_len, int *check )
3825 
3826 {
3827  *check = PAPI_start_counters( events, *array_len );
3828 }
3829 # 1193 "papi_fwrappers.c"
3830 void papif_read_counters__ ( long long *values, int *array_len, int *check )
3831 
3832 {
3833  *check = PAPI_read_counters( values, *array_len );
3834 }
3835 # 1209 "papi_fwrappers.c"
3836 void papif_stop_counters__ ( long long *values, int *array_len, int *check )
3837 
3838 {
3839  *check = PAPI_stop_counters( values, *array_len );
3840 }
3841 # 1225 "papi_fwrappers.c"
3842 void papif_accum_counters__ ( long long *values, int *array_len, int *check )
3843 
3844 {
3845  *check = PAPI_accum_counters( values, *array_len );
3846 }
3847 # 1241 "papi_fwrappers.c"
3849 {
3851 }
3852 # 1256 "papi_fwrappers.c"
3853 void papif_ipc__ ( float *rtime, float *ptime, long long *ins, float *ipc, int *check )
3854 
3855 
3856 {
3857  *check = PAPI_ipc( rtime, ptime, ins, ipc );
3858 }
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)
3861 
3862 
3863 
3864 {
3865  *check = PAPI_epc( event, rtime, ptime, ref, core, evt, epc );
3866 }
3867 # 1291 "papi_fwrappers.c"
3868 void papif_flips__ ( float *real_time, float *proc_time, long long *flpins, float *mflips, int *check )
3869 
3870 
3871 {
3872  *check = PAPI_flips( real_time, proc_time, flpins, mflips );
3873 }
3874 # 1308 "papi_fwrappers.c"
3875 void papif_flops__ ( float *real_time, float *proc_time, long long *flpops, float *mflops, int *check )
3876 
3877 
3878 {
3879  *check = PAPI_flops( real_time, proc_time, flpops, mflops );
3880 }
3881 # 1330 "papi_fwrappers.c"
3882 void papif_get_clockrate__ ( int *cr )
3883 {
3884  *cr = PAPI_get_opt( 14, (PAPI_option_t *)
3885 # 1332 "papi_fwrappers.c" 3 4
3886  ((void *)0)
3887 # 1332 "papi_fwrappers.c"
3888  );
3889 }
3890 # 1348 "papi_fwrappers.c"
3891 void papif_get_preload__ ( char *lib_preload_env, int *check, int lib_preload_env_len )
3892 
3893 
3894 
3895 
3896 
3897 {
3898  PAPI_option_t p;
3899 
3900  int i;
3901 
3902  if ( ( *check = PAPI_get_opt( 13, &p ) ) == 0 ) {
3903  strncpy( lib_preload_env, p.preload.lib_preload_env,
3904  ( size_t ) lib_preload_env_len );
3905  for ( i = ( int ) strlen( p.preload.lib_preload_env );
3906  i < lib_preload_env_len; lib_preload_env[i++] = ' ' );
3907  }
3908 
3909 
3910 
3911 
3912 
3913 }
3914 # 1382 "papi_fwrappers.c"
3915 void papif_get_granularity__ ( int *eventset, int *granularity, int *mode, int *check )
3916 
3917 {
3918  PAPI_option_t g;
3919 
3920  if ( *mode == 6 ) {
3921  *granularity = PAPI_get_opt( *mode, &g );
3922  *check = 0;
3923  } else if ( *mode == 7 ) {
3924  g.granularity.eventset = *eventset;
3925  if ( ( *check = PAPI_get_opt( *mode, &g ) ) == 0 ) {
3926  *granularity = g.granularity.granularity;
3927  }
3928  } else {
3929  *check = -1;
3930  }
3931 }
3932 # 1410 "papi_fwrappers.c"
3933 void papif_get_domain__ ( int *eventset, int *domain, int *mode, int *check )
3934 
3935 {
3936  PAPI_option_t d;
3937 
3938  if ( *mode == 4 ) {
3939  *domain = PAPI_get_opt( *mode, (PAPI_option_t *)
3940 # 1416 "papi_fwrappers.c" 3 4
3941  ((void *)0)
3942 # 1416 "papi_fwrappers.c"
3943  );
3944  *check = 0;
3945  } else if ( *mode == 5 ) {
3946  d.domain.eventset = *eventset;
3947  if ( ( *check = PAPI_get_opt( *mode, &d ) ) == 0 ) {
3948  *domain = d.domain.domain;
3949  }
3950  } else {
3951  *check = -1;
3952  }
3953 }
3954 # 1450 "papi_fwrappers.c"
3955 void papif_set_event_domain__ ( int *es, int *domain, int *check )
3956 
3957 {
3958  PAPI_option_t d;
3959 
3960  d.domain.domain = *domain;
3961  d.domain.eventset = *es;
3962  *check = PAPI_set_opt( 5, &d );
3963 }
3964 # 1470 "papi_fwrappers.c"
3965 void papif_set_inherit__ ( int *inherit, int *check )
3966 {
3967  PAPI_option_t i;
3968 
3969  i.inherit.inherit = *inherit;
3970  *check = PAPI_set_opt( 28, &i );
3971 }
3972 
3973 #pragma GCC visibility pop
i inherit inherit
int gettimeofday(struct timeval *__restrict __tv, __timezone_ptr_t __tz) __attribute__((__nothrow__
unsigned int count
Definition: papi.h:988
void papif_add_event__(int *EventSet, int *Event, int *check)
int PAPI_stop(int EventSet, long long *values)
Definition: papi.c:2314
void papif_is_initialized__(int *level)
int __clockid_t
void papif_set_granularity__(int *granularity, int *check)
int PAPI_is_initialized(void)
Definition: papi.c:6463
unsigned int __id_t
__sig_atomic_t sig_atomic_t
unsigned int gnu_dev_minor(__dev_t __dev) __attribute__((__nothrow__
void papif_library_init__(int *check)
int sigaltstack(const stack_t *__restrict __ss, stack_t *__restrict __oss) __attribute__((__nothrow__
static const char * name
Definition: fork_overflow.c:31
signed long int __int64_t
const PAPI_component_info_t * PAPI_get_component_info(int cidx)
Definition: papi.c:796
__blkcnt_t blkcnt_t
__u64 __le64
void papif_get_exe_info__(char *fullname, char *name, long long *text_start, long long *text_end, long long *data_start, long long *data_end, long long *bss_start, long long *bss_end, int *check, int fullname_len, int name_len)
void papif_destroy_eventset__(int *EventSet, int *check)
void papif_thread_init__(unsigned long int(*handle)(void), int *check)
int __overflow(_IO_FILE *, int)
void papif_stop__(int *EventSet, long long *values, int *check)
unsigned long long pc
int sigsuspend(const sigset_t *__set) __attribute__((__nonnull__(1)))
void papif_get_domain__(int *eventset, int *domain, int *mode, int *check)
void papif_state__(int *EventSet, int *status, int *check)
size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream)
Definition: appio.c:387
int PAPI_add_event(int EventSet, int Event)
Definition: papi.c:1663
Hardware info structure.
Definition: papi.h:781
unsigned int __kernel_uid32_t
long long PAPI_get_virt_usec(void)
Definition: papi.c:6372
int PAPI_set_cmp_granularity(int granularity, int cidx)
Definition: papi.c:5622
unsigned int __nlink_t
struct __pthread_cond_s::@25::@29 __wseq32
int PAPI_reset(int EventSet)
Definition: papi.c:2459
void papif_num_counters__(int *numevents)
static int numevents
Definition: kufrin.c:22
unsigned char __u_char
unsigned long int pthread_t
int __key_t
unsigned int __kernel_mode_t
unsigned int __u32
long int __clock_t
__time_t tv_sec
struct __locale_struct * __locale_t
long int __ssize_t
unsigned short __u16
unsigned int __wrefs
void papif_event_code_to_name__(int *EventCode, char *out_str, int *check, int out_len)
const PAPI_shlib_info_t * PAPI_get_shared_lib_info(void)
Definition: papi.c:6144
__extension__ typedef unsigned long long __u64
__codecvt_result
unsigned int __g_signals[2]
caddr_t text_end
Definition: papi.h:699
int PAPI_disable_component_by_name(const char *name)
Definition: papi.c:6717
int sigaction(int __sig, const struct sigaction *__restrict __act, struct sigaction *__restrict __oact) __attribute__((__nothrow__
char * _IO_backup_base
int killpg(__pid_t __pgrp, int __sig) __attribute__((__nothrow__
unsigned int __gid_t
static int Events[NUM_EVENTS]
Definition: init_fini.c:8
unsigned long PAPI_thread_id(void)
Definition: papi.c:162
int PAPI_write(int EventSet, long long *values)
Definition: papi.c:2813
int sigwait(const sigset_t *__restrict __set, int *__restrict __sig) __attribute__((__nonnull__(1
__u32 __be32
void papif_get_virt_usec__(long long *time)
struct _aarch64_ctx head
__fd_mask fd_mask
int PAPI_ipc(float *rtime, float *ptime, long long *ins, float *ipc)
Definition: papi_hl.c:320
int __sig_atomic_t
int PAPI_remove_event(int EventSet, int EventCode)
Definition: papi.c:1758
long int __syscall_slong_t
signed long int __int64_t
elf_gregset_t prgregset_t
unsigned int __low
int __leaf__ __attribute__((__pure__))
void papif_read_ts__(int *EventSet, long long *values, long long *cycles, int *check)
struct ucontext_t * uc_link
long long PAPI_get_virt_cyc(void)
Definition: papi.c:6300
void bzero()
int __sig_atomic_t
int siggetmask(void)
long int __off_t
unsigned long int __fsblkcnt64_t
long int __off_t
__sighandler_t __sysv_signal(int __sig, __sighandler_t __handler) __attribute__((__nothrow__
int __kernel_timer_t
elf_greg_t elf_gregset_t[(sizeof(struct user_regs_struct)/sizeof(elf_greg_t))]
unsigned int pthread_key_t
long int __blkcnt_t
unsigned long int __u_quad_t
off64_t offset
Definition: iozone.c:1279
int gsignal(int __sig) __attribute__((__nothrow__
int PAPI_flops(float *rtime, float *ptime, long long *flpops, float *mflops)
Definition: papi_hl.c:263
void papif_register_thread__(int *check)
unsigned long int __dev_t
unsigned __poll_t
long int __suseconds_t
int PAPI_accum_counters(long long *values, int array_len)
Definition: papi_hl.c:760
__ssize_t __io_write_fn(void *__cookie, const char *__buf, size_t __n)
int PAPI_num_components(void)
Definition: papi.c:4387
int select(int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout)
unsigned long int __rlim64_t
_IO_lock_t * _lock
char * __kernel_caddr_t
static double array[ARRAYSIZE]
Definition: papi_l1_dca.c:23
int PAPI_enum_event(int *EventCode, int modifier)
Definition: papi.c:1152
long int __suseconds_t
int settimeofday(const struct timeval *__tv, const struct timezone *__tz) __attribute__((__nothrow__
void * __pad4
PAPI_granularity_option_t granularity
Definition: papi.h:854
unsigned short int __uint16_t
int __blksize_t
void papif_start__(int *EventSet, int *check)
int PAPI_detach(int EventSet)
Definition: papi.c:3258
int siginterrupt(int __sig, int __interrupt) __attribute__((__nothrow__
void papif_enum_event__(int *EventCode, int *modifier, int *check)
void papif_unregister_thread__(int *check)
long int __fd_mask
struct timeval it_value
int __io_close_fn(void *__cookie)
char long_descr[PAPI_HUGE_STR_LEN]
Definition: papi.h:970
int EventSet
size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream)
Definition: appio.c:275
get the executable's info
Definition: papi.h:708
int PAPI_register_thread(void)
Definition: papi.c:208
void papif_accum__(int *EventSet, long long *values, int *check)
long int __blkcnt_t
unsigned int gnu_dev_major(__dev_t __dev) __attribute__((__nothrow__
caddr_t bss_start
Definition: papi.h:702
int __leaf__
void * __timer_t
int __pid_t
int PAPI_event_name_to_code(const char *in, int *out)
Definition: papi.c:1004
int PAPI_overflow(int EventSet, int EventCode, int threshold, int flags, PAPI_overflow_handler_t handler)
Definition: papi.c:4788
void papif_perror__(char *message, int message_len)
void papif_get_preload__(char *lib_preload_env, int *check, int lib_preload_env_len)
int pthread_once_t
A pointer to the following is passed to PAPI_set/get_opt()
Definition: papi.h:849
unsigned int __u32
void * __pad1
static struct timeval start
char units[MAX_EVENTS][BUFSIZ]
Definition: powercap_plot.c:15
int PAPI_remove_events(int EventSet, int *Events, int number)
Definition: papi.c:5931
void papif_read_counters__(long long *values, int *array_len, int *check)
long int __clock_t
int pthread_kill(pthread_t __threadid, int __signo) __attribute__((__nothrow__
int lutimes(const char *__file, const struct timeval __tvp[2]) __attribute__((__nothrow__
long long PAPI_get_virt_nsec(void)
Definition: papi.c:6330
void papif_set_inherit__(int *inherit, int *check)
void _IO_flockfile(_IO_FILE *)
const char *const sys_siglist[(64+1)]
int getitimer(__itimer_which_t __which, struct itimerval *__value) __attribute__((__nothrow__
int PAPI_sprofil(PAPI_sprofil_t *prof, int profcnt, int EventSet, int EventCode, int threshold, int flags)
Definition: papi.c:5044
unsigned int __kernel_old_dev_t
int _IO_ferror(_IO_FILE *__fp) __attribute__((__nothrow__
unsigned int pr_uid
long int __time_t
long __kernel_long_t
unsigned long int pthread_t
int adjtime(const struct timeval *__delta, struct timeval *__olddelta) __attribute__((__nothrow__
__uint128_t vregs[32]
__u16 __sum16
unsigned long __kernel_ulong_t
int PAPI_set_opt(int option, PAPI_option_t *ptr)
Definition: papi.c:3465
int PAPI_add_events(int EventSet, int *Events, int number)
Definition: papi.c:5843
int __daddr_t
void papif_start_counters__(int *events, int *array_len, int *check)
int sigblock(int __mask) __attribute__((__nothrow__
stack_t uc_stack
int __underflow(_IO_FILE *)
int __itimer_which_t
int __itimer_which_t
double tmp
char * _IO_write_base
* check
__u64 __be64
int(* PAPI_debug_handler_t)(int code)
long long __kernel_loff_t
int num_native_events
char * _IO_read_end
__kernel_long_t __kernel_clock_t
int PAPI_get_event_info(int EventCode, PAPI_event_info_t *info)
Definition: papi.c:835
void papif_shutdown__(void)
unsigned long int pr_sigpend
char * _IO_save_end
int PAPI_add_named_event(int EventSet, const char *EventName)
Definition: papi.c:1876
unsigned long int __ino64_t
int _IO_peekc_locked(_IO_FILE *__fp)
char events[MAX_EVENTS][BUFSIZ]
int multiplex(void)
Definition: multiplex.c:35
int utimes(const char *__file, const struct timeval __tvp[2]) __attribute__((__nothrow__
char * _IO_read_base
int PAPI_set_cmp_domain(int domain, int cidx)
Definition: papi.c:5758
void papif_get_real_cyc__(long long *real_cyc)
unsigned int __socklen_t
unsigned long int __pad1
void * __pad2
__kernel_ulong_t __kernel_ino_t
char pr_psargs[(80)]
void papif_query_event__(int *EventCode, int *check)
void papif_accum_counters__(long long *values, int *array_len, int *check)
unsigned long int __ino_t
signed int __int32_t
int PAPI_disable_component(int cidx)
Definition: papi.c:6666
int PAPI_flips(float *rtime, float *ptime, long long *flpins, float *mflips)
Definition: papi_hl.c:204
int PAPI_epc(int event, float *rtime, float *ptime, long long *ref, long long *core, long long *evt, float *epc)
Definition: papi_hl.c:387
int futimes(int __fd, const struct timeval __tvp[2]) __attribute__((__nothrow__
unsigned short _cur_column
long int __ssize_t
int PAPI_num_cmp_hwctrs(int cidx)
Definition: papi.c:3965
int PAPI_get_thr_specific(int tag, void **ptr)
Definition: papi.c:362
int PAPI_accum(int EventSet, long long *values)
Definition: papi.c:2745
int PAPI_num_hwctrs(void)
Definition: papi.c:3909
unsigned int __u_int
struct _IO_FILE_plus _IO_2_1_stderr_
char * __caddr_t
int __blksize_t
void papif_remove_event__(int *EventSet, int *Event, int *check)
unsigned int __u_int
static struct counter_info * event_info
unsigned long long pstate
void papif_flops__(float *real_time, float *proc_time, long long *flpops, float *mflops, int *check)
__syscall_slong_t tv_nsec
static int cidx
long int __quad_t
__pthread_list_t __list
void papif_set_debug__(int *debug, int *check)
static __inline __uint64_t __uint64_identity(__uint64_t __x)
size_t __pad5
struct timeval pr_cutime
int PAPI_library_init(int version)
Definition: papi.c:500
int PAPI_thread_init(unsigned long(*id_fn)(void))
mcontext_t uc_mcontext
int PAPI_profil(void *buf, unsigned bufsiz, caddr_t offset, unsigned scale, int EventSet, int EventCode, int threshold, int flags)
Definition: papi.c:5438
char * _IO_buf_end
__uint64_t elf_greg_t
void papif_event_name_to_code__(char *in_str, int *out, int *check, int in_len)
unsigned short __kernel_old_gid_t
long long debug
Definition: iozone.c:1374
float revision
Definition: papi.h:792
unsigned long int pr_flag
__uint64_t elf_greg_t
unsigned short int __u_short
static __inline __uint64_t __bswap_64(__uint64_t __bsx)
unsigned int __g_refs[2]
unsigned long int __fsfilcnt_t
signed short int __int16_t
long long __kernel_time64_t
__kernel_ulong_t __kernel_size_t
__kernel_size_t __kernel_uapi_size_t
int PAPI_stop_counters(long long *values, int array_len)
Definition: papi_hl.c:807
unsigned long long regs[31]
unsigned long int __syscall_ulong_t
A pointer to the following is passed to PAPI_get_dmem_info()
Definition: papi.h:872
void PAPI_shutdown(void)
Definition: papi.c:4461
unsigned long int __u_long
int PAPI_get_cmp_opt(int option, PAPI_option_t *ptr, int cidx)
Definition: papi.c:4335
void papif_epc__(int event, float *rtime, float *ptime, long long *ref, long long *core, long long *evt, float *epc, int *check)
const PAPI_exe_info_t * PAPI_get_executable_info(void)
Definition: papi.c:6114
__u64 regs[31]
__u8 __reserved [4096] __attribute__((__aligned__(16)))
int PAPI_num_events(int EventSet)
Definition: papi.c:4426
int PAPI_get_opt(int option, PAPI_option_t *ptr)
Definition: papi.c:4143
__builtin_va_list __gnuc_va_list
unsigned short __kernel_gid16_t
long long page_size
Definition: iozone.c:428
int _IO_putc(int __c, _IO_FILE *__fp)
void papif_flips__(float *real_time, float *proc_time, long long *flpins, float *mflips, int *check)
caddr_t text_start
Definition: papi.h:698
struct _aarch64_ctx head
int PAPI_get_component_index(const char *name)
Definition: papi.c:6610
int __libc_current_sigrtmin(void)
struct timeval pr_stime
PAPI_address_map_t address_info
Definition: papi.h:710
char symbol[PAPI_HUGE_STR_LEN]
Definition: papi.h:967
__off64_t __loff_t
elf_gregset_t pr_reg
long unsigned int size_t
unsigned short __kernel_old_uid_t
struct _aarch64_ctx head
void papif_unlock__(int *lock, int *check)
int PAPI_state(int EventSet, int *status)
Definition: papi.c:3053
void papif_set_multiplex__(int *EventSet, int *check)
void papif_stop_counters__(long long *values, int *array_len, int *check)
void(* PAPI_overflow_handler_t)(int EventSet, void *address, long long overflow_vector, void *context)
char model_string[PAPI_MAX_STR_LEN]
Definition: papi.h:791
unsigned char __uint8_t
unsigned long int __fsblkcnt_t
__u16 __be16
int PAPI_query_named_event(const char *EventName)
Definition: papi.c:756
get the executable's address space info
Definition: papi.h:696
signed char __int8_t
unsigned int __uid_t
__locale_t locale_t
PAPI_exe_info_t * exe_info
Definition: papi.h:864
__sighandler_t ssignal(int __sig, __sighandler_t __handler) __attribute__((__nothrow__
void papif_set_domain__(int *domain, int *check)
__kernel_long_t __kernel_ssize_t
unsigned short __u16
void papif_unregster_thread__(int *check)
int sigpending(sigset_t *__set) __attribute__((__nothrow__
unsigned int __nlink_t
void papif_add_events__(int *EventSet, int *Events, int *number, int *check)
void papif_num_events__(int *EventCode, int *count)
__u16 __reserved[3]
unsigned char __u_char
elf_fpregset_t fpregset_t
__kernel_long_t __kernel_time_t
unsigned int __kernel_gid_t
__signed__ short __s16
int nnodes
Definition: papi.h:786
int sigstack(struct sigstack *__ss, struct sigstack *__oss) __attribute__((__nothrow__
unsigned int __high
unsigned int __nusers
__suseconds_t suseconds_t
static int Event[MAX_EVENTS]
char * caddr_t
int _IO_feof(_IO_FILE *__fp) __attribute__((__nothrow__
PAPI_all_thr_spec_t
void(* __sighandler_t)(int)
int PAPI_set_granularity(int granularity)
Definition: papi.c:5557
unsigned int __mode_t
void papif_lock__(int *lock, int *check)
long int __fd_mask
void papif_get_clockrate__(int *cr)
address range specification for range restricted counting if both are zero, range is disabled
Definition: papi.h:837
__sigset_t sigset_t
unsigned long int __u_quad_t
char short_descr[PAPI_MIN_STR_LEN]
Definition: papi.h:968
int PAPI_enum_cmp_event(int *EventCode, int modifier, int cidx)
Definition: papi.c:1357
void(* __kernel_sighandler_t)(int)
int __daddr_t
__pid_t lwpid_t
unsigned char __u8
__kernel_ulong_t __kernel_size_t
const char *const _sys_siglist[(64+1)]
mh for mem hierarchy maybe?
Definition: papi.h:774
unsigned uint
Definition: perfmon.c:40
__extension__ unsigned long long int __wseq
char _unused2[15 *sizeof(int) - 4 *sizeof(void *) - sizeof(size_t)]
short int pr_cursig
struct __pthread_cond_s::@27::@30 __g1_start32
void * __timer_t
__u32 __le32
unsigned short int __u_short
int __key_t
void handler(int EventSet, void *address, long long overflow_vector, void *context)
Definition: rapl_overflow.c:20
unsigned long int __pad2
int __kernel_ipc_pid_t
int PAPI_cleanup_eventset(int EventSet)
Definition: papi.c:2890
int PAPI_assign_eventset_component(int EventSet, int cidx)
Definition: papi.c:1526
char version[]
Definition: fileop.c:134
int PAPI_create_eventset(int *EventSet)
Definition: papi.c:1464
unsigned long int __ino_t
unsigned long uc_flags
void papif_get_dmem_info__(long long *dest, int *check)
unsigned int __uint32_t
int PAPI_event_code_to_name(int EventCode, char *out)
Definition: papi.c:915
atomic_p lock[]
Definition: aix.c:25
unsigned long long sp
char * _IO_write_end
static int threshold
void papif_get_real_usec__(long long *time)
int pselect(int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask)
long int __off64_t
signed int __int32_t
long int __fsword_t
unsigned int __gid_t
void papif_get_virt_cyc__(long long *virt_cyc)
char vendor_string[PAPI_MAX_STR_LEN]
Definition: papi.h:789
struct _IO_marker * _markers
void * sival_ptr
void psiginfo(const siginfo_t *__pinfo, const char *__s)
int PAPI_get_dmem_info(PAPI_dmem_info_t *dest)
Definition: papi.c:6063
__time_t tv_sec
void papif_query_named_event__(char *EventName, int *check, int Event_len)
int __kernel_key_t
caddr_t data_start
Definition: papi.h:700
static int val[12]
Definition: activity.c:47
int PAPI_query_event(int EventCode)
Definition: papi.c:684
void papif_read__(int *EventSet, long long *values, int *check)
int PAPI_get_overflow_event_index(int Eventset, long long overflow_vector, int *array, int *number)
Definition: papi.c:6517
signed char __int8_t
struct timeval pr_utime
__u32 __wsum
int PAPI_multiplex_init(void)
Definition: papi.c:2982
void papif_write__(int *EventSet, long long *values, int *check)
void papif_get_granularity__(int *eventset, int *granularity, int *mode, int *check)
int vendor
Definition: papi.h:788
int __kernel_mqd_t
elf_greg_t greg_t
__signed__ int __s32
unsigned char __u8
void papif_remove_named_event__(int *EventSet, char *EventName, int *check, int Event_len)
elf_gregset_t gregset_t
unsigned int __useconds_t
void papif_cleanup_eventset__(int *EventSet, int *check)
int PAPI_read_ts(int EventSet, long long *values, long long *cyc)
Definition: papi.c:2648
int kill(__pid_t __pid, int __sig) __attribute__((__nothrow__
__extension__ typedef __signed__ long long __s64
long long PAPI_get_real_usec(void)
Definition: papi.c:6264
void papif_get_multiplex__(int *EventSet, int *check)
long __kernel_long_t
__suseconds_t tv_usec
static void Fortran2cstring(char *cstring, char *Fstring, int clen, int Flen)
unsigned int __id_t
__dev_t gnu_dev_makedev(unsigned int __major, unsigned int __minor) __attribute__((__nothrow__
int setitimer(__itimer_which_t __which, const struct itimerval *__restrict __new, struct itimerval *__restrict __old) __attribute__((__nothrow__
__sigval_t sigval_t
unsigned int __kernel_uid_t
int PAPI_unregister_thread(void)
Definition: papi.c:244
char * _IO_write_ptr
int model
Definition: papi.h:790
struct _aarch64_ctx head
__off64_t _offset
int PAPI_set_thr_specific(int tag, void *ptr)
Definition: papi.c:438
char * PAPI_strerror(int)
Definition: papi.c:4603
void papif_set_cmp_domain__(int *domain, int *cidx, int *check)
int sigtimedwait(const sigset_t *__restrict __set, siginfo_t *__restrict __info, const struct timespec *__restrict __timeout) __attribute__((__nonnull__(1)))
int __kernel_clockid_t
long int __intmax_t
struct timeval it_interval
__off64_t __loff_t
static char stack[2 *PAPI_HUGE_STR_LEN]
Definition: papi_preset.c:791
int int sigwaitinfo(const sigset_t *__restrict __set, siginfo_t *__restrict __info) __attribute__((__nonnull__(1)))
long long status
Definition: iozone.c:1335
char * __caddr_t
void papif_list_events__(int *EventSet, int *Events, int *number, int *check)
int PAPI_unlock(int)
Definition: papi.c:6421
int cpu_max_mhz
Definition: papi.h:797
int PAPI_read_counters(long long *values, int array_len)
Definition: papi_hl.c:710
void psignal(int __sig, const char *__s)
__extension__ unsigned long long int __g1_start
__kernel_long_t __kernel_off_t
long long PAPI_get_real_nsec(void)
Definition: papi.c:6237
caddr_t bss_end
Definition: papi.h:703
unsigned int __count
static __inline __uint16_t __uint16_identity(__uint16_t __x)
struct _IO_FILE_plus _IO_2_1_stdin_
__sighandler_t signal(int __sig, __sighandler_t __handler) __attribute__((__nothrow__
struct _IO_FILE * _chain
void papif_get_real_nsec__(long long *time)
__fsfilcnt_t fsfilcnt_t
int PAPI_num_counters(void)
Definition: papi_hl.c:541
int PAPI_start_counters(int *events, int array_len)
Definition: papi_hl.c:597
long int __blkcnt64_t
__fsblkcnt_t fsblkcnt_t
int data_type[MAX_EVENTS]
Definition: powercap_plot.c:16
caddr_t data_end
Definition: papi.h:701
void papif_num_cmp_hwctrs__(int *cidx, int *num)
unsigned short int __uint16_t
void papif_get_hardware_info__(int *ncpu, int *nnodes, int *totalcpus, int *vendor, char *vendor_str, int *model, char *model_str, float *revision, float *mhz, int vendor_len, int model_len)
int sigqueue(__pid_t __pid, int __sig, const union sigval __val) __attribute__((__nothrow__
signed char _vtable_offset
int PAPI_set_multiplex(int EventSet)
Definition: papi.c:3333
unsigned long int __fsfilcnt64_t
int __uflow(_IO_FILE *)
void * __pad3
void papif_multiplex_init__(int *check)
unsigned long PAPI_thread_id_t
Definition: papi.h:558
long int __time_t
void papif_reset__(int *EventSet, int *check)
unsigned int __kernel_gid32_t
int totalcpus
Definition: papi.h:787
void papif_assign_eventset_component__(int *EventSet, int *cidx, int *check)
int PAPI_destroy_eventset(int *EventSet)
Definition: papi.c:2014
void papif_thread_id__(unsigned long *id)
unsigned int __mode_t
int PAPI_remove_named_event(int EventSet, const char *EventName)
Definition: papi.c:1961
int __kernel_pid_t
PAPI_domain_option_t domain
Definition: papi.h:856
int PAPI_set_domain(int domain)
Definition: papi.c:5688
unsigned int __g_size[2]
unsigned long __kernel_ulong_t
char * caddr_t
int strcoll_l(const char *__s1, const char *__s2, locale_t __l) __attribute__((__nothrow__
struct _IO_marker * _next
int PAPI_attach(int EventSet, unsigned long tid)
Definition: papi.c:3201
__off_t _old_offset
int __io_seek_fn(void *__cookie, __off64_t *__pos, int __w)
void papif_create_eventset__(int *EventSet, int *check)
unsigned long int __fsfilcnt_t
static int attach(hwd_control_state_t *ctl, unsigned long tid)
Definition: perfctr.c:242
long long PAPI_get_real_cyc(void)
Definition: papi.c:6217
long int __syscall_slong_t
int PAPI_read(int EventSet, long long *values)
Definition: papi.c:2559
unsigned short __kernel_uid16_t
int __pid_t
int sigsetmask(int __mask) __attribute__((__nothrow__
char fullname[PAPI_HUGE_STR_LEN]
Definition: papi.h:709
int PAPI_start(int EventSet)
Definition: papi.c:2096
unsigned int __uid_t
PAPI_preload_info_t preload
Definition: papi.h:851
__ssize_t __io_read_fn(void *__cookie, char *__buf, size_t __nbytes)
char * _IO_save_base
void PAPI_perror(const char *msg)
Definition: papi.c:4653
unsigned long int pr_sighold
volatile int pthread_spinlock_t
char lib_preload_env[PAPI_MAX_STR_LEN]
Definition: papi.h:622
signed short int __int16_t
void papif_set_event_domain__(int *es, int *domain, int *check)
void papif_set_cmp_granularity__(int *granularity, int *cidx, int *check)
__kernel_long_t __kernel_ptrdiff_t
int __kernel_daddr_t
void papif_num_hwctrs__(int *num)
int PAPI_get_multiplex(int EventSet)
Definition: papi.c:4028
void papif_ipc__(float *rtime, float *ptime, long long *ins, float *ipc, int *check)
const PAPI_hw_info_t * PAPI_get_hardware_info(void)
Definition: papi.c:6185
static long long values[NUM_EVENTS]
Definition: init_fini.c:10
int PAPI_lock(int)
Definition: papi.c:6401
unsigned int __g1_orig_size
__locale_t locale_t
struct _IO_FILE * _sbuf
__builtin_va_list __gnuc_va_list
void papif_remove_events__(int *EventSet, int *Events, int *number, int *check)
unsigned long int __uint64_t
static const PAPI_hw_info_t * hw_info
Definition: byte_profile.c:28
long int __off64_t
unsigned long int __uint64_t
volatile int buf[CACHE_FLUSH_BUFFER_SIZE_INTS]
Definition: do_loops.c:12
sigset_t uc_sigmask
int sigreturn(struct sigcontext *__scp) __attribute__((__nothrow__
char note[PAPI_HUGE_STR_LEN]
Definition: papi.h:1014
int PAPI_list_threads(unsigned long *tids, int *number)
Definition: papi.c:286
int PAPI_get_event_component(int EventCode)
Definition: papi.c:6583
int __clockid_t
char * PAPI_user_defined_events_file_t
Definition: papi.h:720
unsigned long int __uintmax_t
__kernel_long_t __kernel_suseconds_t
char * PAPI_user_defined_events_file_t
struct _IO_FILE_plus _IO_2_1_stdout_
char * _IO_read_ptr
int PAPI_set_debug(int level)
Definition: papi.c:3126
__signed__ char __s8
setvbuf(file, file_buf, _IOFBF, sizeof(file_buf))
unsigned long int __fsblkcnt_t
unsigned int pr_gid
__blksize_t blksize_t
int sigprocmask(int __how, const sigset_t *__restrict __set, sigset_t *__restrict __oset) __attribute__((__nothrow__
void papif_add_named_event__(int *EventSet, char *EventName, int *check, int Event_len)
char name[PAPI_HUGE_STR_LEN]
Definition: papi.h:697
static long count
long int __quad_t
void _IO_lock_t
__uint128_t vregs[32]
__u16 __le16
char * _IO_buf_base
void _IO_lock_t
int _IO_getc(_IO_FILE *__fp)
struct timeval pr_cstime
long int __intptr_t
elf_fpregset_t prfpregset_t
static __inline __uint32_t __uint32_identity(__uint32_t __x)
int i
Definition: fileop.c:140
int PAPI_list_events(int EventSet, int *Events, int *number)
Definition: papi.c:6001
struct elf_siginfo pr_info
struct __locale_struct * __locale_t
int pthread_sigmask(int __how, const __sigset_t *__restrict __newmask, __sigset_t *__restrict __oldmask) __attribute__((__nothrow__
int ncpu
Definition: papi.h:782
int PAPI_get_eventset_component(int EventSet)
Definition: papi.c:1569
unsigned long int __dev_t
void papif_get_event_info__(int *EventCode, char *symbol, char *long_descr, char *short_descr, int *count, char *event_note, int *flags, int *check, int symbol_len, int long_descr_len, int short_descr_len, int event_note_len)
unsigned long int __u_long
unsigned int __uint32_t
void * psaddr_t
char _shortbuf[1]
unsigned long int __rlim_t
__itimer_which