File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ int ebmc_baset::finish_bmc(prop_convt &solver)
161
161
162
162
statistics ()
163
163
<< " Solver time: "
164
- << std::chrono::duration<double >(current_time () -sat_start_time).count ()
164
+ << std::chrono::duration<double >(sat_stop_time -sat_start_time).count ()
165
165
<< eom;
166
166
167
167
// We return '0' if the property holds,
@@ -198,9 +198,9 @@ int ebmc_baset::finish_bmc(const bmc_mapt &bmc_map, propt &solver)
198
198
for (auto l : property.timeframe_literals)
199
199
solver.set_frozen(l);
200
200
}
201
-
202
- absolute_timet sat_start_time= current_time ();
203
-
201
+
202
+ auto sat_start_time = std::chrono::steady_clock::now ();
203
+
204
204
status () << " Solving with " << solver.solver_text () << eom;
205
205
206
206
for (propertyt &property : properties)
@@ -252,9 +252,13 @@ int ebmc_baset::finish_bmc(const bmc_mapt &bmc_map, propt &solver)
252
252
return 1 ;
253
253
}
254
254
}
255
+
256
+ auto sat_stop_time = std::chrono::steady_clock::now ();
255
257
256
- statistics () << " Solver time: " << (current_time ()-sat_start_time)
257
- << eom;
258
+ statistics ()
259
+ << " Solver time: "
260
+ << std::chrono::duration<double >(sat_stop_time-sat_start_time).count ()
261
+ << eom;
258
262
259
263
// We return '0' if the property holds,
260
264
// and '10' if it is violated.
You can’t perform that action at this time.
0 commit comments