-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unlike `exploreSimTrace` it allows to run `ST` action in the context of each schedule, and thus allows to share state between schedules. For this reason it evaluates each schedule sequentially, while `exploreSimTrace` evaluates each schedule in parallel. This patch also makes the API more uniform by exposing: * `exploreSimTrace` & `exploreSimTraceST` * `controlSimTrace` & `controlSimTraceST` Furthermore the tests are updated and they no longer use `unsafePerformIO` as well. The `traceCounter` property was removed as it wasn't used and doesn't make much sense, since `IOSimPOR` is forcing to evaluate each schedule only once by using a cache.
- Loading branch information
Showing
4 changed files
with
118 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,7 +108,6 @@ test-suite test | |
containers, | ||
io-classes, | ||
io-sim, | ||
parallel, | ||
QuickCheck, | ||
si-timers, | ||
strict-stm, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters