Go to the source code of this file.
|
| int | main (int argc, char **argv) |
| |
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 17 of file get_event_component.c.
23 int numcmp, cid, our_cid;
39 for( cid = 0; cid < numcmp; cid++ )
45 test_fail( __FILE__, __LINE__,
"PAPI_get_component_info", 2 );
62 printf(
"Getting information about event: %#x failed\n",
i);
70 printf(
"%d %d %s\n",cid,our_cid,info.
symbol);
72 test_fail( __FILE__, __LINE__,
"component mismatch", 1 );
76 printf(
"%d %d %s\n",cid,our_cid,info.
symbol);
char disabled_reason[PAPI_MAX_STR_LEN]
const PAPI_component_info_t * PAPI_get_component_info(int cidx)
void test_pass(const char *filename)
int PAPI_num_components(void)
int PAPI_get_event_info(int EventCode, PAPI_event_info_t *info)
int PAPI_library_init(int version)
char symbol[PAPI_HUGE_STR_LEN]
char name[PAPI_MAX_STR_LEN]
int PAPI_enum_cmp_event(int *EventCode, int modifier, int cidx)
int tests_quiet(int argc, char **argv)
void test_fail(const char *file, int line, const char *call, int retval)
char description[PAPI_MAX_STR_LEN]
int PAPI_get_event_component(int EventCode)