Multi-ApplicationOnlineProfiling  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Buffered_LIFO Struct Reference

Structure defining buffered LIFO. More...

#include <Buffered_LIFO.h>

Collaboration diagram for Buffered_LIFO:
Collaboration graph

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_chunkhead
 A pointer to the first chunk. More...
 

Detailed Description

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.

Field Documentation

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.


The documentation for this struct was generated from the following file: