Multi-ApplicationOnlineProfiling
2.1
|
Structure defining buffered LIFO. More...
#include <Buffered_LIFO.h>
Data Fields | |
size_t | sizeof_payload |
Sizeof a payload element. More... | |
uint64_t | chunk_size |
Maximum number of elems in a chunk. More... | |
MALP_Spinlock | lock |
A spinlock to protect the LIFO. More... | |
struct Buffered_LIFO_chunk * | head |
A pointer to the first chunk. More... | |
Structure defining buffered LIFO.
Its usage is thread safe and basically wraps a Buffered_LIFO_chunk
Definition at line 113 of file Buffered_LIFO.h.
uint64_t Buffered_LIFO::chunk_size |
Maximum number of elems in a chunk.
Definition at line 116 of file Buffered_LIFO.h.
struct Buffered_LIFO_chunk* Buffered_LIFO::head |
A pointer to the first chunk.
Definition at line 120 of file Buffered_LIFO.h.
MALP_Spinlock Buffered_LIFO::lock |
A spinlock to protect the LIFO.
Definition at line 118 of file Buffered_LIFO.h.
size_t Buffered_LIFO::sizeof_payload |
Sizeof a payload element.
Definition at line 115 of file Buffered_LIFO.h.