projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove empty dir
[ghc-hetmet.git]
/
ghc
/
includes
/
RtsFlags.h
diff --git
a/ghc/includes/RtsFlags.h
b/ghc/includes/RtsFlags.h
index
d0ab562
..
17d2363
100644
(file)
--- a/
ghc/includes/RtsFlags.h
+++ b/
ghc/includes/RtsFlags.h
@@
-41,6
+41,8
@@
struct GC_FLAGS {
rtsBool ringBell;
rtsBool frontpanel;
rtsBool ringBell;
rtsBool frontpanel;
+
+ int idleGCDelayTicks; /* in milliseconds */
};
struct DEBUG_FLAGS {
};
struct DEBUG_FLAGS {
@@
-60,6
+62,7
@@
struct DEBUG_FLAGS {
rtsBool linker; /* 'l' the object linker */
rtsBool apply; /* 'a' */
rtsBool stm; /* 'm' */
rtsBool linker; /* 'l' the object linker */
rtsBool apply; /* 'a' */
rtsBool stm; /* 'm' */
+ rtsBool squeeze; /* 'z' stack squeezing & lazy blackholing */
};
struct COST_CENTRE_FLAGS {
};
struct COST_CENTRE_FLAGS {
@@
-158,12
+161,14
@@
struct PAR_FLAGS {
};
#endif /* PAR */
};
#endif /* PAR */
-#ifdef SMP
+#ifdef THREADED_RTS
struct PAR_FLAGS {
nat nNodes; /* number of threads to run simultaneously */
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;
};
-#endif /* SMP */
+#endif /* THREADED_RTS */
#ifdef GRAN
struct GRAN_STATS_FLAGS {
#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 */
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;
/* rtsBool labelling; */
nat packBufferSize;
nat packBufferSize_internal;
@@
-297,7
+302,7
@@
typedef struct _RTS_FLAGS {
struct PROFILING_FLAGS ProfFlags;
struct TICKY_FLAGS TickyFlags;
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
struct PAR_FLAGS ParFlags;
#endif
#ifdef GRAN