X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FRtsFlags.h;h=17d23638e711bdffffe15d25d30495dddf980dd4;hb=28a464a75e14cece5db40f2765a29348273ff2d2;hp=d0ab562da8487563cfac9f467ac3c772607e2ea5;hpb=03dc2dd3dd814ad85cc4c45e9cafc7b73163c8be;p=ghc-hetmet.git diff --git a/ghc/includes/RtsFlags.h b/ghc/includes/RtsFlags.h index d0ab562..17d2363 100644 --- a/ghc/includes/RtsFlags.h +++ b/ghc/includes/RtsFlags.h @@ -41,6 +41,8 @@ struct GC_FLAGS { rtsBool ringBell; rtsBool frontpanel; + + int idleGCDelayTicks; /* in milliseconds */ }; struct DEBUG_FLAGS { @@ -60,6 +62,7 @@ struct DEBUG_FLAGS { rtsBool linker; /* 'l' the object linker */ rtsBool apply; /* 'a' */ rtsBool stm; /* 'm' */ + rtsBool squeeze; /* 'z' stack squeezing & lazy blackholing */ }; struct COST_CENTRE_FLAGS { @@ -158,12 +161,14 @@ struct PAR_FLAGS { }; #endif /* PAR */ -#ifdef SMP +#ifdef THREADED_RTS 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; }; -#endif /* SMP */ +#endif /* THREADED_RTS */ #ifdef GRAN struct GRAN_STATS_FLAGS { @@ -237,7 +242,7 @@ struct GRAN_FLAGS { struct GRAN_COST_FLAGS Costs; /* cost metric for simulation */ struct GRAN_DEBUG_FLAGS Debug; /* debugging options */ - nat maxThreads; /* ToDo: share with SMP and GUM */ + nat maxThreads; /* ToDo: share with THREADED_RTS and GUM */ /* rtsBool labelling; */ nat packBufferSize; nat packBufferSize_internal; @@ -297,7 +302,7 @@ typedef struct _RTS_FLAGS { struct PROFILING_FLAGS ProfFlags; struct TICKY_FLAGS TickyFlags; -#if defined(SMP) || defined(PAR) +#if defined(THREADED_RTS) || defined(PAR) struct PAR_FLAGS ParFlags; #endif #ifdef GRAN