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

#include "llvm/ProfileData/MemProf.h"

Collaboration diagram for llvm::memprof::MemProfRecord:
Collaboration graph
[legend]

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 398 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 405 of file MemProf.h.

References llvm::SmallVectorImpl< T >::emplace_back().

Member Function Documentation

◆ print()

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

Definition at line 421 of file MemProf.h.

References F, and N.

Member Data Documentation

◆ AllocSites

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

Definition at line 400 of file MemProf.h.

◆ CallSites

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

Definition at line 402 of file MemProf.h.


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