mirror of
https://github.com/Z3Prover/z3
synced 2025-08-22 19:17:53 +00:00
fixing interpolation bugs
This commit is contained in:
parent
81df4932fb
commit
ac212ec54c
8 changed files with 336 additions and 293 deletions
|
@ -24,18 +24,26 @@ Revision History:
|
|||
#include <string>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "stopwatch.h"
|
||||
|
||||
|
||||
// FIXME fill in these stubs
|
||||
|
||||
#define clock_t int
|
||||
#define clock_t double
|
||||
|
||||
static clock_t current_time(){
|
||||
return 0;
|
||||
static double current_time()
|
||||
{
|
||||
static stopwatch sw;
|
||||
static bool started = false;
|
||||
if(!started){
|
||||
sw.start();
|
||||
started = true;
|
||||
}
|
||||
return sw.get_current_seconds();
|
||||
}
|
||||
|
||||
static void output_time(std::ostream &os, clock_t time){
|
||||
os << ((double)time)/1000;
|
||||
os << time;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue