One percentile cut‐point entry in a profile summary.

Synopsis

Declared in <llvm/IR/ProfileSummary.h>

struct ProfileSummaryEntry;

Description

The profile summary is one or more (Cutoff, MinCount, NumCounts) triplets. The semantics of counts depend on the type of profile. For instrumentation profile, counts are block counts and for sample profile, counts are per‐line samples. Given a target counts percentile, we compute the minimum number of counts needed to reach this target and the minimum among these counts.

Member Functions

Name

Description

ProfileSummaryEntry [constructor]

Construct a summary entry for the given cut‐point.

Data Members

Name

Description

Cutoff

The required percentile of counts.

MinCount

The minimum count for this percentile.

NumCounts

Number of counts >= the minimum count.

Created with MrDocs