LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::memprof::MemProfRecord Struct Reference

#include "llvm/ProfileData/MemProf.h"

Public Member Functions

 MemProfRecord ()=default
 
 MemProfRecord (const IndexedMemProfRecord &Record, llvm::function_ref< const Frame(const FrameId Id)> IdToFrameCallback)
 
void print (llvm::raw_ostream &OS) const
 

Public Attributes

llvm::SmallVector< AllocationInfoAllocSites
 
llvm::SmallVector< llvm::SmallVector< Frame > > CallSites
 

Detailed Description

Definition at line 406 of file MemProf.h.

Constructor & Destructor Documentation

◆ MemProfRecord() [1/2]

llvm::memprof::MemProfRecord::MemProfRecord ( )
default

◆ MemProfRecord() [2/2]

llvm::memprof::MemProfRecord::MemProfRecord ( const IndexedMemProfRecord Record,
llvm::function_ref< const Frame(const FrameId Id)>  IdToFrameCallback 
)
inline

Member Function Documentation

◆ print()

void llvm::memprof::MemProfRecord::print ( llvm::raw_ostream OS) const
inline

Definition at line 429 of file MemProf.h.

References AllocSites, CallSites, F, N, and OS.

Member Data Documentation

◆ AllocSites

llvm::SmallVector<AllocationInfo> llvm::memprof::MemProfRecord::AllocSites

Definition at line 408 of file MemProf.h.

Referenced by MemProfRecord(), and print().

◆ CallSites

llvm::SmallVector<llvm::SmallVector<Frame> > llvm::memprof::MemProfRecord::CallSites

Definition at line 410 of file MemProf.h.

Referenced by MemProfRecord(), and print().


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