PAPI_cleanup_eventset man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

PAPI_cleanup_eventset(3)	     PAPI	      PAPI_cleanup_eventset(3)

NAME
       PAPI_cleanup_eventset -

       Empty and destroy an EventSet.

SYNOPSIS
Detailed Description
       C Interface:
	   #include <papi.h>
	    int PAPI_cleanup_eventset( int  EventSet );

       PAPI_cleanup_eventset removes all events from a PAPI event set and
       turns off profiling and overflow for all events in the EventSet. This
       can not be called if the EventSet is not stopped.

       Parameters:
	   EventSet An integer handle for a PAPI event set as created by
	   PAPI_create_eventset.

       Return values:
	   PAPI_EINVAL One or more of the arguments is invalid. Attempting to
	   destroy a non-empty event set or passing in a null pointer to be
	   destroyed.
	   PAPI_ENOEVST The EventSet specified does not exist.
	   PAPI_EISRUN The EventSet is currently counting events.
	   PAPI_EBUG Internal error, send mail to ptools-perfapi@ptools.org
	   and complain.

       Examples:

	       // Remove all events in the eventset
	       if ( PAPI_cleanup_eventset( EventSet ) != PAPI_OK )
	       handle_error( 1 );

       See also:
	   PAPI_profil
	    PAPI_create_eventset
	    PAPI_add_event
	    PAPI_stop

Author
       Generated automatically by Doxygen for PAPI from the source code.

Version 5.1.1.0			Tue May 21 2013	      PAPI_cleanup_eventset(3)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net