mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
ensure that solver objects have timeout/rlimit/ctrl-c exposed as possible parameters
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
a686aa7f56
commit
e954f59052
4 changed files with 18 additions and 3 deletions
|
@ -298,9 +298,14 @@ void insert_produce_proofs(param_descrs & r) {
|
|||
}
|
||||
|
||||
void insert_timeout(param_descrs & r) {
|
||||
r.insert("timeout", CPK_UINT, "(default: infty) timeout in milliseconds.");
|
||||
r.insert("timeout", CPK_UINT, "(default: infty) timeout in milliseconds.", "4294967295");
|
||||
}
|
||||
|
||||
void insert_rlimit(param_descrs & r) {
|
||||
r.insert("rlimit", CPK_UINT, "default resource limit used for solvers. Unrestricted when set to 0.", "0");
|
||||
}
|
||||
|
||||
|
||||
class params {
|
||||
friend class params_ref;
|
||||
struct value {
|
||||
|
|
|
@ -139,5 +139,6 @@ void insert_max_steps(param_descrs & r);
|
|||
void insert_produce_models(param_descrs & r);
|
||||
void insert_produce_proofs(param_descrs & r);
|
||||
void insert_timeout(param_descrs & r);
|
||||
void insert_rlimit(param_descrs & r);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue