Project
Loading...
Searching...
No Matches
o2::aod::native::ReadBufferPool Class Reference

#include <ReadPlan.h>

Classes

struct  Buffer
 

Public Member Functions

Buffer get (size_t size)
 The smallest free buffer of at least size bytes, or a new one.
 
void put (Buffer buffer)
 

Detailed Description

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.

Member Function Documentation

◆ get()

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 19 of file ReadPlan.cxx.

◆ put()

void o2::aod::native::ReadBufferPool::put ( Buffer  buffer)

Definition at line 41 of file ReadPlan.cxx.


The documentation for this class was generated from the following files: