-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add :reproducible_resource_limit
attribute
#796
Add :reproducible_resource_limit
attribute
#796
Conversation
This doesn't multiply by 1000. The corresponding CLI flag is /reproducibleResourceLimit.
ps.GetUnsignedNumericArgument(x => ResourceLimit = Util.BoundedMultiply(x, 1000), null); | ||
return true; | ||
|
||
case "reproducibleResourceLimit": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use a word that captures "reproducible resource that correlates with time", like tick
or cycle
?
@@ -1978,7 +1982,10 @@ similar effects. | |||
Limit the number of seconds spent trying to verify | |||
each procedure | |||
/rlimit:<num> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the documentation to say that this option is deprecated and will be removed. I would even prefer already removing it by returning an error when it is used.
I simplified things by removing the backward-compatibility layer. We'll want one in Dafny, but it's not necessarily needed in Boogie, given the very few users of the feature. |
This doesn't multiply by 1000, unlike
:rlimit
. The corresponding CLI flag is/reproducibleResourceLimit
.I'm a little unsure about the name. It's a bit of a mouthful. Maybe leaving out "reproducible" would be better.
Fixes #795.