aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Serialization
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2013-01-25 00:38:33 +0000
committerDouglas Gregor <dgregor@apple.com>2013-01-25 00:38:33 +0000
commite169807aaea2464cbe68305f013ec7b41625af30 (patch)
tree2d656344e3747ff78a4e3476fc24990bbfeb57d3 /include/clang/Serialization
parentae82c2b7b62d742f56638fa3cfb0f550ddcaf315 (diff)
Track the number of lookups and hits into the on-disk hash tables for
identifiers within the AST file reader. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173403 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Serialization')
-rw-r--r--include/clang/Serialization/ASTReader.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/clang/Serialization/ASTReader.h b/include/clang/Serialization/ASTReader.h
index 3fe65de914..cbd523b671 100644
--- a/include/clang/Serialization/ASTReader.h
+++ b/include/clang/Serialization/ASTReader.h
@@ -726,6 +726,12 @@ private:
/// \brief The total number of macros stored in the chain.
unsigned TotalNumMacros;
+ /// \brief The number of lookups into identifier tables.
+ unsigned NumIdentifierLookups;
+
+ /// \brief The number of lookups into identifier tables that succeed.
+ unsigned NumIdentifierLookupHits;
+
/// \brief The number of selectors that have been read.
unsigned NumSelectorsRead;