Rechercher une page de manuel
PAPI_reset
Langue: en
Version: September, 2004 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
NAME
PAPI_reset - reset the hardware event counts in an event setSYNOPSIS
C Interface#include <papi.h> int PAPI_reset (int EventSet);Fortran Interface
#include fpapi.h PAPIF_reset(C_INT EventSet, C_INT check)
DESCRIPTION
PAPI_reset() zeroes the values of the counters contained in EventSet. This call assumes an initialized PAPI library and a properly added event set.ARGUMENTS
EventSet -- an integer handle for a PAPI event set as created by PAPI_create_eventset(3)RETURN VALUES
On success, this function returns PAPI_OK.On error, a non-zero error code is returned.
ERRORS
- PAPI_ESYS
- A system or C library call failed inside PAPI, see the errno variable.
- PAPI_ENOEVST
- The EventSet specified does not exist.
EXAMPLES
if (PAPI_reset(EventSet) != PAPI_OK) handle_error(1);
BUGS
This function has no known bugs.SEE ALSO
PAPI_create_eventset(3), PAPI(3),PAPIF(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre