LLVM  14.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::CountSumOrPercent Struct Reference

#include "llvm/ProfileData/InstrProf.h"

Collaboration diagram for llvm::CountSumOrPercent:
Collaboration graph
[legend]

Public Member Functions

 CountSumOrPercent ()
 
void reset ()
 

Public Attributes

uint64_t NumEntries
 
double CountSum
 
double ValueCounts [IPVK_Last - IPVK_First+1]
 

Detailed Description

Definition at line 601 of file InstrProf.h.

Constructor & Destructor Documentation

◆ CountSumOrPercent()

llvm::CountSumOrPercent::CountSumOrPercent ( )
inline

Definition at line 605 of file InstrProf.h.

Member Function Documentation

◆ reset()

void llvm::CountSumOrPercent::reset ( )
inline

Definition at line 606 of file InstrProf.h.

References CountSum, f(), I, NumEntries, and ValueCounts.

Member Data Documentation

◆ CountSum

double llvm::CountSumOrPercent::CountSum

◆ NumEntries

uint64_t llvm::CountSumOrPercent::NumEntries

◆ ValueCounts

double llvm::CountSumOrPercent::ValueCounts[IPVK_Last - IPVK_First+1]

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