LLVM  8.0.1
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  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
}
 

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 32 of file FDRRecords.h.

Member Enumeration Documentation

◆ RecordKind

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 34 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 61 of file FDRRecords.h.

◆ ~Record()

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

Referenced by getRecordType().

Member Function Documentation

◆ apply()

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

◆ getRecordType()

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

◆ 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: