mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
add solver pool abstraction for Spacer
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c886b6d500
commit
e4b595d490
16 changed files with 435 additions and 42 deletions
|
@ -185,4 +185,15 @@ public:
|
|||
|
||||
#endif
|
||||
|
||||
struct scoped_watch {
|
||||
stopwatch &m_sw;
|
||||
scoped_watch (stopwatch &sw, bool reset=false): m_sw(sw) {
|
||||
if (reset) m_sw.reset();
|
||||
m_sw.start();
|
||||
}
|
||||
~scoped_watch() {
|
||||
m_sw.stop ();
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue