LLVM 20.0.0git
Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::xray::Record Class Referenceabstract

#include "llvm/XRay/FDRRecords.h"

Inheritance diagram for llvm::xray::Record:
Inheritance graph
[legend]

Public Types

enum class  RecordKind {
  RK_Metadata , RK_Metadata_BufferExtents , RK_Metadata_WallClockTime , RK_Metadata_NewCPUId ,
  RK_Metadata_TSCWrap , RK_Metadata_CustomEvent , RK_Metadata_CustomEventV5 , RK_Metadata_CallArg ,
  RK_Metadata_PIDEntry , RK_Metadata_NewBuffer , RK_Metadata_EndOfBuffer , RK_Metadata_TypedEvent ,
  RK_Metadata_LastMetadata , RK_Function
}
 

Public Member Functions

 Record (const Record &)=delete
 
 Record (Record &&)=delete
 
Recordoperator= (const Record &)=delete
 
Recordoperator= (Record &&)=delete
 
 Record (RecordKind T)
 
RecordKind getRecordType () const
 
virtual Error apply (RecordVisitor &V)=0
 
virtual ~Record ()=default
 

Static Public Member Functions

static StringRef kindToString (RecordKind K)
 

Detailed Description

Definition at line 31 of file FDRRecords.h.

Member Enumeration Documentation

◆ RecordKind

enum class llvm::xray::Record::RecordKind
strong
Enumerator
RK_Metadata 
RK_Metadata_BufferExtents 
RK_Metadata_WallClockTime 
RK_Metadata_NewCPUId 
RK_Metadata_TSCWrap 
RK_Metadata_CustomEvent 
RK_Metadata_CustomEventV5 
RK_Metadata_CallArg 
RK_Metadata_PIDEntry 
RK_Metadata_NewBuffer 
RK_Metadata_EndOfBuffer 
RK_Metadata_TypedEvent 
RK_Metadata_LastMetadata 
RK_Function 

Definition at line 33 of file FDRRecords.h.

Constructor & Destructor Documentation

◆ Record() [1/3]

llvm::xray::Record::Record ( const Record )
delete

◆ Record() [2/3]

llvm::xray::Record::Record ( Record &&  )
delete

◆ Record() [3/3]

llvm::xray::Record::Record ( RecordKind  T)
inlineexplicit

Definition at line 60 of file FDRRecords.h.

◆ ~Record()

virtual llvm::xray::Record::~Record ( )
virtualdefault

Member Function Documentation

◆ apply()

virtual Error llvm::xray::Record::apply ( RecordVisitor V)
pure virtual

◆ getRecordType()

RecordKind llvm::xray::Record::getRecordType ( ) const
inline

Definition at line 62 of file FDRRecords.h.

◆ kindToString()

StringRef llvm::xray::Record::kindToString ( RecordKind  K)
static

◆ operator=() [1/2]

Record & llvm::xray::Record::operator= ( const Record )
delete

◆ operator=() [2/2]

Record & llvm::xray::Record::operator= ( Record &&  )
delete

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