LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
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 737 of file InstrProf.h.

Constructor & Destructor Documentation

◆ CountSumOrPercent()

llvm::CountSumOrPercent::CountSumOrPercent ( )
default

Member Function Documentation

◆ reset()

void llvm::CountSumOrPercent::reset ( )
inline

Definition at line 742 of file InstrProf.h.

References CountSum, NumEntries, and ValueCounts.

Member Data Documentation

◆ CountSum

double llvm::CountSumOrPercent::CountSum = 0.0f

◆ NumEntries

uint64_t llvm::CountSumOrPercent::NumEntries = 0

◆ ValueCounts

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

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