Construct a profile summary from the given statistics and cut-points.
Declared in <llvm/IR/ProfileSummary.h>
ProfileSummary(
Kind K,
SummaryEntryVector const& DetailedSummary,
uint64_t TotalCount,
uint64_t MaxCount,
uint64_t MaxInternalCount,
uint64_t MaxFunctionCount,
uint32_t NumCounts,
uint32_t NumFunctions,
bool Partial = false,
double PartialProfileRatio = 0);
| Name | Description |
|---|---|
| K | Kind of profile summarized. |
| DetailedSummary | Percentile cut-point entries. |
| TotalCount | Sum of all recorded counts. |
| MaxCount | Maximum count across the profile. |
| MaxInternalCount | Maximum non-entry count. |
| MaxFunctionCount | Maximum function entry count. |
| NumCounts | Number of distinct count sites. |
| NumFunctions | Number of functions with counts. |
| Partial | Whether the profile covers only part of the program. |
| PartialProfileRatio | Ratio of program counters to partial-profile counters when Partial is true. |