llvm::xray::TSCWrapRecord

Metadata record establishing a new absolute TSC base after a wrap.

Synopsis

Declared in <llvm/XRay/FDRRecords.h>

class TSCWrapRecord
    : public MetadataRecord

Base Classes

NameDescription
MetadataRecordBase class for FDR metadata records that are not function enter/exit events.

Enums

NameDescription
MetadataType Kind of metadata payload carried by a MetadataRecord subclass.
RecordKind Discriminator for concrete FDR record types in the class hierarchy.

Member Functions

NameDescription
TSCWrapRecord [constructor]Constructors
operator= Assignment operators
apply [virtual]Apply visitor V to this TSC-wrap record.
getRecordType Return the kind discriminator for this record.
metadataType Return the metadata subtype for this record.
tsc Return the absolute base timestamp counter value.

Static Member Functions

NameDescription
classof Return true if R is a TSCWrapRecord.
kindToString Return a human-readable name for record kind K.

Protected Static Data Members

NameDescription
kMetadataBodySize Fixed size in bytes of a metadata record body after the type header.

Friends

NameDescription
llvm::xray::RecordInitializerRecordVisitor that initializes FDR records by reading from a DataExtractor.