Lines Matching full:count

26 // The following two parameters determine the threshold for a count to be
28 // by 10000). If the counts are sorted in descending order, the minimum count to
29 // reach ProfileSummaryCutoffHot gives the threshold to determine a hot count.
30 // Similarly, the minimum count to reach ProfileSummaryCutoffCold gives the
31 // threshold for determining cold count (everything <= this threshold is
35 cl::desc("A count is hot if it exceeds the minimum count to"
40 cl::desc("A count is cold if it is below the minimum count"
48 " percentile exceeds this count."));
55 " percentile exceeds this count."));
60 "profile-summary-hot-count", cl::ReallyHidden,
61 cl::desc("A fixed hot count that overrides the count derived from"
65 "profile-summary-cold-count", cl::ReallyHidden,
66 cl::desc("A fixed cold count that overrides the count derived from"
94 // The first counter is not necessarily an entry count for IR in addRecord()
108 // equivalent to a block with a count in the instrumented profile.
123 uint64_t Count = I.second.getSamples(); in addRecord() local
124 addCount(Count); in addRecord()
141 uint64_t CurrSum = 0, Count = 0; in computeDetailedSummary() local
153 Count = Iter->first; in computeDetailedSummary()
155 CurrSum += (Count * Freq); in computeDetailedSummary()
160 ProfileSummaryEntry PSE = {Cutoff, Count, CountsSeen}; in computeDetailedSummary()
201 // context. That makes the count distribution looks more flat as we now have in computeSummaryForProfiles()
226 void InstrProfSummaryBuilder::addEntryCount(uint64_t Count) { in addEntryCount() argument
227 assert(Count <= getInstrMaxCountValue() && in addEntryCount()
228 "Count value should be less than the max count value."); in addEntryCount()
230 addCount(Count); in addEntryCount()
231 if (Count > MaxFunctionCount) in addEntryCount()
232 MaxFunctionCount = Count; in addEntryCount()
235 void InstrProfSummaryBuilder::addInternalCount(uint64_t Count) { in addInternalCount() argument
236 assert(Count <= getInstrMaxCountValue() && in addInternalCount()
237 "Count value should be less than the max count value."); in addInternalCount()
238 addCount(Count); in addInternalCount()
239 if (Count > MaxInternalBlockCount) in addInternalCount()
240 MaxInternalBlockCount = Count; in addInternalCount()