Add -rD option to ltl2tgba, to display some caching statistics.
* src/ltlvisit/simplify.cc, src/ltlvisit/simplify.hh (print_stats): New function. * src/tgbatest/ltl2tgba.cc: Call it.
This commit is contained in:
parent
babc024097
commit
a80a5137fd
3 changed files with 44 additions and 0 deletions
|
|
@ -24,6 +24,7 @@
|
|||
#include "ltlast/formula.hh"
|
||||
#include "bdd.h"
|
||||
#include "tgba/bdddict.hh"
|
||||
#include <iosfwd>
|
||||
|
||||
namespace spot
|
||||
{
|
||||
|
|
@ -136,6 +137,9 @@ namespace spot
|
|||
/// Cached version of spot::ltl::star_normal_form().
|
||||
const formula* star_normal_form(const formula* f);
|
||||
|
||||
/// Dump statistics about the caches.
|
||||
void print_stats(std::ostream& os) const;
|
||||
|
||||
private:
|
||||
ltl_simplifier_cache* cache_;
|
||||
// Copy disallowed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue