PAPI
5.7.0.0
Functions
memleak_check.c File Reference
Include dependency graph for memleak_check.c:
Go to the source code of this file.
Functions
int
main
(int argv, char **argc)
Function Documentation
◆
main()
int main
(
int
argv
,
char **
argc
)
Definition at line
9
of file
memleak_check.c
.
9
{
10
(void) argv;
// prevent warning for not-used.
11
(void) argc;
// prevent warning for not-used.
12
13
int
retval
=
PAPI_library_init
(
PAPI_VER_CURRENT
);
// This does several allocations.
14
(void)
retval
;
// prevent warning for not-used.
15
16
PAPI_shutdown
();
// Shutdown should release them all.
17
return
(0);
18
}
// end main()
PAPI_VER_CURRENT
#define PAPI_VER_CURRENT
Definition:
fpapi.h:14
retval
int retval
Definition:
zero_fork.c:53
PAPI_library_init
int PAPI_library_init(int version)
Definition:
papi.c:500
PAPI_shutdown
void PAPI_shutdown(void)
Definition:
papi.c:4461
Here is the call graph for this function:
src
validation_tests
memleak_check.c
Generated on Wed Mar 27 2019 00:55:12 for PAPI by
1.8.15