Lines Matching refs:Stats
831 // Emit per-block stats.
841 const PerBlockIDStats &Stats = I->second;
842 outs() << " Num Instances: " << Stats.NumInstances << "\n";
844 PrintSize(Stats.NumBits);
846 double pct = (Stats.NumBits * 100.0) / BufferSizeBits;
848 if (Stats.NumInstances > 1) {
850 PrintSize(Stats.NumBits/(double)Stats.NumInstances);
852 outs() << " Tot/Avg SubBlocks: " << Stats.NumSubBlocks << "/"
853 << Stats.NumSubBlocks/(double)Stats.NumInstances << "\n";
854 outs() << " Tot/Avg Abbrevs: " << Stats.NumAbbrevs << "/"
855 << Stats.NumAbbrevs/(double)Stats.NumInstances << "\n";
856 outs() << " Tot/Avg Records: " << Stats.NumRecords << "/"
857 << Stats.NumRecords/(double)Stats.NumInstances << "\n";
859 outs() << " Num SubBlocks: " << Stats.NumSubBlocks << "\n";
860 outs() << " Num Abbrevs: " << Stats.NumAbbrevs << "\n";
861 outs() << " Num Records: " << Stats.NumRecords << "\n";
863 if (Stats.NumRecords) {
864 double pct = (Stats.NumAbbreviatedRecords * 100.0) / Stats.NumRecords;
870 if (!NoHistogram && !Stats.CodeFreq.empty()) {
872 for (unsigned i = 0, e = Stats.CodeFreq.size(); i != e; ++i)
873 if (unsigned Freq = Stats.CodeFreq[i].NumInstances)
881 const PerRecordStats &RecStats = Stats.CodeFreq[FreqPairs[i].second];