2 Time-stamp: <2005-03-30 12:02:33 simonmar>
7 /* -------------------------------------------------------------------------
8 Generally useful typedefs
9 ------------------------------------------------------------------------- */
14 typedef unsigned int nat; /* at least 32 bits (like int) */
15 typedef unsigned long lnat; /* at least 32 bits */
17 typedef unsigned long long ullong; /* at least 32 bits */
18 typedef long long llong;
20 typedef unsigned __int64 ullong; /* at least 32 bits */
21 typedef __int64 llong;
24 /* ullong (64|128-bit) type: only include if needed (not ANSI) */
37 Types specific to the parallel runtime system.
40 typedef ullong rtsTime;
43 /* types only needed in the parallel system */
44 typedef struct hashtable ParHashTable;
45 typedef struct hashlist ParHashList;
47 /* typedef double REAL_TIME; */
48 /* typedef W_ TIME; */
49 /* typedef GlobalTaskId Proc; */
50 typedef int GlobalTaskId;
51 typedef GlobalTaskId PEs;
52 typedef unsigned int rtsWeight;
53 typedef int rtsPacket;
56 /* Global addresses i.e. unique ids in a parallel setup; needed in Closures.h*/
79 * GlobalTaskId is dummy in GranSim;
80 * we define it to have cleaner code in the RTS
82 typedef int GlobalTaskId;
88 #endif /* RTS_TYPES_H */