Clear the timer map to help valgrind.

* src/misc/timer.hh (reset_all): New method.
* iface/dve2/dve2check.cc: Use it to help valgrind.
This commit is contained in:
Alexandre Duret-Lutz 2011-03-07 10:47:27 +01:00
parent e75a73dfb1
commit 0584d278d1
3 changed files with 17 additions and 2 deletions

View file

@ -306,6 +306,7 @@ main(int argc, char **argv)
if (use_timer)
tm.print(std::cout);
tm.reset_all(); // This helps valgrind.
spot::ltl::atomic_prop::dump_instances(std::cerr);
spot::ltl::unop::dump_instances(std::cerr);