Go to the source code of this file.
|
| int | main (int argc, char **argv) |
| |
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 18 of file exeinfo.c.
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 );
void test_pass(const char *filename)
get the executable's info
int PAPI_library_init(int version)
const PAPI_exe_info_t * PAPI_get_executable_info(void)
PAPI_address_map_t address_info
int tests_quiet(int argc, char **argv)
void test_fail(const char *file, int line, const char *call, int retval)
char fullname[PAPI_HUGE_STR_LEN]
char name[PAPI_HUGE_STR_LEN]