LLVM 22.0.0git
llvm::CountSumOrPercent Struct Reference

#include "llvm/ProfileData/InstrProf.h"

Public Member Functions

 CountSumOrPercent ()=default
void reset ()

Public Attributes

uint64_t NumEntries = 0
double CountSum = 0.0f
std::array< double, IPVK_Last - IPVK_First+1 > ValueCounts = {}

Detailed Description

Definition at line 804 of file InstrProf.h.

Constructor & Destructor Documentation

◆ CountSumOrPercent()

llvm::CountSumOrPercent::CountSumOrPercent ( )
default

Member Function Documentation

◆ reset()

void llvm::CountSumOrPercent::reset ( )
inline

Definition at line 809 of file InstrProf.h.

References CountSum, NumEntries, and ValueCounts.

Member Data Documentation

◆ CountSum

◆ NumEntries

◆ ValueCounts

std::array<double, IPVK_Last - IPVK_First + 1> llvm::CountSumOrPercent::ValueCounts = {}

The documentation for this struct was generated from the following file: