Blame man/man3/PAPI_disable_component_by_name.3

Packit Service a1973e
.TH "PAPI_disable_component_by_name" 3 "Mon Dec 18 2017" "Version 5.6.0.0" "PAPI" \" -*- nroff -*-
Packit Service a1973e
.ad l
Packit Service a1973e
.nh
Packit Service a1973e
.SH NAME
Packit Service a1973e
PAPI_disable_component_by_name \- 
Packit Service a1973e
.PP
Packit Service a1973e
disables the named component  
Packit Service a1973e
Packit Service a1973e
.SH SYNOPSIS
Packit Service a1973e
.br
Packit Service a1973e
.PP
Packit Service a1973e
.SH "Detailed Description"
Packit Service a1973e
.PP 
Packit Service a1973e
Packit Service a1973e
.PP
Packit Service a1973e
.nf
Packit Service a1973e
\retval ENOCMP
Packit Service a1973e
    component does not exist
Packit Service a1973e
\retval ENOINIT
Packit Service a1973e
    unable to disable the component, the library has already been initialized
Packit Service a1973e
\param component_name
Packit Service a1973e
    name of the component to disable.
Packit Service a1973e
\par Example:
Packit Service a1973e
Packit Service a1973e
.fi
Packit Service a1973e
.PP
Packit Service a1973e
 
Packit Service a1973e
.PP
Packit Service a1973e
.nf
Packit Service a1973e
   int result;
Packit Service a1973e
   result = PAPI_disable_component_by_name("example");
Packit Service a1973e
   if (result==PAPI_OK)
Packit Service a1973e
    printf("component \"example\" has been disabled\n");
Packit Service a1973e
   //\&.\&.\&.
Packit Service a1973e
   PAPI_library_init(PAPI_VER_CURRENT);
Packit Service a1973e
*   
Packit Service a1973e
Packit Service a1973e
.fi
Packit Service a1973e
.PP
Packit Service a1973e
 \fBPAPI_disable_component_by_name()\fP allows the user to disable a component before \fBPAPI_library_init()\fP time\&. This is useful if the user knows they do not with to use events from that component and want to reduce the PAPI library overhead\&.
Packit Service a1973e
.PP
Packit Service a1973e
\fBPAPI_disable_component_by_name()\fP must be called before \fBPAPI_library_init()\fP\&.
Packit Service a1973e
.PP
Packit Service a1973e
\fBSee Also:\fP
Packit Service a1973e
.RS 4
Packit Service a1973e
\fBPAPI_library_init\fP 
Packit Service a1973e
.PP
Packit Service a1973e
\fBPAPI_disable_component\fP 
Packit Service a1973e
.RE
Packit Service a1973e
.PP
Packit Service a1973e
Packit Service a1973e
Packit Service a1973e
.SH "Author"
Packit Service a1973e
.PP 
Packit Service a1973e
Generated automatically by Doxygen for PAPI from the source code\&.