LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::SampleProfileSummaryBuilder Class Referencefinal

#include "llvm/ProfileData/ProfileCommon.h"

Inheritance diagram for llvm::SampleProfileSummaryBuilder:
Inheritance graph
[legend]
Collaboration diagram for llvm::SampleProfileSummaryBuilder:
Collaboration graph
[legend]

Public Member Functions

 SampleProfileSummaryBuilder (std::vector< uint32_t > Cutoffs)
 
void addRecord (const sampleprof::FunctionSamples &FS)
 
std::unique_ptr< ProfileSummarygetSummary ()
 

Additional Inherited Members

- Static Public Attributes inherited from llvm::ProfileSummaryBuilder
static const ArrayRef< uint32_tDefaultCutoffs
 A vector of useful cutoff values for detailed summary. More...
 
- Protected Member Functions inherited from llvm::ProfileSummaryBuilder
 ProfileSummaryBuilder (std::vector< uint32_t > Cutoffs)
 
 ~ProfileSummaryBuilder ()=default
 
void addCount (uint64_t Count)
 This is called when a count is seen in the profile. More...
 
void computeDetailedSummary ()
 
- Protected Attributes inherited from llvm::ProfileSummaryBuilder
SummaryEntryVector DetailedSummary
 
uint64_t TotalCount = 0
 
uint64_t MaxCount = 0
 
uint64_t MaxFunctionCount = 0
 
uint32_t NumCounts = 0
 
uint32_t NumFunctions = 0
 

Detailed Description

Definition at line 82 of file ProfileCommon.h.

Constructor & Destructor Documentation

◆ SampleProfileSummaryBuilder()

llvm::SampleProfileSummaryBuilder::SampleProfileSummaryBuilder ( std::vector< uint32_t Cutoffs)
inline

Definition at line 84 of file ProfileCommon.h.

Member Function Documentation

◆ addRecord()

void SampleProfileSummaryBuilder::addRecord ( const sampleprof::FunctionSamples FS)

◆ getSummary()

std::unique_ptr< ProfileSummary > SampleProfileSummaryBuilder::getSummary ( )

The documentation for this class was generated from the following files: