Exceptions

exception pypapi.exceptions.PapiAttributeError(message=None)

Invalid or missing event attributes.

exception pypapi.exceptions.PapiBufferError(message=None)

Buffer size exceeded.

exception pypapi.exceptions.PapiBugError(message=None)

Internal error, please send mail to the developers.

exception pypapi.exceptions.PapiCombinationError(message=None)

Bad combination of feature.

exception pypapi.exceptions.PapiComponentError(message=None)

Not supported by component.

exception pypapi.exceptions.PapiConflictError(message=None)

Event exists, but cannot be counted due to counter resource limitations.

exception pypapi.exceptions.PapiCountError(message=None)

Too many events or attributes.

exception pypapi.exceptions.PapiCountersLost(message=None)

Access to the counters was lost or interrupted.

exception pypapi.exceptions.PapiError(message=None)

Base classe for PAPI exceptions.

exception pypapi.exceptions.PapiInitializationError(message=None)

PAPI hasn’t been initialized yet.

exception pypapi.exceptions.PapiInvalidDomainError(message=None)

EventSet domain is not supported for the operation.

exception pypapi.exceptions.PapiInvalidValueError(message=None)

Invalid Argument.

exception pypapi.exceptions.PapiIsRunningError(message=None)

EventSet is currently counting.

exception pypapi.exceptions.PapiMiscellaneousError(message=None)

Unknown error code.

exception pypapi.exceptions.PapiNoComponentError(message=None)

Component Index isn’t set.

exception pypapi.exceptions.PapiNoCounterError(message=None)

Hardware does not support performance counters.

exception pypapi.exceptions.PapiNoEventError(message=None)

Event does not exist.

exception pypapi.exceptions.PapiNoEventSetError(message=None)

No such EventSet Available.

exception pypapi.exceptions.PapiNoMemoryError(message=None)

Insufficient memory.

exception pypapi.exceptions.PapiNotImplementedError(message=None)

Not implemented.

exception pypapi.exceptions.PapiNotPresetError(message=None)

Event in argument is not a valid preset.

exception pypapi.exceptions.PapiNotRunningError(message=None)

EventSet is currently not running.

exception pypapi.exceptions.PapiNotSupportedError(message=None)

Not supported.

exception pypapi.exceptions.PapiPermissionError(message=None)

Permission level does not permit operation.

exception pypapi.exceptions.PapiSystemError(message=None)

A System/C library call failed.

pypapi.exceptions.papi_error(function)

Decorator to raise PAPI errors.