misc/timer: Gather handling of %r and %R options
* bin/autcross.cc: Update. * bin/autfilt.cc: Update. * bin/common_aoutput.cc: Gather them. Move process_timer struct. * bin/common_aoutput.hh: Gather them. * bin/common_output.hh: Update. * bin/dstar2tgba.cc: Update. * bin/ltl2tgba.cc: Update. * bin/ltlcross.cc: Update. * bin/ltldo.cc: Update. * bin/ltlfilt.cc: Update. * bin/randaut.cc: Update. * spot/misc/formater.hh: Remove an useless function. * spot/misc/timer.hh: Add process_timer struct definition. * spot/misc/timer.cc: Remove old dead code. * spot/twaalgos/stats.cc: Update. * spot/twaalgos/stats.hh: Update.
This commit is contained in:
parent
302095ff9e
commit
ad9bc644ba
16 changed files with 89 additions and 81 deletions
|
|
@ -190,7 +190,8 @@ namespace
|
|||
}
|
||||
|
||||
spot::twa_graph_ptr
|
||||
translate(unsigned int translator_num, bool& problem, process_timer& timer)
|
||||
translate(unsigned int translator_num, bool& problem,
|
||||
spot::process_timer& timer)
|
||||
{
|
||||
output.reset(translator_num);
|
||||
|
||||
|
|
@ -343,13 +344,13 @@ namespace
|
|||
spot::twa_graph_ptr best_aut = nullptr;
|
||||
std::string best_stats;
|
||||
std::string best_cmdname;
|
||||
process_timer best_timer;
|
||||
spot::process_timer best_timer;
|
||||
|
||||
roundval = round;
|
||||
for (unsigned t = 0; t < ts; ++t)
|
||||
{
|
||||
bool problem;
|
||||
process_timer timer;
|
||||
spot::process_timer timer;
|
||||
auto aut = runner.translate(t, problem, timer);
|
||||
if (problem)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue