---
name: "PAPI_multiplex_init"
section: "3"
platform: "linux"
package: "libpapi-dev"
version: "7.1.0-5+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/PAPI_multiplex_init"
---

# PAPI\_multiplex\_init(3)

Initialize multiplex support in the PAPI library.

## NAME

PAPI\_multiplex\_init - Initialize multiplex support in the PAPI library.

## SYNOPSIS

## Detailed Description

**PAPI\_multiplex\_init()** enables and initializes multiplex support in the PAPI library. Multiplexing allows a user to count more events than total physical counters by time sharing the existing counters at some loss in precision. Applications that make no use of multiplexing do not need to call this routine.

**C Interface:**

\#include \<**papi.h**\> \
 int **PAPI\_multiplex\_init** (void);

**Examples**

```
retval = PAPI_multiplex_init();
```

**Return values**

*PAPI\_OK* This call always returns PAPI\_OK

**See also**

**PAPI\_set\_multiplex**

**PAPI\_get\_multiplex**

## Author

Generated automatically by Doxygen for PAPI from the source code.
