Charades
Classes | Macros | Enumerations
typedefs.h File Reference

Declares most types used within the simulator and by models. More...

#include <stdlib.h>
#include <stdint.h>

Go to the source code of this file.

Classes

struct  MemUsage
 Struct for recording memory usage. More...
 

Macros

#define TIME_MAX   UINT64_MAX
 

Typedefs

Useful Typedefs

Typedefs used by the rest of the engine

Todo:
Only put here what needs to be exposed to model
typedef uint64_t Time
 
typedef struct avlNodeAvlTree
 Node in the PE level AVL tree.
 
typedef int32_t * tw_seed
 Type of the RNG seed use by all RNGs.
 

Enumerations

enum  tw_synch_e { NO_SYNCH, SEQUENTIAL, CONSERVATIVE, OPTIMISTIC }
 Enum for synchroniaztion protocol. More...
 

Detailed Description

Declares most types used within the simulator and by models.

Many of these types are just renaming builtin or existing types, or aliasing other types. Needs a lot of cleanup. Some types are not used, or are misleading since the conversion of ROSS.

Todo:

Cleanup unneeded types

Move type declarations to appropriate modules as needed

Maybe make a seperate file for aliases that is only needed when using the old ROSS API.

Enumeration Type Documentation

◆ tw_synch_e

enum tw_synch_e

Enum for synchroniaztion protocol.

Todo:
move to scheduler