Change initialize a bit
[c11tester.git] / params.h
index 043b2a5c530bd8a4ed1d78b7f1f81007757c1cb2..af49c6b0026fe7b17d451cd2a014925bbe140cf4 100644 (file)
--- a/params.h
+++ b/params.h
@@ -6,33 +6,16 @@
  * the model checker.
  */
 struct model_params {
-       int maxreads;
-       int maxfuturedelay;
-       bool yieldon;
-       bool yieldblock;
-       bool sc_trace_analysis;
-       unsigned int fairwindow;
-       unsigned int enabledcount;
-       unsigned int bound;
-       unsigned int uninitvalue;
+       int maxexecutions;
+       bool nofork;
+       modelclock_t traceminsize;
+       modelclock_t checkthreshold;
+       bool removevisible;
 
-       /** @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) */
+       /** @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__ */
+void param_defaults(struct model_params *params);
+
+#endif /* __PARAMS_H__ */