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

Constructor & Destructor Documentation

◆ MemProfRecord() [1/2]

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

◆ MemProfRecord() [2/2]

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

Member Function Documentation

◆ print()

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

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

Referenced by MemProfRecord(), and print().

◆ CallSites

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

Definition at line 445 of file MemProf.h.

Referenced by MemProfRecord(), and print().

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