/external/perfetto/src/tracing/core/ |
D | trace_buffer.cc | 62 constexpr size_t TraceBuffer::ChunkRecord::kMaxSize; 63 constexpr size_t TraceBuffer::InlineChunkHeaderSize = sizeof(ChunkRecord); 66 std::unique_ptr<TraceBuffer> TraceBuffer::Create(size_t size_in_bytes) { in Create() 67 std::unique_ptr<TraceBuffer> trace_buffer(new TraceBuffer()); in Create() 73 TraceBuffer::TraceBuffer() { in TraceBuffer() function in perfetto::TraceBuffer 80 TraceBuffer::~TraceBuffer() = default; 82 bool TraceBuffer::Initialize(size_t size) { in Initialize() 104 void TraceBuffer::CopyChunkUntrusted(ProducerID producer_id_trusted, in CopyChunkUntrusted() 202 size_t TraceBuffer::DeleteNextChunksFor(size_t bytes_to_clear) { in DeleteNextChunksFor() 262 void TraceBuffer::AddPaddingRecord(size_t size) { in AddPaddingRecord() [all …]
|
D | trace_buffer.h | 127 class TraceBuffer { 156 static std::unique_ptr<TraceBuffer> Create(size_t size_in_bytes); 158 ~TraceBuffer(); 404 TraceBuffer(); 405 TraceBuffer(const TraceBuffer&) = delete; 406 TraceBuffer& operator=(const TraceBuffer&) = delete;
|
D | service_impl.h | 49 class TraceBuffer; variable 284 TraceBuffer* GetBufferByID(BufferID); 302 std::map<BufferID, std::unique_ptr<TraceBuffer>> buffers_;
|
D | trace_buffer_unittest.cc | 42 using SequenceIterator = TraceBuffer::SequenceIterator; 43 using ChunkMetaKey = TraceBuffer::ChunkMeta::Key; 44 using ChunkRecord = TraceBuffer::ChunkRecord; 58 trace_buffer_ = TraceBuffer::Create(size_); in ResetBuffer() 65 std::vector<TraceBuffer::Patch> patches, in TryPatchChunkContents() 112 TraceBuffer::ChunkMeta::Key key(p, w, 0); in GetReadIterForSequence() 129 TraceBuffer* trace_buffer() { return trace_buffer_.get(); } in trace_buffer() 133 std::unique_ptr<TraceBuffer> trace_buffer_;
|
D | service_impl.cc | 279 buffers_.emplace(global_id, TraceBuffer::Create(buf_size_bytes)); in EnableTracing() 281 std::unique_ptr<TraceBuffer>& trace_buffer = it_and_inserted.first->second; in EnableTracing() 557 TraceBuffer& tbuf = *tbuf_iter->second; in ReadBuffers() 888 TraceBuffer* buf = GetBufferByID(buffer_id); in CopyProducerPageIntoLogBuffer() 914 TraceBuffer* buf = in ApplyChunkPatches() 927 std::array<TraceBuffer::Patch, 1024> patches; // Uninitialized. in ApplyChunkPatches() 972 TraceBuffer* ServiceImpl::GetBufferByID(BufferID buffer_id) { in GetBufferByID() 1083 TraceBuffer* buf = GetBufferByID(buf_id); in MaybeSnapshotStats() 1089 const TraceBuffer::Stats& buf_stats = buf->stats(); in MaybeSnapshotStats()
|
/external/v8/include/libplatform/ |
D | v8-tracing.h | 146 class V8_PLATFORM_EXPORT TraceBuffer { 148 TraceBuffer() {} in TraceBuffer() function 149 virtual ~TraceBuffer() {} in ~TraceBuffer() 157 static TraceBuffer* CreateTraceBufferRingBuffer(size_t max_chunks, 162 TraceBuffer(const TraceBuffer&) = delete; 163 void operator=(const TraceBuffer&) = delete; 231 void Initialize(TraceBuffer* trace_buffer); 255 std::unique_ptr<TraceBuffer> trace_buffer_;
|
/external/libchrome/base/trace_event/ |
D | trace_buffer.h | 58 class BASE_EXPORT TraceBuffer { 60 virtual ~TraceBuffer() {} in ~TraceBuffer() 80 static TraceBuffer* CreateTraceBufferRingBuffer(size_t max_chunks); 81 static TraceBuffer* CreateTraceBufferVectorOfSize(size_t max_chunks);
|
D | trace_buffer.cc | 20 class TraceBufferRingBuffer : public TraceBuffer { 154 class TraceBufferVector : public TraceBuffer { 336 TraceBuffer* TraceBuffer::CreateTraceBufferRingBuffer(size_t max_chunks) { in CreateTraceBufferRingBuffer() 340 TraceBuffer* TraceBuffer::CreateTraceBufferVectorOfSize(size_t max_chunks) { in CreateTraceBufferVectorOfSize()
|
D | trace_log.h | 35 class TraceBuffer; variable 387 TraceBuffer* trace_buffer() const { return logged_events_.get(); } 388 TraceBuffer* CreateTraceBuffer(); 411 std::unique_ptr<TraceBuffer> logged_events, 447 std::unique_ptr<TraceBuffer> logged_events_;
|
D | trace_log.cc | 914 std::unique_ptr<TraceBuffer> logged_events, in ConvertTraceEventsToTraceFormat() 941 std::unique_ptr<TraceBuffer> previous_logged_events; in FinishFlush() 1651 TraceBuffer* TraceLog::CreateTraceBuffer() { in CreateTraceBuffer() 1655 return TraceBuffer::CreateTraceBufferRingBuffer( in CreateTraceBuffer() 1659 return TraceBuffer::CreateTraceBufferRingBuffer( in CreateTraceBuffer() 1663 return TraceBuffer::CreateTraceBufferVectorOfSize( in CreateTraceBuffer() 1666 return TraceBuffer::CreateTraceBufferVectorOfSize( in CreateTraceBuffer()
|
D | trace_event_unittest.cc | 2543 TraceBuffer::CreateTraceBufferVectorOfSize(100)); in TEST_F() 2587 TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer(); in TEST_F() 2647 TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer(); in TEST_F() 2676 TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer(); in TEST_F() 2704 TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer(); in TEST_F()
|
/external/perfetto/src/tracing/test/ |
D | fake_packet.h | 31 class TraceBuffer; variable 54 FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c); 76 TraceBuffer* trace_buffer_;
|
D | fake_packet.cc | 106 FakeChunk::FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c) in FakeChunk() 149 return data.size() + TraceBuffer::InlineChunkHeaderSize; in CopyIntoTraceBuffer()
|
/external/v8/src/libplatform/tracing/ |
D | trace-buffer.cc | 102 TraceBuffer* TraceBuffer::CreateTraceBufferRingBuffer( in CreateTraceBufferRingBuffer()
|
D | trace-buffer.h | 18 class TraceBufferRingBuffer : public TraceBuffer {
|
D | tracing-controller.cc | 45 void TracingController::Initialize(TraceBuffer* trace_buffer) { in Initialize()
|
/external/perfetto/protos/perfetto/trace/ |
D | trace_stats.proto | 24 // From TraceBuffer::Stats. 61 // Stats for the TraceBuffer(s) of the current trace session.
|
/external/v8/src/ |
D | d8.cc | 2907 platform::tracing::TraceBuffer* trace_buffer = in Main() 2908 platform::tracing::TraceBuffer::CreateTraceBufferRingBuffer( in Main() 2909 platform::tracing::TraceBuffer::kRingBufferChunks, in Main()
|