X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=params.h;fp=params.h;h=946c801e4cce5aac707d0b1c3c7e9a204401ade5;hb=56596a27332a3622b935d5b75f81f4773dcbf757;hp=0000000000000000000000000000000000000000;hpb=5ceb41c1ae83da9e1d53e1a6c03c9c8f147543d5;p=model-checker.git diff --git a/params.h b/params.h new file mode 100644 index 0000000..946c801 --- /dev/null +++ b/params.h @@ -0,0 +1,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 sc_trace_analysis; + 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) */ + 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__ */