![]() |
Project
|
#include <ReadPlan.h>
Classes | |
| struct | Buffer |
| struct | Unmap |
Public Member Functions | |
| ReadBufferPool (size_t maxFreeBytes=0) | |
| Buffer | get (size_t size) |
| The smallest free buffer of at least size bytes, or a new one. | |
| void | put (Buffer buffer) |
Memory for the reads of ReadPlans, kept from one DF to the next: a new plan takes the buffers of the plans which are gone instead of allocating, and faulting in, fresh ones.
Definition at line 28 of file ReadPlan.h.
|
inlineexplicit |
Keeps at most maxFreeBytes in free buffers, dropping the largest first; with 0, at most kMaxFree buffers, dropping the smallest first.
Definition at line 43 of file ReadPlan.h.
| ReadBufferPool::Buffer o2::aod::native::ReadBufferPool::get | ( | size_t | size | ) |
The smallest free buffer of at least size bytes, or a new one.
Definition at line 21 of file ReadPlan.cxx.
Definition at line 52 of file ReadPlan.cxx.