class ProfileSummaryBuilder

Declaration

class ProfileSummaryBuilder { /* full declaration omitted */ };

Declared at: llvm/include/llvm/ProfileData/ProfileCommon.h:39

Member Variables

protected llvm::SummaryEntryVector DetailedSummary
protected uint64_t TotalCount = 0
protected uint64_t MaxCount = 0
protected uint64_t MaxFunctionCount = 0
protected uint32_t NumCounts = 0
protected uint32_t NumFunctions = 0
public static const ArrayRef<uint32_t> DefaultCutoffs
A vector of useful cutoff values for detailed summary.

Method Overview

Methods

ProfileSummaryBuilder(
    std::vector<uint32_t> Cutoffs)

Declared at: llvm/include/llvm/ProfileData/ProfileCommon.h:55

Parameters

std::vector<uint32_t> Cutoffs

inline void addCount(uint64_t Count)

Description

This is called when a count is seen in the profile.

Declared at: llvm/include/llvm/ProfileData/ProfileCommon.h:59

Parameters

uint64_t Count

void computeDetailedSummary()

Declared at: llvm/include/llvm/ProfileData/ProfileCommon.h:60

~ProfileSummaryBuilder()

Declared at: llvm/include/llvm/ProfileData/ProfileCommon.h:57