-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdpholdio.h
More file actions
46 lines (36 loc) · 836 Bytes
/
dpholdio.h
File metadata and controls
46 lines (36 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef INC_phold_h
#define INC_phold_h
#include <ross.h>
#include "pholdio-config.h"
/*
* DPHOLDIO Types
*/
typedef struct phold_state phold_state;
typedef struct phold_message phold_message;
#define DUMMY_SIZE 4090
struct phold_state
{
long int dummy_state[DUMMY_SIZE];
};
struct phold_message
{
long int dummy_data;
long rng_count;
};
/*
* PHOLD Globals
*/
tw_stime lookahead = 1.0;
static unsigned int stagger = 0;
static unsigned int offset_lpid = 0;
static tw_stime mult = 1.4;
static tw_stime percent_remote = 0.25;
static unsigned int ttl_lps = 0;
static unsigned int nlp_per_pe = 8;
static int g_phold_start_events = 1;
static int optimistic_memory = 100;
extern int io_store;
// rate for timestamp exponential distribution
static tw_stime mean = 1.0;
static char run_id[1024] = "undefined";
#endif