-
Notifications
You must be signed in to change notification settings - Fork 7
/
params.h
37 lines (30 loc) · 893 Bytes
/
params.h
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
#ifndef __PARAMS_H__
#define __PARAMS_H__
/**
* Model checker parameter structure. Holds run-time configuration options for
* the model checker.
*/
struct model_params {
int maxreads;
int maxfuturedelay;
bool yieldon;
bool yieldblock;
unsigned int fairwindow;
unsigned int enabledcount;
unsigned int bound;
unsigned int uninitvalue;
/** @brief Maximum number of future values that can be sent to the same
* read */
int maxfuturevalues;
/** @brief Only generate a new future value/expiration pair if the
* expiration time exceeds the existing one by more than the slop
* value */
unsigned int expireslop;
/** @brief Verbosity (0 = quiet; 1 = noisy; 2 = noisier) */
int verbose;
/** @brief Command-line argument count to pass to user program */
int argc;
/** @brief Command-line arguments to pass to user program */
char **argv;
};
#endif /* __PARAMS_H__ */