GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QLCM / V0-3-1

Constituent: qstats_dump     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QSTATS_lcbShow.c File Reference

Print routines for QSTATS LCB packets. More...

#include <stdio.h>
#include <stdlib.h>
#include "QLCM/QSTATS.h"
#include "QLCM/QLCBD_stats.h"
#include "src/QSTATS_prvdefs.h"

Include dependency graph for QSTATS_lcbShow.c:


Functions

static void putSeparator (int type)
 Puts a separator line out.
static void putRow (const char t0, const char *title, const unsigned int *cnts, int stride)
 Internal routine to format one row of the QLCBD_evt_stats display.
static __inline void putEvtProtoTitle (void)
 Internal routine to output the title line for the event protocol statitics.
static void putEvtProtoRow (const char *title, unsigned int rcnts, unsigned long long int rwrds, unsigned int fcnts, unsigned int fcall, unsigned long long int fwrds)
 Internal routine to format one row of the QLCBD_stats_evt_proto display.
static __inline void putEvtHandler (const QLCBD_stats_evt *evt)
 Outputs the LCBD_stats_evt that are accumulated in the event handler.
static __inline void putEvtTickle (const QLCBD_stats_evt_tickle *tickle)
 Outputs the LCBD_evt_tickle statistics.
static __inline void putEvtProto (const QLCBD_stats_evt_proto *proto)
 Outputs that portion of the event statistics that is by protocol.
void QSTATS_lcb_tim_show (const QLCBD_stats_tim *tim)
 Shows (prints to standard output) the collection time data.
void QSTATS_lcb_isr_show (const QLCBD_stats_isr *isr)
 Shows (prints to the terminal) a display of the statistics gathered in the LCBD ISR routine.
void QSTATS_lcb_rst_show (const QLCBD_stats_rst *rst)
 Shows (prints to the terminal) a display of the statistics gathered in the LCBD RESULTs handler routine.
void QSTATS_lcb_evt_show (const QLCBD_stats_evt *evt)
 Shows (prints to the terminal) a display of the statistics gathered in the LCBD EVENTs handler routine.
void QSTATS_lcb_show (const QLCBD_stats *stats)
 Shows (prints at the terminal) all three statistics blocks.

Detailed Description

Print routines for QSTATS LCB packets.

Author:
Ed Bacho -- ebacho@slac.stanford.edu
This package provides the print routines for LCB STat data.

Function Documentation

static __inline void putEvtProto const QLCBD_stats_evt_proto proto  )  [static]
 

Outputs that portion of the event statistics that is by protocol.

Parameters:
proto The event statistics by protocol to output

static void putEvtProtoRow const char *  title,
unsigned int  rcnts,
unsigned long long int  rwrds,
unsigned int  fcall,
unsigned int  fcnts,
unsigned long long int  fwrds
[static]
 

Internal routine to format one row of the QLCBD_stats_evt_proto display.

Parameters:
title The title line
rcnts The number of packets received
rwrds The number of 32-bit words received
fcall The number of calls to LCBD_evt_free
fcnts The number of packets actually freed
fwrds The number of 32-bit words freed

static __inline void putEvtTickle const QLCBD_stats_evt_tickle tickle  )  [static]
 

Outputs the LCBD_evt_tickle statistics.

Parameters:
tickle The LCBD_evt_tickle statisttics to output

static void putRow const char  t0,
const char *  title,
const unsigned int *  cnts,
int  stride
[static]
 

Internal routine to format one row of the QLCBD_evt_stats display.

Parameters:
t0 Leading legend character
title The title of this row
cnts The array of 4 counts to output
stride The number of elements between each cnt

static void putSeparator int  type  )  [static]
 

Puts a separator line out.

Parameters:
type The type of separator

void QSTATS_lcb_evt_show const QLCBD_stats_evt evt  ) 
 

Shows (prints to the terminal) a display of the statistics gathered in the LCBD EVENTs handler routine.

See also:
LCBD_stats_evt
Parameters:
evt The event statistics

void QSTATS_lcb_isr_show const QLCBD_stats_isr isr  ) 
 

Shows (prints to the terminal) a display of the statistics gathered in the LCBD ISR routine.

See also:
LCBD_stats_isr
Parameters:
isr The driver statistics block

void QSTATS_lcb_rst_show const QLCBD_stats_rst rst  ) 
 

Shows (prints to the terminal) a display of the statistics gathered in the LCBD RESULTs handler routine.

See also:
LCBD_stats_rst
Parameters:
rst The results statistics block

void QSTATS_lcb_show const QLCBD_stats stats  ) 
 

Shows (prints at the terminal) all three statistics blocks.

Parameters:
stats The statistics block to display

void QSTATS_lcb_tim_show const QLCBD_stats_tim tim  ) 
 

Shows (prints to standard output) the collection time data.

Parameters:
tim The collection time structure to display


Generated on Tue Jun 20 21:19:27 2006 by  doxygen 1.4.4