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

Method GetBufferPercentFull

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

Source from the content-addressed store, hash-verified

1463}
1464
1465float TraceLog::GetBufferPercentFull() const {
1466 SpinLockHolder lock(&lock_);
1467 return static_cast<float>(static_cast<double>(logged_events_->Size()) /
1468 logged_events_->Capacity());
1469}
1470
1471bool TraceLog::BufferIsFull() const {
1472 SpinLockHolder lock(&lock_);

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.45
CapacityMethod · 0.45

Tested by

no test coverage detected