Multi-ApplicationOnlineProfiling
2.1
|
Structure defining a chunk of FIFO. The Buffered_FIFO is made of several Buffered_FIFO_chunk containing the data. More...
#include <Buffered_FIFO.h>
Data Fields | |
MALP_Spinlock | lock |
a lock for concurrent internal manipulations More... | |
char * | payload |
the actual data More... | |
uint64_t | chunk_size |
the size of the current chunk More... | |
size_t | elem_size |
the size of stored elements More... | |
uint64_t | start_offset |
the start offset (position of oldest element in payload More... | |
uint64_t | end_offset |
the end offset (position of the end of newest element in payload More... | |
struct Buffered_FIFO_chunk * | prev |
previous chunk of the FIFO (newer elements) More... | |
Structure defining a chunk of FIFO. The Buffered_FIFO is made of several Buffered_FIFO_chunk containing the data.
This is useful to avoid allocating/deallocating at each push/pop.
Definition at line 48 of file Buffered_FIFO.h.
uint64_t Buffered_FIFO_chunk::chunk_size |
the size of the current chunk
Definition at line 51 of file Buffered_FIFO.h.
size_t Buffered_FIFO_chunk::elem_size |
the size of stored elements
Definition at line 52 of file Buffered_FIFO.h.
uint64_t Buffered_FIFO_chunk::end_offset |
the end offset (position of the end of newest element in payload
Definition at line 54 of file Buffered_FIFO.h.
MALP_Spinlock Buffered_FIFO_chunk::lock |
a lock for concurrent internal manipulations
Definition at line 49 of file Buffered_FIFO.h.
char* Buffered_FIFO_chunk::payload |
the actual data
Definition at line 50 of file Buffered_FIFO.h.
struct Buffered_FIFO_chunk* Buffered_FIFO_chunk::prev |
previous chunk of the FIFO (newer elements)
Definition at line 56 of file Buffered_FIFO.h.
uint64_t Buffered_FIFO_chunk::start_offset |
the start offset (position of oldest element in payload
Definition at line 53 of file Buffered_FIFO.h.