2 Time-stamp: <Mon Mar 05 2001 22:39:27 Stardate: [-30]6284.72 hwloidl>
7 /* -------------------------------------------------------------------------
8 Generally useful typedefs
9 ------------------------------------------------------------------------- */
14 #if SIZEOF_VOID_P == 8
15 typedef unsigned long nat; /* at least 32 bits (like int) */
17 typedef unsigned int nat; /* at least 32 bits (like int) */
19 typedef unsigned long lnat; /* at least 32 bits */
21 typedef unsigned long long ullong; /* at least 32 bits */
22 typedef long long llong;
24 typedef unsigned __int64 ullong; /* at least 32 bits */
25 typedef __int64 llong;
28 /* ullong (64|128-bit) type: only include if needed (not ANSI) */
41 Types specific to the parallel runtime system.
45 /* types only needed in the parallel system */
46 typedef struct hashtable ParHashTable;
47 typedef struct hashlist ParHashList;
49 // typedef double REAL_TIME;
51 // typedef GlobalTaskId Proc;
52 typedef int GlobalTaskId;
53 typedef ullong rtsTime;
54 typedef GlobalTaskId PEs;
55 typedef unsigned int rtsWeight;
56 typedef int rtsPacket;
59 /* Global addresses i.e. unique ids in a parallel setup; needed in Closures.h*/
81 // GlobalTaskId is dummy in GranSim;
82 // we define it to have cleaner code in the RTS
83 typedef int GlobalTaskId;
89 #endif /* RTS_TYPES_H */