Builder that constructs a ProfileSummary from instrumentation profile records.
Synopsis
Declared in <llvm/ProfileData/ProfileCommon.h>
class InstrProfSummaryBuilder final
: public ProfileSummaryBuilder
Base Classes
Name |
Description |
Base builder that accumulates profile counts and computes a ProfileSummary. |
Member Functions
Name |
Description |
|
Construct a builder that will compute summary entries for |
Record a function entry count from an instrumentation profile. |
|
Record an internal (non‐entry) block count from an instrumentation profile. |
|
Incorporate all counts from an instrumentation profile record. |
|
Compute and return the instrumentation profile summary. |
Static Member Functions
Name |
Description |
Return the maximum count treated as cold for the given detailed summary. |
|
Find the summary entry for a desired percentile of counts. |
|
Return the minimum count treated as hot for the given detailed summary. |
Static Data Members
Name |
Description |
A vector of useful cutoff values for detailed summary. |
Protected Member Functions
Name |
Description |
This is called when a count is seen in the profile. |
|
Compute the detailed percentile summary from the accumulated counts. |
Protected Data Members
Name |
Description |
Detailed percentile summary entries computed from the accumulated counts. |
|
Maximum profile count seen so far. |
|
Maximum function entry count seen so far. |
|
Number of individual profile counts recorded so far. |
|
Number of functions recorded so far. |
|
Sum of all profile counts recorded so far. |
Created with MrDocs