struct PortableMemInfoBlock

Declaration

struct PortableMemInfoBlock { /* full declaration omitted */ };

Declared at: llvm/include/llvm/ProfileData/MemProf.h:31

Member Variables

private uint32_t AllocCount = unsigned int()
private uint64_t TotalAccessCount = unsigned long()
private uint64_t MinAccessCount = unsigned long()
private uint64_t MaxAccessCount = unsigned long()
private uint64_t TotalSize = unsigned long()
private uint32_t MinSize = unsigned int()
private uint32_t MaxSize = unsigned int()
private uint32_t AllocTimestamp = unsigned int()
private uint32_t DeallocTimestamp = unsigned int()
private uint64_t TotalLifetime = unsigned long()
private uint32_t MinLifetime = unsigned int()
private uint32_t MaxLifetime = unsigned int()
private uint32_t AllocCpuId = unsigned int()
private uint32_t DeallocCpuId = unsigned int()
private uint32_t NumMigratedCpu = unsigned int()
private uint32_t NumLifetimeOverlaps = unsigned int()
private uint32_t NumSameAllocCpu = unsigned int()
private uint32_t NumSameDeallocCpu = unsigned int()
private uint64_t DataTypeId = unsigned long()

Method Overview

Methods

PortableMemInfoBlock()

Declared at: llvm/include/llvm/ProfileData/MemProf.h:32

PortableMemInfoBlock(
    const llvm::memprof::MemInfoBlock& Block)

Declared at: llvm/include/llvm/ProfileData/MemProf.h:33

Parameters

const llvm::memprof::MemInfoBlock& Block

PortableMemInfoBlock(
    const llvm::memprof::MemProfSchema& Schema,
    const unsigned char* Ptr)

Declared at: llvm/include/llvm/ProfileData/MemProf.h:39

Parameters

const llvm::memprof::MemProfSchema& Schema
const unsigned char* Ptr

void clear()

Declared at: llvm/include/llvm/ProfileData/MemProf.h:98

void deserialize(
    const llvm::memprof::MemProfSchema& Schema,
    const unsigned char* Ptr)

Declared at: llvm/include/llvm/ProfileData/MemProf.h:45

Parameters

const llvm::memprof::MemProfSchema& Schema
const unsigned char* Ptr

static llvm::memprof::MemProfSchema getSchema()

Declared at: llvm/include/llvm/ProfileData/MemProf.h:101

void printYAML(llvm::raw_ostream& OS) const

Declared at: llvm/include/llvm/ProfileData/MemProf.h:84

Parameters

llvm::raw_ostream& OS

void serialize(
    const llvm::memprof::MemProfSchema& Schema,
    llvm::raw_ostream& OS) const

Declared at: llvm/include/llvm/ProfileData/MemProf.h:65

Parameters

const llvm::memprof::MemProfSchema& Schema
llvm::raw_ostream& OS

static constexpr size_t serializedSize()

Declared at: llvm/include/llvm/ProfileData/MemProf.h:122