Print statistics for each record kind saying the number of bits
authorChris Lattner <sabre@nondot.org>
Mon, 27 Apr 2009 18:15:27 +0000 (18:15 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 27 Apr 2009 18:15:27 +0000 (18:15 +0000)
commitc167cac8f0f0227de08422563844bcb889a4f3dd
treebcf890264f5078bcf9355ed5d5c72708f904eafe
parent2443747e4579469a052fbea56db8368093aaac94
Print statistics for each record kind saying the number of bits
and % abbreviated.  For example:

Record Histogram:
  Count    # Bits   % Abv  Record Kind
  25738   3424174  100.00  SM_SLOC_INSTANTIATION_ENTRY
    814    562079  100.00  SM_SLOC_FILE_ENTRY
    798     34110          SM_HEADER_FILE_INFO
      3     91104  100.00  SM_SLOC_BUFFER_BLOB
      3       498  100.00  SM_SLOC_BUFFER_ENTRY
      1       465          SM_LINE_TABLE

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70215 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp