OnDiskChainedHashTable writer trait for FrameId to Frame mappings.

Synopsis

Declared in <llvm/ProfileData/MemProf.h>

class FrameWriterTrait;

Type Aliases

Name

Description

data_type

Frame value stored in the table.

data_type_ref

Mutable reference to a frame during emission.

hash_value_type

Hash value type for frame keys.

key_type

Key type identifying a unique frame.

key_type_ref

Reference type passed for frame keys during emission.

offset_type

Byte offset / length type used by the on‐disk format.

Member Functions

Name

Description

EmitData

Emit frame V to Out.

EmitKey

Emit frame key K to Out.

Static Member Functions

Name

Description

ComputeHash

Return the hash of key K (the key itself).

EmitKeyDataLength

Emit key and data lengths for K / V and return those lengths.

Created with MrDocs