GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-15

Constituent: test_ques     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

test_ques.c File Reference

Unit test of the L, LI, Q and QI facilities. More...


Detailed Description

Unit test of the L, LI, Q and QI facilities.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id

The L, LI, Q and QI facilities are facilities implementing variations on basic que'ing operations. The L and LI routines provide singly linked list manipulation, while the Q and QI provide doubly linked list manipulation. The I indicates interlocked versions of the routines. For the interlocked routines, fine-grain timeout control is available for the removal routines.

In addition to testing the basic functionality, initialization, insert, jam, removal (with and without timeouts). the performance of these routines is measured in terms of the number of nanoseconds it takes to do the insertions and removals.

The test can be run from the command line by typing

   $ test_ques

Generated on Thu Mar 22 06:12:06 2007 by  doxygen 1.4.4