Go to the source code of this file.
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 18 of file exeinfo.c.
19{
21
23
25
29
32
34 printf(
"Path+Program: %s\n", exeinfo->
fullname );
42 }
43
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 );
58
59
60
61
62
63
64 sleep( 1 );
65
67
68 return 0;
69}
Get the executable's address space info.
initialize the PAPI library.
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