PAPI_write(3)
π NAME π
okay bestie, welcome to the PAPI_write(3) page. PAPI_write is here to write counter values into counters, and honestly? iconic. π
β¨
β¨ SYNOPSIS β¨
π Detailed Description π
π«Ά Parameters π«Ά
EventSetβ an integer handle for a PAPI event set as created byPAPI_create_eventset. yes, that exact handle, no cap.*valuesβ an array to hold the counter values of the counting events.
π¨ Return values π¨
PAPI_ENOEVSTβ theEventSetspecified does not exist. πPAPI_ECMPβPAPI_write()is not implemented for this architecture. πPAPI_ESYSβ theEventSetis currently counting events and the component could not change the values of the running counters.
so here's the whole vibe: PAPI_write() 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.
bestie, read that last part again: not every component allows this, and it may result in a run-time error. so likeβ¦ proceed with the awareness, mwah. π
π See also π
PAPI_readβ the see-also bestie. go check her out. π¦
π Author π
Generated automatically by Doxygen for PAPI from the source code.
okay that's the whole page β this little manual page came from PAPI version 7.2.0.0, dated Wed Jun 25 2025 19:30:49. mwah, bye bestie ππ
π¦ where this page comes from
- nixos 26.05: papi 7.2.0
- nixpkgs unstable: papi 7.2.0
- opensuse-leap 16.0: papi-devel 7.2.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: papi-devel 7.2.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: papi-devel 7.2.0-160000.2.2 Β· BSD-3-Clause
- ubuntu resolute: libpapi-dev 7.2.0-2 Β· BSD-3-Clause
- ubuntu stonking: libpapi-dev 7.2.0-2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms