Charades
typedefs.h
Go to the documentation of this file.
1 
14 #ifndef TYPEDEFS_H_
15 #define TYPEDEFS_H_
16 
17 // Included for size_t and int32_t respectively
18 #include <stdlib.h>
19 #include <stdint.h>
20 
22 enum tw_synch_e {
23  NO_SYNCH,
24  SEQUENTIAL,
25  CONSERVATIVE,
26  OPTIMISTIC,
27 };
28 
30 struct MemUsage {
31  uint64_t max_memory;
32  double avg_memory;
33 };
34 
39 typedef uint64_t Time;
40 typedef struct avlNode* AvlTree;
41 typedef int32_t* tw_seed;
42 
44 #define TIME_MAX UINT64_MAX
45 
55 class LPBase;
56 class LPFactory;
57 class LPMapper;
58 class Event;
59 class ProcessedQueue;
60 class PendingQueue;
62 
63 #endif
Definition: event.h:120
Definition: pending_queue.h:3
Struct for recording memory usage.
Definition: typedefs.h:30
int32_t * tw_seed
Type of the RNG seed use by all RNGs.
Definition: typedefs.h:41
Base class which defines the mapper interface used during simulation setup.
Definition: mapper.h:7
Definition: avl_tree.h:7
tw_synch_e
Enum for synchroniaztion protocol.
Definition: typedefs.h:22
Definition: processed_queue.h:8
Base class which defines the factory interface used during simulation setup.
Definition: factory.h:7
Non-templated base class for LP, so that the simulator can deal with a single LP base type...
Definition: lp.h:265
struct avlNode * AvlTree
Node in the PE level AVL tree.
Definition: typedefs.h:40