stats: add %r to display run-time

* src/tgbaalgos/stats.cc, src/tgbaalgos/stats.hh: Add
support for printing run-time.
* src/bin/ltl2tgba.cc, src/bin/dstar2tgba.cc: Compute
the run-time and show the option.
* NEWS: Mention it.
This commit is contained in:
Alexandre Duret-Lutz 2013-08-21 16:30:26 +02:00
parent 4dd8d80292
commit bfbe5b448b
5 changed files with 34 additions and 9 deletions

4
NEWS
View file

@ -54,7 +54,9 @@ New in spot 1.1.4a (not relased)
new dstar2tgba command.
Additionally, the %p escape can now be used to show whether the
output automaton is complete.
output automaton is complete, and the %r escape will give the
number of seconds spent building the output automaton (excluding
the time spent parsing the input).
* All the parsers implemented in Spot now use the same type
to store locations.