PAPI_multiplex_init(3)
πΈ NAME πΈ
okay so bestie, welcome to the PAPI_multiplex_init(3) page from the PAPI manual β this is where we talk about initializing multiplex support in the PAPI library π
β¨
PAPI_multiplex_init is the routine that initializes multiplex support inside PAPI. Iconic, lowkey essential if youβre multiplexing, and totally skippable if youβre not.
β¨ SYNOPSIS β¨
π« Detailed Description π«
Calling PAPI_multiplex_init() enables and initializes multiplex support in the PAPI library. Multiplexing is the whole trick that lets a user count more events than the total number of physical counters by time-sharing the existing counters β yes, with some loss in precision, thatβs the tradeoff, no cap π
Applications that make no use of multiplexing do not need to call this routine. Literally skip it, bestie, itβs not for you π«Ά
π C Interface π
The C interface is giving:
#include <papi.h>
int PAPI_multiplex_init (void);
π Examples π
Like this, bestie:
retval = PAPI_multiplex_init();
π§ Return values π§
PAPI_OKβ this call always returnsPAPI_OK. Thatβs the whole menu, periodt π
π¦ See also π¦
go peek at these:
PAPI_set_multiplexPAPI_get_multiplex
π Author π
Generated automatically by Doxygen for PAPI from the source code. Not me writing a memoir β Doxygen did its thing π
mwah π this page came from PAPI version 7.2.0.0, dated Wed Jun 25 2025 19:30:48. Bye bestie, go multiplex responsibly π«Άβ¨
π¦ 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