GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCBD / V1-4-2
Constituent: lcbd     Tag: linux-gcc
#include "PBS/WCT.h"
#include "LCBD/LCBD_rst.h"
#include "LCBD/LCBD_evt.h"
#include "LCBD/LCB.h"
Include dependency graph for LCBD_stats.h:
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | _LCBD_stats_tim |
Information about the collection time. More... | |
struct | _LCBD_stats_isr |
Defines the statistics keep by the LCBD ISR routine. More... | |
struct | _LCBD_stats_rst |
Defines the statistics keep by RESULT handler. More... | |
struct | _LCBD_stats_evt_proto_xct |
This is a sub-structure of the LCBD event protocol statistics, keeping track of the events (packets) for a transaction. More... | |
struct | _LCBD_stats_evt_proto |
This is a sub-structure of the LCBD event statistics, keeping track of events (messages) by protocol type. More... | |
struct | _LCBD_stats_evt_tickle |
Statistics about LCBD_stats_evt_tickle. More... | |
struct | _LCBD_stats_evt |
Defines the statistics keep by the EVENT handler. More... | |
struct | _LCBD_stats |
Encompassing structure for all the LCBD driver statistics. More... | |
Defines | |
#define | LCBD_OK 0 |
Success return code, note that this is not an LCBD message code, but may be used as one. | |
Typedefs | |
typedef _LCBD_stats_tim | LCBD_stats_tim |
Typedef for struct _LCBD_stats_tim. | |
typedef enum _LCBD_STATS_ISR_K_EVT_QUE | LCBD_STATS_ISR_K_EVT_QUE |
Typedef for enum _LCBD_STATS_ISR_K_EVT_QUE. | |
typedef enum _LCBD_STATS_ISR_K_EVT_BUF | LCBD_STATS_ISR_K_EVT_BUF |
Typedef for enum _LCBD_STATS_ISR_K_EVT_BUF. | |
typedef _LCBD_stats_isr | LCBD_stats_isr |
Typedef for struct _LCBD_stats_isr. | |
typedef enum _LCBD_stats_rst_tx | LCBD_stats_rst_tx |
Typedef for enum _LCBD_stats_tx. | |
typedef _LCBD_stats_rst | LCBD_stats_rst |
Typedef for struct _LCBD_stats_rst. | |
typedef _LCBD_stats_evt_proto_xct | LCBD_stats_evt_proto_xct |
Typedef for the struct _LCBD_stats_evt_proto_xct. | |
typedef _LCBD_stats_evt_proto | LCBD_stats_evt_proto |
Typedef for the struct _LCBD_stats_evt_proto. | |
typedef enum _LCBD_STATS_EVT_TICKLE_K | LCBD_STATS_EVT_TICKLE_K |
Typedef for enum _LCBD_STATS_EVT_TICKLE_K. | |
typedef _LCBD_stats_evt_tickle | LCBD_stats_evt_tickle |
Typedef for LCBD_stats_evt_tickle. | |
typedef _LCBD_stats_evt | LCBD_stats_evt |
Typedef for struct _LCBD_stats_evt. | |
typedef _LCBD_stats | LCBD_stats |
Typedef for struct _LCBD_stats. | |
Enumerations | |
enum | _LCBD_STATS_ISR_K_EVT_QUE { LCBD_STATS_ISR_K_EVT_QUE_NONE = 0, LCBD_STATS_ISR_K_EVT_QUE_EMPTY = 1, LCBD_STATS_ISR_K_EVT_QUE_PRESENT = 2, LCBD_STATS_ISR_K_EVT_QUE_CNT = 3 } |
Enumerates the event que counters. More... | |
enum | _LCBD_STATS_ISR_K_EVT_BUF { LCBD_STATS_ISR_K_EVT_BUF_NONE = 0, LCBD_STATS_ISR_K_EVT_BUF_QUIET = 1, LCBD_STATS_ISR_K_EVT_BUF_DISABLE = 2, LCBD_STATS_ISR_K_EVT_BUF_CNT = 3 } |
Enumerates the event buffer counters. More... | |
enum | _LCBD_stats_rst_tx { LCBD_STATS_RST_TX_POSTED = 0, LCBD_STATS_RST_TX_PENDED = 1, LCBD_STATS_RST_TX_REMOVED = 2, LCBD_STATS_RST_TX_DELETED = 3, LCBD_STATS_RST_TX_CNT = 4 } |
Enumerates the transmission statistics. More... | |
enum | _LCBD_STATS_EVT_TICKLE_K { LCBD_STATS_EVT_TICKLE_K_EMPTY = 0, LCBD_STATS_EVT_TICKLE_K_POSTED = 1, LCBD_STATS_EVT_TICKLE_K_BUSY = 2, LCBD_STATS_EVT_TICKLE_K_RSVD = 3, LCBD_STATS_EVT_TICKLE_K_CNT = 4 } |
Enumerates the definitions of the LCBD_stats_evt_tickle statistics counters. More... | |
Functions | |
unsigned int | LCBD_stats_clr (LCBD lcb) |
Clears the statistics block. | |
unsigned int | LCBD_stats_get (const LCBD lcb, LCBD_stats *stats) |
Retrieves a copy of the current statistics. | |
void | LCBD_stats_sub (LCBD_stats *result, const LCBD_stats *stats, const LCBD_stats *base) |
Convenience function to subtract a baseline statistics block from another statistics block, storing in a destination block. | |
void | LCBD_stats_tim_show (const LCBD_stats_tim *tim) |
Shows (prints to standard output) the collection time data. | |
void | LCBD_stats_isr_show (const LCBD_stats_isr *isr) |
Shows (prints to the terminal) a display of the statistics gathered in the LCBD ISR routine. | |
void | LCBD_stats_rst_show (const LCBD_stats_rst *rst) |
Shows (prints to the terminal) a display of the statistics gathered in the LCBD RESULTs handler routine. | |
void | LCBD_stats_evt_show (const LCBD_stats_evt *evt) |
Shows (prints to the terminal) a display of the statistics gathered in the LCBD EVENTs handler routine. | |
void | LCBD_stats_show (const LCBD_stats *stats) |
Shows (prints at the terminal) all three statistics blocks. |
JJRussell -- russell@slac.stanford.edu
CVS $Id
|
Typedef for struct _LCBD_stats.
|
|
Typedef for struct _LCBD_stats_evt.
These error sets are not mutually exclusive, i.e. it is theoritically possible to get both a receive error and a transfer error on the same packet, although in practice the implementation may not support this.
I believe in the current implementation by Eric Siskind, INFSMEM can no longer occur. The Buffer Full and Buffer Empty indicate an internal LCB error.
Both these conditions are counted.
|
|
Typedef for the struct _LCBD_stats_evt_proto.
|
|
Typedef for the struct _LCBD_stats_evt_proto_xct.
|
|
Typedef for LCBD_stats_evt_tickle.
|
|
Typedef for struct _LCBD_stats_isr.
|
|
Typedef for struct _LCBD_stats_rst.
|
|
Typedef for struct _LCBD_stats_tim.
|
|
|
Enumerates the event buffer counters.
|
|
Enumerates the event que counters.
|
|
Enumerates the transmission statistics.
|
|
Clears the statistics block.
|
|
Shows (prints to the terminal) a display of the statistics gathered in the LCBD EVENTs handler routine.
|
|
Retrieves a copy of the current statistics.
|
|
Shows (prints to the terminal) a display of the statistics gathered in the LCBD ISR routine.
|
|
Shows (prints to the terminal) a display of the statistics gathered in the LCBD RESULTs handler routine.
|
|
Shows (prints at the terminal) all three statistics blocks.
|
|
Convenience function to subtract a baseline statistics block from another statistics block, storing in a destination block.
|
|
Shows (prints to standard output) the collection time data.
|