Blame man/man3/PAPI_write.3
Branch: a1973ebebf255f095424c18b2f06c020098a474a
Packit Service
a1973e
.TH "PAPI_write" 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_write \-
Packit Service
a1973e
.PP
Packit Service
a1973e
Write counter values into counters\&.
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
\fBParameters:\fP
Packit Service
a1973e
.RS 4
Packit Service
a1973e
\fIEventSet\fP an integer handle for a PAPI event set as created by \fBPAPI_create_eventset\fP
Packit Service
a1973e
.br
Packit Service
a1973e
\fI*values\fP an array to hold the counter values of the counting events
Packit Service
a1973e
.RE
Packit Service
a1973e
.PP
Packit Service
a1973e
\fBReturn values:\fP
Packit Service
a1973e
.RS 4
Packit Service
a1973e
\fIPAPI_ENOEVST\fP The EventSet specified does not exist\&.
Packit Service
a1973e
.br
Packit Service
a1973e
\fIPAPI_ECMP\fP \fBPAPI_write()\fP is not implemented for this architecture\&.
Packit Service
a1973e
.br
Packit Service
a1973e
\fIPAPI_ESYS\fP The EventSet is currently counting events and the component could not change the values of the running counters\&.
Packit Service
a1973e
.RE
Packit Service
a1973e
.PP
Packit Service
a1973e
\fBPAPI_write()\fP writes the counter values provided in the array values into the event set EventSet\&. The virtual counters managed by the PAPI library will be set to the values provided\&. If the event set is running, an attempt will be made to write the values to the running counters\&. This operation is not permitted by all components and may result in a run-time error\&.
Packit Service
a1973e
.PP
Packit Service
a1973e
\fBSee Also:\fP
Packit Service
a1973e
.RS 4
Packit Service
a1973e
\fBPAPI_read\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\&.