PAPI_ipc
Simplified call to get instructions per cycle, real and processor time.
- Provided by: libpapi-dev (Version: 7.2.0-2)
- Source: papi
- Report a bug
Simplified call to get instructions per cycle, real and processor time.
C Interface:
Parameters
Return values
The first call to PAPI_ipc() will initialize the PAPI interface, set up the counters to monitor PAPI_TOT_INS and PAPI_TOT_CYC events and start the counters.
Subsequent calls will read the counters and return real time, process time, instructions and the IPC rate since the latest call to PAPI_ipc().
PAPI_ipc() should return a ratio greater than 1.0, indicating instruction level parallelism within the chip. The larger this ratio the more effeciently the program is running. Note that PAPI_ipc() is thread-safe and can therefore be called by multiple threads.
See also
PAPI_flops_rate()
PAPI_epc()
PAPI_rate_stop()
Generated automatically by Doxygen for PAPI from the source code.