LLVM 18.0.0git
|
An ordered list of functions identified by their NameRef found in INSTR_PROF_DATA. More...
#include "llvm/ProfileData/InstrProf.h"
Public Member Functions | |
TemporalProfTraceTy (std::initializer_list< uint64_t > Trace={}, uint64_t Weight=1) | |
Static Public Member Functions | |
static std::vector< BPFunctionNode > | createBPFunctionNodes (ArrayRef< TemporalProfTraceTy > Traces) |
Use a set of temporal profile traces to create a list of balanced partitioning function nodes used by BalancedPartitioning to generate a function order that reduces page faults during startup. | |
Public Attributes | |
std::vector< uint64_t > | FunctionNameRefs |
uint64_t | Weight |
An ordered list of functions identified by their NameRef found in INSTR_PROF_DATA.
Definition at line 351 of file InstrProf.h.
|
inline |
Definition at line 354 of file InstrProf.h.
|
static |
Use a set of temporal profile traces to create a list of balanced partitioning function nodes used by BalancedPartitioning to generate a function order that reduces page faults during startup.
Definition at line 901 of file InstrProf.cpp.
References I, llvm::SetVector< T, Vector, Set, N >::insert(), N, llvm::ArrayRef< T >::size(), llvm::Trace::size(), llvm::sort(), and Timestamp.
std::vector<uint64_t> llvm::TemporalProfTraceTy::FunctionNameRefs |
Definition at line 352 of file InstrProf.h.
uint64_t llvm::TemporalProfTraceTy::Weight |
Definition at line 353 of file InstrProf.h.