GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBC / V4-8-0

Constituent: pbc_bootshell     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

_pbc_ErrorLog Struct Reference

Boot error log master structure. More...

Collaboration diagram for _pbc_ErrorLog:

Collaboration graph
[legend]

Data Fields

unsigned int firstPtr
unsigned int nextPtr
unsigned int errorCount
unsigned int ringCount
pbc_ErrorLogEntry last
pbc_ErrorLogEntry ring [pbc_ERROR_LOG_SIZE]

Detailed Description

Boot error log master structure.

PBC error log structure. Includes the error ring, the pointers to the "head" & "tail", statistics and other info.

Many people like to refer to the head and tail of a ring buffer. That confuses me, (I can never figure out which is the head and which is the tail) so I use first (the oldest entry) and next (where the next entry would go).


Field Documentation

unsigned int _pbc_ErrorLog::errorCount
 

Total error count.

unsigned int _pbc_ErrorLog::firstPtr
 

The index of the oldest entry in the error ring.

pbc_ErrorLogEntry _pbc_ErrorLog::last
 

The last error reported. Recorded even if the ring is full.

unsigned int _pbc_ErrorLog::nextPtr
 

The index of the next entry in the error ring.

pbc_ErrorLogEntry _pbc_ErrorLog::ring[pbc_ERROR_LOG_SIZE]
 

The ring buffer. Stop on full.

unsigned int _pbc_ErrorLog::ringCount
 

Number of errors in the ring.


The documentation for this struct was generated from the following file:
Generated on Mon Aug 15 22:46:41 2005 by doxygen 1.3.3