X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2Frts%2FFlags.h;h=95ccfc02813cd933c6282f51b67307bd0fb1e630;hb=f07b01e57f4c08a68e22eb81f25c865d1d7c15c3;hp=b86146148b378c2f508c9276e63d261819f346ec;hpb=323950933d3260503186b93e7a5a7bdaa4822c1b;p=ghc-hetmet.git diff --git a/includes/rts/Flags.h b/includes/rts/Flags.h index b861461..95ccfc0 100644 --- a/includes/rts/Flags.h +++ b/includes/rts/Flags.h @@ -29,6 +29,8 @@ struct GC_FLAGS { nat maxStkSize; /* in *words* */ nat initialStkSize; /* in *words* */ + nat stkChunkSize; /* in *words* */ + nat stkChunkBufferSize; /* in *words* */ nat maxHeapSize; /* in *blocks* */ nat minAllocAreaSize; /* in *blocks* */ @@ -146,8 +148,7 @@ struct MISC_FLAGS { struct PAR_FLAGS { nat nNodes; /* number of threads to run simultaneously */ rtsBool migrate; /* migrate threads between capabilities */ - rtsBool wakeupMigrate; /* migrate a thread on wakeup */ - unsigned int maxLocalSparks; + unsigned int maxLocalSparks; rtsBool parGcEnabled; /* enable parallel GC */ unsigned int parGcGen; /* do parallel GC in this generation * and higher only */ @@ -173,6 +174,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 +184,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