LLVM
8.0.1
|
#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. More... | |
![]() | |
virtual | ~RecordVisitor ()=default |
Definition at line 27 of file BlockIndexer.h.
using llvm::xray::BlockIndexer::Index = DenseMap<std::pair<uint64_t, int32_t>, std::vector<Block> > |
Definition at line 37 of file BlockIndexer.h.
|
inlineexplicit |
Definition at line 45 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 83 of file BlockIndexer.cpp.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::insert(), 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 BlockIndexer(), and visit().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 19 of file BlockIndexer.cpp.
References llvm::Error::success().
Referenced by BlockIndexer().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 21 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::Records, llvm::Error::success(), and llvm::xray::BlockIndexer::Block::WallclockTime.
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 27 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::Records, and llvm::Error::success().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 32 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::Records, and llvm::Error::success().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 37 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::Records, and llvm::Error::success().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 52 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::Records, and llvm::Error::success().
Implements llvm::xray::RecordVisitor.
Definition at line 57 of file BlockIndexer.cpp.
References llvm::xray::PIDRecord::pid(), llvm::xray::BlockIndexer::Block::ProcessID, llvm::xray::BlockIndexer::Block::Records, and llvm::Error::success().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 63 of file BlockIndexer.cpp.
References E, flush(), llvm::xray::BlockIndexer::Block::Records, llvm::Error::success(), llvm::xray::BlockIndexer::Block::ThreadID, and llvm::xray::NewBufferRecord::tid().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 73 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::Records, and llvm::Error::success().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 78 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::Records, and llvm::Error::success().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 42 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::Records, and llvm::Error::success().
|
overridevirtual |
Implements llvm::xray::RecordVisitor.
Definition at line 47 of file BlockIndexer.cpp.
References llvm::xray::BlockIndexer::Block::Records, and llvm::Error::success().