Go to the source code of this file.
|
| int | main (int argc, char **argv) |
| |
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 14 of file broken_events.c.
20 char user_event[4096];
34 printf(
"No sample invalid event defined for this architecture\n");
36 test_skip( __FILE__, __LINE__,
"No event", 0);
47 fprintf(stderr,
"Correctly failed adding invalid event %s %s\n",user_event,
PAPI_strerror(
retval));
58 printf(
"Read result: %lld\n",
values[0]);
61 test_fail( __FILE__, __LINE__,
"Added comma separated event somehow",0);
int PAPI_stop(int EventSet, long long *values)
void test_pass(const char *filename)
void test_skip(const char *file, int line, const char *call, int retval)
int PAPI_add_named_event(int EventSet, const char *EventName)
int PAPI_library_init(int version)
int PAPI_create_eventset(int *EventSet)
char * PAPI_strerror(int errorCode)
int tests_quiet(int argc, char **argv)
void test_fail(const char *file, int line, const char *call, int retval)
int PAPI_start(int EventSet)
static long long values[NUM_EVENTS]
char * get_invalid_event_name(char *event, int size)