diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-08T13·34+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-08T13·37+0200 |
commit | 7bdb85453d16106ebf4d4af106720d917e221ad9 (patch) | |
tree | d8d9b37d490f85a3757af149c8851ad9ac00015b /src/libexpr/symbol-table.hh | |
parent | 9deb822180fb80638559fe3c45c6a77a2b56ff40 (diff) |
printStats(): Print the size of the symbol table in bytes
Diffstat (limited to 'src/libexpr/symbol-table.hh')
-rw-r--r-- | src/libexpr/symbol-table.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/symbol-table.hh b/src/libexpr/symbol-table.hh index ccdabb0280b4..9129f0f460c3 100644 --- a/src/libexpr/symbol-table.hh +++ b/src/libexpr/symbol-table.hh @@ -89,6 +89,8 @@ public: { return symbols.size(); } + + size_t totalSize() const; }; } |