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

This is a struct defining a FIFO It is composed of several Buffered_FIFO_chunk. More...

#include <Buffered_FIFO.h>

Collaboration diagram for Buffered_FIFO:
Collaboration graph

Data Fields

MALP_Spinlock head_lock
 a lock for concurent access to the head More...
 
struct Buffered_FIFO_chunkhead
 the head chunk (chere elements are pushed More...
 
MALP_Spinlock tail_lock
 a lock for concurent access to the tail More...
 
struct Buffered_FIFO_chunktail
 the tail chunk (from where elements are popped More...
 
uint64_t chunk_size
 the size of the composing chunks More...
 
size_t elem_size
 the size of each stored element More...
 
MALP_Spinlock lock
 a lock for concurrent access to element_count More...
 
uint64_t elem_count
 the number of elements currently stored in the FIFO More...
 

Detailed Description

This is a struct defining a FIFO It is composed of several Buffered_FIFO_chunk.

Definition at line 138 of file Buffered_FIFO.h.

Field Documentation

uint64_t Buffered_FIFO::chunk_size

the size of the composing chunks

Definition at line 144 of file Buffered_FIFO.h.

uint64_t Buffered_FIFO::elem_count

the number of elements currently stored in the FIFO

Definition at line 148 of file Buffered_FIFO.h.

size_t Buffered_FIFO::elem_size

the size of each stored element

Definition at line 145 of file Buffered_FIFO.h.

struct Buffered_FIFO_chunk* Buffered_FIFO::head

the head chunk (chere elements are pushed

Definition at line 140 of file Buffered_FIFO.h.

MALP_Spinlock Buffered_FIFO::head_lock

a lock for concurent access to the head

Definition at line 139 of file Buffered_FIFO.h.

MALP_Spinlock Buffered_FIFO::lock

a lock for concurrent access to element_count

Definition at line 147 of file Buffered_FIFO.h.

struct Buffered_FIFO_chunk* Buffered_FIFO::tail

the tail chunk (from where elements are popped

Definition at line 142 of file Buffered_FIFO.h.

MALP_Spinlock Buffered_FIFO::tail_lock

a lock for concurent access to the tail

Definition at line 141 of file Buffered_FIFO.h.


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