X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fparallel%2FGranSim.c;h=7f7ad4424fbdfa3fc5dc84610776e297af29c0d8;hb=209e093599d0d4db5487d124895d817c55b7c052;hp=b1cc0962bec6ab71dbd1dec0e414a5ba004c6526;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/rts/parallel/GranSim.c b/rts/parallel/GranSim.c index b1cc096..7f7ad44 100644 --- a/rts/parallel/GranSim.c +++ b/rts/parallel/GranSim.c @@ -1,5 +1,5 @@ /* - Time-stamp: + Time-stamp: <2009-07-06 21:48:36 simonmar> Variables and functions specific to GranSim the parallelism simulator for GPH. @@ -40,11 +40,14 @@ //@node Includes, Prototypes and externs, GranSim specific code, GranSim specific code //@subsection Includes +#if defined(GRAN) + #include "Rts.h" #include "RtsFlags.h" #include "RtsUtils.h" #include "StgMiscClosures.h" #include "StgTypes.h" +#include "Storage.h" // for recordMutable #include "Schedule.h" #include "SchedAPI.h" // for pushClosure #include "GranSimRts.h" @@ -52,14 +55,11 @@ #include "ParallelRts.h" #include "ParallelDebug.h" #include "Sparks.h" -#include "Storage.h" // for recordMutable //@node Prototypes and externs, Constants and Variables, Includes, GranSim specific code //@subsection Prototypes and externs -#if defined(GRAN) - /* Prototypes */ static inline PEs ga_to_proc(StgWord); static inline rtsBool any_idle(void);