Z3 statistics: what does time measure?

半世苍凉 提交于 2019-12-31 03:01:25

问题


I am getting strange statistics results when run Z3 3.1 with -st command option. If you press Ctrl-C, Z3 reports total_time < time. Otherwise, if you wait until Z3 finishes: total_time > time.

  1. What does "total-time" and "time" measure?
  2. Is it a bug(minor though)(the difference described above)?

Thanks!


回答1:


This is a bug in Z3 for Linux (versions 3.0 and 3.1). The bug does not affect the Windows version. The fix will be available in the next release (Z3 3.2). The timer used to track time is incorrect.

BTW, total-time measures the total execution time, and time only the time consumed by the last check-sat command. So, we must have that total-time >= time.

Remark: this answer has been updated using the feedback provided by Swen Jacobs.



来源:https://stackoverflow.com/questions/7340888/z3-statistics-what-does-time-measure

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!