Detect running timers, and stop a timer in ltl2tgba.
* src/misc/timer.hh (time_info::running): New attribute. (time_info::start, time_info::stop): Update and check time_info::running. * src/misc/timer.cc (timer_map::print): Mark running timers with a "+" in the output. * src/tgbatest/ltl2tgba.cc (main): Rename the name of the timers for SCC and simulation reduction, and actually stop the SCC timer.
This commit is contained in:
parent
ab02ee60fe
commit
b796bb3d0a
4 changed files with 37 additions and 10 deletions
|
|
@ -722,14 +722,14 @@ main(int argc, char** argv)
|
|||
|
||||
if (reduc_aut & spot::Reduce_Scc)
|
||||
{
|
||||
tm.start("reducing formula aut. w/ SCC");
|
||||
tm.start("reducing A_f w/ SCC");
|
||||
a = aut_scc = spot::scc_filter(a);
|
||||
tm.start("reducing formula aut. w/ SCC");
|
||||
tm.start("reducing A_f w/ SCC");
|
||||
}
|
||||
|
||||
if (reduc_aut & !spot::Reduce_Scc)
|
||||
{
|
||||
tm.start("reducing formula aut. w/ sim.");
|
||||
tm.start("reducing A_f w/ sim.");
|
||||
a = aut_red = new spot::tgba_reduc(a);
|
||||
|
||||
if (reduc_aut & (spot::Reduce_quotient_Dir_Sim |
|
||||
|
|
@ -779,7 +779,7 @@ main(int argc, char** argv)
|
|||
if (rel_del)
|
||||
spot::free_relation_simulation(rel_del);
|
||||
}
|
||||
tm.stop("reducing formula aut. w/ sim.");
|
||||
tm.stop("reducing A_f w/ sim.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue