PAPIC:PAPI shutdown.3
From PAPIDocs
Jump to: navigation, search


NAME

  • PAPI_shutdown - finish using PAPI and free all related resources

Synopsis

C Interface

#include <papi.h>
void PAPI_shutdown (void);

Fortran Interface

#include fpapi.h
PAPIF_shutdown()

Description

PAPI_shutdown() is an exit function used by the PAPI Library to free resources and shut down when certain error conditions arise. It is not necessary for the user to call this function, but doing so allows the user to have the capability to free memory and resources used by the PAPI Library.

Bugs

This function has no known bugs.

See Also

PAPI_cleanup_eventset(3), PAPI_destroy_eventset(3)