LLVM  16.0.0git
Public Member Functions | Static Public Member Functions | Friends | List of all members
llvm::xray::CustomEventRecordV5 Class Reference

#include "llvm/XRay/FDRRecords.h"

Inheritance diagram for llvm::xray::CustomEventRecordV5:
Inheritance graph
Collaboration diagram for llvm::xray::CustomEventRecordV5:
Collaboration graph

Public Member Functions

 CustomEventRecordV5 ()
 CustomEventRecordV5 (int32_t S, int32_t D, std::string P)
int32_t size () const
int32_t delta () const
StringRef data () const
Error apply (RecordVisitor &V) override
- Public Member Functions inherited from llvm::xray::MetadataRecord
 MetadataRecord (RecordKind T, MetadataType M)
MetadataType metadataType () const
virtual ~MetadataRecord ()=default
- Public Member Functions inherited from llvm::xray::Record
 Record (const Record &)=delete
 Record (Record &&)=delete
Recordoperator= (const Record &)=delete
Recordoperator= (Record &&)=delete
 Record (RecordKind T)
RecordKind getRecordType () const
virtual ~Record ()=default

Static Public Member Functions

static bool classof (const Record *R)
- Static Public Member Functions inherited from llvm::xray::MetadataRecord
static bool classof (const Record *R)
- Static Public Member Functions inherited from llvm::xray::Record
static StringRef kindToString (RecordKind K)


class RecordInitializer

Additional Inherited Members

- Public Types inherited from llvm::xray::MetadataRecord
enum  MetadataType : unsigned {
  MetadataType::Unknown, MetadataType::BufferExtents, MetadataType::WallClockTime, MetadataType::NewCPUId,
  MetadataType::TSCWrap, MetadataType::CustomEvent, MetadataType::CallArg, MetadataType::PIDEntry,
  MetadataType::NewBuffer, MetadataType::EndOfBuffer, MetadataType::TypedEvent
- Public Types inherited from llvm::xray::Record
enum  RecordKind {
  RecordKind::RK_Metadata, RecordKind::RK_Metadata_BufferExtents, RecordKind::RK_Metadata_WallClockTime, RecordKind::RK_Metadata_NewCPUId,
  RecordKind::RK_Metadata_TSCWrap, RecordKind::RK_Metadata_CustomEvent, RecordKind::RK_Metadata_CustomEventV5, RecordKind::RK_Metadata_CallArg,
  RecordKind::RK_Metadata_PIDEntry, RecordKind::RK_Metadata_NewBuffer, RecordKind::RK_Metadata_EndOfBuffer, RecordKind::RK_Metadata_TypedEvent,
  RecordKind::RK_Metadata_LastMetadata, RecordKind::RK_Function
- Static Protected Attributes inherited from llvm::xray::MetadataRecord
static constexpr int kMetadataBodySize = 15

Detailed Description

Definition at line 235 of file FDRRecords.h.

Constructor & Destructor Documentation

◆ CustomEventRecordV5() [1/2]

llvm::xray::CustomEventRecordV5::CustomEventRecordV5 ( )

Definition at line 242 of file FDRRecords.h.

◆ CustomEventRecordV5() [2/2]

llvm::xray::CustomEventRecordV5::CustomEventRecordV5 ( int32_t  S,
int32_t  D,
std::string  P 

Definition at line 246 of file FDRRecords.h.

Member Function Documentation

◆ apply()

Error llvm::xray::CustomEventRecordV5::apply ( RecordVisitor V)

Implements llvm::xray::Record.

Definition at line 28 of file FDRRecords.cpp.

References llvm::xray::RecordVisitor::visit().

◆ classof()

static bool llvm::xray::CustomEventRecordV5::classof ( const Record R)

◆ data()

StringRef llvm::xray::CustomEventRecordV5::data ( ) const

Definition at line 253 of file FDRRecords.h.

References llvm::Data.

◆ delta()

int32_t llvm::xray::CustomEventRecordV5::delta ( ) const

Definition at line 252 of file FDRRecords.h.

◆ size()

int32_t llvm::xray::CustomEventRecordV5::size ( ) const

Definition at line 251 of file FDRRecords.h.

References Size.

Friends And Related Function Documentation

◆ RecordInitializer

friend class RecordInitializer

Definition at line 239 of file FDRRecords.h.

The documentation for this class was generated from the following files: