LLVM 20.0.0git
|
#include "llvm/XRay/BlockIndexer.h"
Classes | |
struct | Block |
Public Types | |
using | Index = DenseMap< std::pair< uint64_t, int32_t >, std::vector< Block > > |
Public Member Functions | |
BlockIndexer (Index &I) | |
Error | visit (BufferExtents &) override |
Error | visit (WallclockRecord &) override |
Error | visit (NewCPUIDRecord &) override |
Error | visit (TSCWrapRecord &) override |
Error | visit (CustomEventRecord &) override |
Error | visit (CallArgRecord &) override |
Error | visit (PIDRecord &) override |
Error | visit (NewBufferRecord &) override |
Error | visit (EndBufferRecord &) override |
Error | visit (FunctionRecord &) override |
Error | visit (CustomEventRecordV5 &) override |
Error | visit (TypedEventRecord &) override |
Error | flush () |
The flush() function will clear out the current state of the visitor, to allow for explicitly flushing a block's records to the currently recognized thread and process combination. | |
Public Member Functions inherited from llvm::xray::RecordVisitor | |
virtual | ~RecordVisitor ()=default |
virtual Error | visit (BufferExtents &)=0 |
virtual Error | visit (WallclockRecord &)=0 |
virtual Error | visit (NewCPUIDRecord &)=0 |
virtual Error | visit (TSCWrapRecord &)=0 |
virtual Error | visit (CustomEventRecord &)=0 |
virtual Error | visit (CallArgRecord &)=0 |
virtual Error | visit (PIDRecord &)=0 |
virtual Error | visit (NewBufferRecord &)=0 |
virtual Error | visit (EndBufferRecord &)=0 |
virtual Error | visit (FunctionRecord &)=0 |
virtual Error | visit (CustomEventRecordV5 &)=0 |
virtual Error | visit (TypedEventRecord &)=0 |
Definition at line 26 of file BlockIndexer.h.
using llvm::xray::BlockIndexer::Index = DenseMap<std::pair<uint64_t, int32_t>, std::vector<Block> > |
Definition at line 36 of file BlockIndexer.h.
|
inlineexplicit |
Definition at line 44 of file BlockIndexer.h.
Error llvm::xray::BlockIndexer::flush | ( | ) |
The flush() function will clear out the current state of the visitor, to allow for explicitly flushing a block's records to the currently recognized thread and process combination.
Definition at line 82 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::ProcessID, llvm::xray::BlockIndexer::Block::Records, llvm::Error::success(), llvm::xray::BlockIndexer::Block::ThreadID, and llvm::xray::BlockIndexer::Block::WallclockTime.
Referenced by visit().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 18 of file BlockIndexer.cpp.
References llvm::Error::success().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 51 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::Records, and llvm::Error::success().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 36 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::Records, and llvm::Error::success().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 41 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::Records, and llvm::Error::success().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 72 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::Records, and llvm::Error::success().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 77 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::Records, and llvm::Error::success().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 62 of file BlockIndexer.cpp.
References E, flush(), llvm::xray::BlockIndexer::Block::Records, llvm::Error::success(), and llvm::xray::BlockIndexer::Block::ThreadID.
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 26 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::Records, and llvm::Error::success().
Implements llvm::xray::RecordVisitor.
Definition at line 56 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::ProcessID, llvm::xray::BlockIndexer::Block::Records, and llvm::Error::success().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 31 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::Records, and llvm::Error::success().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 46 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::Records, and llvm::Error::success().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 20 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::Records, llvm::Error::success(), and llvm::xray::BlockIndexer::Block::WallclockTime.