MCPcopy Create free account
hub / github.com/apache/impala / AddTraceEvent

Method AddTraceEvent

be/src/kudu/util/debug/trace_event_impl.cc:435–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435TraceEvent* TraceBufferChunk::AddTraceEvent(size_t* event_index) {
436 DCHECK(!IsFull());
437 *event_index = next_free_++;
438 return &chunk_[*event_index];
439}
440
441unique_ptr<TraceBufferChunk> TraceBufferChunk::Clone() const {
442 unique_ptr<TraceBufferChunk> cloned_chunk(new TraceBufferChunk(seq_));

Calls 8

MakeHandleFunction · 0.85
GetMonoTimeMicrosFunction · 0.85
seqMethod · 0.80
resetMethod · 0.65
IsFullMethod · 0.45
GetChunkMethod · 0.45

Tested by

no test coverage detected