GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCBT / V1-6-2 > lcbt / rad750


Interface   Data Structures   File List   Data Fields   Globals  

LCBT_fillQueue.c File Reference

LCB test that check cases where queues on LCB are filled. More...

#include <LCBT/LCBT.h>
#include <PBS/MBA.h>
#include <PBS/QI.h>
#include <LCBT_printf.h>

Functions

int LCBT_fillQueueTest (int numLoop, int disableResult)
 Fill requestQ with requests to make sure it handles it properly.


Detailed Description

LCB test that check cases where queues on LCB are filled.

Author:
Ed Bacho -- ebacho@slac.stanford.edu These tests exercise the HW and driver in cases where various queues within the LCB are filled.

Function Documentation

int LCBT_fillQueueTest ( int  numLoop,
int  disableResult 
)

Fill requestQ with requests to make sure it handles it properly.

Parameters:
numLoop Number of times to do in the test
disableResult fill up all queues by disabling result queue
Returns:
total errs This test is used to test the HW and driver to make sure it can handle the requestQ filling. In this case the driver should put the requests on a list and submit to the HW as the HW finishes other requests. The two test cases are: disableResult=0 THis should fill up Request queue and all queues before the transfer engine. disableResult=1 THis should fill up Request queue all queues before and after the transfer engine, and the result queue

References EPRINTF, LCBT_OPTION_VERBOSE, LCBT_STALL, and PRINTF.


Generated on Fri Mar 25 12:53:43 2011 by  doxygen 1.5.8