0

Or is it purely the solving time? This question is for the case when z3 is being called as an external binary. I am asking this as in some of my examples, the constraint solving time is small and I suspect will become comparable to file read time. Also, how accurate is the total-time for small values (< 1s for example)?

user1779685
  • 283
  • 2
  • 8

1 Answers1

1

Yes, the total time should include the time need to read the problem. Those numbers are 'reasonably' precise, but not totally exact. In our own performance experiments, we usually use higher precision external timers, but usually we don't need to measure the load time.

If you're getting into the region where the load time and the solving time are both very small, then it would be best to switch to the API instead of dumping .smt2 files and then calling an external binary.

Christoph Wintersteiger
  • 8,234
  • 1
  • 16
  • 30