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

Structure defining a chunk of LIFO. A buffered lifo consists in several chunks which are stacked in a lifo fashion. Moreover those chunks gather several elems in order to avoid alocation and dealocation plus it reduces the pointer versus data ratio for small amount of data. More...

#include <Buffered_LIFO.h>

Collaboration diagram for Buffered_LIFO_chunk:
Collaboration graph

Data Fields

uint64_t offset
 offset in current chunk More...
 
struct Buffered_LIFO_chunknext
 A pointer to the next chunk (NULL if none) More...
 
char elems [0]
 A dummy pointer to the data which is piggybacked. More...
 

Detailed Description

Structure defining a chunk of LIFO. A buffered lifo consists in several chunks which are stacked in a lifo fashion. Moreover those chunks gather several elems in order to avoid alocation and dealocation plus it reduces the pointer versus data ratio for small amount of data.

Definition at line 50 of file Buffered_LIFO.h.

Field Documentation

char Buffered_LIFO_chunk::elems[0]

A dummy pointer to the data which is piggybacked.

Definition at line 54 of file Buffered_LIFO.h.

struct Buffered_LIFO_chunk* Buffered_LIFO_chunk::next

A pointer to the next chunk (NULL if none)

Definition at line 53 of file Buffered_LIFO.h.

uint64_t Buffered_LIFO_chunk::offset

offset in current chunk

Definition at line 52 of file Buffered_LIFO.h.


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