Skip to content

Commit 3bcb3a5

Browse files
committed
Fix decision procedure runtime computation
Follow-up for 2dc9fcd.
1 parent 96bf623 commit 3bcb3a5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

regression/cbmc/Failing_Assert1/test.desc

+1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ main.c
44
^EXIT=10$
55
^SIGNAL=0$
66
^VERIFICATION FAILED$
7+
^Runtime decision procedure: [0-9]+(\.[0-9]+)?s$
78
--
89
^warning: ignoring

src/cbmc/bmc.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ bmct::run_decision_procedure(prop_convt &prop_conv)
170170
{
171171
auto solver_stop = std::chrono::steady_clock::now();
172172
status() << "Runtime decision procedure: "
173-
<< std::chrono::duration<double>(solver_start-solver_stop).count()
173+
<< std::chrono::duration<double>(solver_stop-solver_start).count()
174174
<< "s" << eom;
175175
}
176176

0 commit comments

Comments
 (0)