X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=includes%2Frts%2FFlags.h;h=8bfadaa0cdd76ec963b0ed3faf068336832c2be8;hp=b86146148b378c2f508c9276e63d261819f346ec;hb=d4942f78fc3cce355d340b7bba0b42e4123103fa;hpb=cec00a4113d5b3079308b11f5e257c25908f9b37 diff --git a/includes/rts/Flags.h b/includes/rts/Flags.h index b861461..8bfadaa 100644 --- a/includes/rts/Flags.h +++ b/includes/rts/Flags.h @@ -173,6 +173,8 @@ struct PAPI_FLAGS { nat eventType; /* The type of events to count */ nat numUserEvents; char * userEvents[MAX_PAPI_USER_EVENTS]; + /* Allow user to enter either PAPI preset or native events */ + nat userEventsKind[MAX_PAPI_USER_EVENTS]; }; #define PAPI_FLAG_CACHE_L1 1 @@ -181,6 +183,8 @@ struct PAPI_FLAGS { #define PAPI_FLAG_STALLS 4 #define PAPI_FLAG_CB_EVENTS 5 #define PAPI_USER_EVENTS 6 +#define PAPI_PRESET_EVENT_KIND 0 +#define PAPI_NATIVE_EVENT_KIND 1 #endif