diff options
author | Simon Marlow <marlowsd@gmail.com> | 2016-05-23 10:42:31 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2016-06-10 21:25:54 +0100 |
commit | c88f31a08943764217b69adb1085ba423c9bcf91 (patch) | |
tree | c6bab224ac6646e12b693036d87013c8349f29cf /includes/rts/Flags.h | |
parent | 9e5ea67e268be2659cd30ebaed7044d298198ab0 (diff) | |
download | haskell-c88f31a08943764217b69adb1085ba423c9bcf91.tar.gz |
Rts flags cleanup
* Remove unused/old flags from the structs
* Update old comments
* Add missing flags to GHC.RTS
* Simplify GHC.RTS, remove C code and use hsc2hs instead
* Make ParFlags unconditional, and add support to GHC.RTS
Diffstat (limited to 'includes/rts/Flags.h')
-rw-r--r-- | includes/rts/Flags.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/includes/rts/Flags.h b/includes/rts/Flags.h index ff303dc5e6..e229aa12b1 100644 --- a/includes/rts/Flags.h +++ b/includes/rts/Flags.h @@ -50,7 +50,6 @@ typedef struct _GC_FLAGS { double pcFreeHeap; uint32_t generations; - uint32_t steps; rtsBool squeezeUpdFrames; rtsBool compact; /* True <=> "compact all the time" */ @@ -59,7 +58,6 @@ typedef struct _GC_FLAGS { rtsBool sweep; /* use "mostly mark-sweep" instead of copying * for the oldest generation */ rtsBool ringBell; - rtsBool frontpanel; Time idleGCDelayTime; /* units: TIME_RESOLUTION */ rtsBool doIdleGC; @@ -187,7 +185,6 @@ typedef struct _MISC_FLAGS { * for the linker, NULL ==> off */ } MISC_FLAGS; -#ifdef THREADED_RTS /* See Note [Synchronization of flags and base APIs] */ typedef struct _PAR_FLAGS { uint32_t nCapabilities; /* number of threads to run simultaneously */ @@ -216,7 +213,6 @@ typedef struct _PAR_FLAGS { rtsBool setAffinity; /* force thread affinity with CPUs */ } PAR_FLAGS; -#endif /* THREADED_RTS */ /* See Note [Synchronization of flags and base APIs] */ typedef struct _TICKY_FLAGS { @@ -237,10 +233,7 @@ typedef struct _RTS_FLAGS { PROFILING_FLAGS ProfFlags; TRACE_FLAGS TraceFlags; TICKY_FLAGS TickyFlags; - -#if defined(THREADED_RTS) PAR_FLAGS ParFlags; -#endif } RTS_FLAGS; #ifdef COMPILING_RTS_MAIN |