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

Method CalcBytesPinned

be/src/runtime/buffered-tuple-stream.cc:282–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282int64_t BufferedTupleStream::CalcBytesPinned() const {
283 int64_t result = 0;
284 for (const Page& page : pages_) {
285 if (!page.attached_to_output_batch) result += page.pin_count() * page.len();
286 }
287 return result;
288}
289
290Status BufferedTupleStream::PinPage(Page* page) {
291 RETURN_IF_ERROR(buffer_pool_->Pin(buffer_pool_client_, &page->handle));

Callers

nothing calls this directly

Calls 2

pin_countMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected