Go to the source code of this file.
◆ main()
Definition at line 16 of file PAPI_perror.c.
17{
18
22
23
24
25
26
27
28
29
31 {
32 exit(1);
33 }
34
36 {
38 exit(1);
39 }
40
41
42
44 {
46 exit(1);
47 }
48
49
50
52 {
54 exit(1);
55 }
56
57
58
59
60
61
62
64 {
66 }
67
68
69
71 {
73 }
74
75
76
77
79
80 exit(0);
81}
add PAPI preset or native hardware event to an event set
Create a new empty PAPI EventSet.
initialize the PAPI library.
Produces a string on standard error, describing the last library error.
Finish using PAPI and free all related resources.
Start counting hardware events in an event set.
Returns a string describing the PAPI error code.