LLVM 20.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< std::vector< Frame > > CallSites
 

Detailed Description

Definition at line 472 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

Definition at line 479 of file MemProf.h.

References AllocSites, and CallSites.

Member Function Documentation

◆ print()

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

Definition at line 495 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 474 of file MemProf.h.

Referenced by MemProfRecord(), and print().

◆ CallSites

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

Definition at line 476 of file MemProf.h.

Referenced by MemProfRecord(), and print().


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