const PAPI_NULL = Cint(-1)
const PAPI_OK = Cint(0)
const PAPI_ENOEVNT = Cint(-7)
const PAPI_ECNFLCT = Cint(-8)
const PAPI_MAX_STR_LEN=128
const PAPI_MIN_STR_LEN=64
const PAPI_ENUM_EVENTS=0
const PAPI_ENUM_FIRST=1
const PAPI_PRESET_ENUM_AVAIL=2
const PAPI_NATIVE_MASK=Cuint(0x40000000)
const PAPI_PRESET_MASK=Cuint(0x80000000)
