18main(
int argc,
char **argv )
34 printf(
"Path+Program: %s\n", exeinfo->
fullname );
44 if ( ( strlen( &(exeinfo->
fullname[0]) ) == 0 ) )
45 test_fail( __FILE__, __LINE__,
"PAPI_get_executable_info", 1 );
47 test_fail( __FILE__, __LINE__,
"PAPI_get_executable_info", 1 );
52 test_fail( __FILE__, __LINE__,
"PAPI_get_executable_info", 1 );
57 test_fail( __FILE__, __LINE__,
"PAPI_get_executable_info", 1 );
Get the executable's address space info.
initialize the PAPI library.
Return codes and api definitions.
int tests_quiet(int argc, char **argv)
void PAPI_NORETURN test_fail(const char *file, int line, const char *call, int retval)
void PAPI_NORETURN test_pass(const char *filename)
char name[PAPI_HUGE_STR_LEN]
get the executable's info
char fullname[PAPI_HUGE_STR_LEN]
PAPI_address_map_t address_info