GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-15
Constituent: test_fpa     Tag: mv2304
CVS $Id
The FPA routines are one of the main memory managers offered by PBS. They provide a method of managing a block of memory as a collection of fixed size blocks that can be allocated and freed in an interlocked fashion. They are meant to aid the user in implementing the all resource allocations upfront FSW policy. The user can allocate a pool of memory using the random allocator MBA_alloc() or MBA_align(), then manage that pool within a task or collection of tasks using the FPA routines.
The advantages of the FPA routines are
In the world of memory allocators, one cannot have it all. The main feature missing is
The test can be run from the command line by typing
$ test_fpa