Blame man/man3/PAPI_write.3
Branch: 57771707c5d17696fd3660ed6f10428b3c234e9a
Packit
577717
.TH "PAPI_write" 3 "Mon Dec 18 2017" "Version 5.6.0.0" "PAPI" \" -*- nroff -*-
Packit
577717
.ad l
Packit
577717
.nh
Packit
577717
.SH NAME
Packit
577717
PAPI_write \-
Packit
577717
.PP
Packit
577717
Write counter values into counters\&.
Packit
577717
Packit
577717
.SH SYNOPSIS
Packit
577717
.br
Packit
577717
.PP
Packit
577717
.SH "Detailed Description"
Packit
577717
.PP
Packit
577717
Packit
577717
.PP
Packit
577717
\fBParameters:\fP
Packit
577717
.RS 4
Packit
577717
\fIEventSet\fP an integer handle for a PAPI event set as created by \fBPAPI_create_eventset\fP
Packit
577717
.br
Packit
577717
\fI*values\fP an array to hold the counter values of the counting events
Packit
577717
.RE
Packit
577717
.PP
Packit
577717
\fBReturn values:\fP
Packit
577717
.RS 4
Packit
577717
\fIPAPI_ENOEVST\fP The EventSet specified does not exist\&.
Packit
577717
.br
Packit
577717
\fIPAPI_ECMP\fP \fBPAPI_write()\fP is not implemented for this architecture\&.
Packit
577717
.br
Packit
577717
\fIPAPI_ESYS\fP The EventSet is currently counting events and the component could not change the values of the running counters\&.
Packit
577717
.RE
Packit
577717
.PP
Packit
577717
\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
577717
.PP
Packit
577717
\fBSee Also:\fP
Packit
577717
.RS 4
Packit
577717
\fBPAPI_read\fP
Packit
577717
.RE
Packit
577717
.PP
Packit
577717
Packit
577717
Packit
577717
.SH "Author"
Packit
577717
.PP
Packit
577717
Generated automatically by Doxygen for PAPI from the source code\&.