GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > IMM / V0-0-1
Constituent: imm     Tag: mv2304
#include "PBS/RNG.h"
#include "PBS/TOC.h"
#include "PBS/WCT.h"
Include dependency graph for RBM_pubdefs.h:
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | _RBM_RingHist |
Structure for reporting ring allocation histogram. More... | |
struct | _RBM_RingStat |
Structure for complete RBM ring instrumentation statistics. More... | |
Defines | |
#define | RBM_L_RINGNAME (8) |
Maximum length of ring name (incl. '\0'). | |
Typedefs | |
typedef _RBM_Ring | RBM_Ring |
Typedef for struct _RBM_Ring. | |
typedef unsigned int | RBM_cb_ScanRing (void *prm, RBM_Ring *rcb) |
Signature for an RBM memory ring scan routine. | |
typedef void | RBM_cb_StopRing (void *prm) |
Signature for an ring buffer manager stop completion routine. | |
typedef _RBM_RingStat | RBM_RingStat |
Typedef for struct _RBM_RingStat. | |
typedef _RBM_RingHist | RBM_RingHist |
Typedef for struct _RBM_RingHist. | |
Functions | |
void * | RBM_allocITC (RBM_Ring *rcb, unsigned int siz, void **rtn, void **cb0, void **cb1, void **cb2) |
Allocate memory packet without timeout (ITC courtesy entry point). | |
void * | RBM_allocW_toc (RBM_Ring *rcb, unsigned int siz, const TOC *toc, unsigned int *status) |
Allocate a packet from a managed ring buffer. | |
unsigned int | RBM_createRing (RBM_Ring **rcb, const char *ringName, unsigned int ringSize, unsigned int ringUnder, unsigned int ringOver, unsigned int ringAlign) |
Create a managed ring buffer. | |
unsigned int | RBM_deleteRing (RBM_Ring *rcb) |
Delete a managed ring buffer (and release its resources). | |
unsigned int | RBM_free (RBM_Ring *rcb, void *pkt, unsigned int siz) |
Free memory back to a managed ring buffer. | |
RBM_Ring * | RBM_getRingHandle (const char *name) |
Return the ring handle corresponding to a ring name. | |
unsigned int | RBM_getRingHist (RBM_Ring *rcb, RBM_RingHist *rhb) |
Get the contents of the histogram block for a ring. | |
const char * | RBM_getRingName (RBM_Ring *rcb) |
Return the name of a managed ring buffer. | |
unsigned int | RBM_getRingStat (RBM_Ring *rcb, RBM_RingStat *rsb, unsigned int reset) |
Get the contents of the statistics block for a managed ring buffer. | |
unsigned int | RBM_initialize (void) |
Initialize the memory pool manager. | |
unsigned int | RBM_scanRing (RBM_cb_ScanRing *rtn, void *prm) |
Scan through the list of managed ring buffers. | |
unsigned int | RBM_startRing (RBM_Ring *rcb) |
Start a managed ring buffer. | |
unsigned int | RBM_stopRing (RBM_Ring *rcb, RBM_cb_StopRing *ringRtn, void *ringPrm) |
Stop a managed ring buffer. |
CVS $Id: RBM_pubdefs.h,v 1.1.1.1 2005/03/18 02:22:08 apw Exp $
|
Allocate memory packet without timeout (ITC courtesy entry point).
|
Here is the call graph for this function:
|
Allocate a packet from a managed ring buffer.
|
Here is the call graph for this function:
|
Create a managed ring buffer.
|
Here is the call graph for this function:
|
Delete a managed ring buffer (and release its resources).
|
|
Free memory back to a managed ring buffer.
|
Here is the call graph for this function:
|
Return the ring handle corresponding to a ring name.
|
|
Get the contents of the histogram block for a ring.
Any errors also result in a zeroed histogram block being returned. |
|
Return the name of a managed ring buffer.
|
|
Get the contents of the statistics block for a managed ring buffer.
Statistics include free memory high and low water marks since the ring was started. These can be of marginal utility (the hwm never moves off the original number of bytes allocated, and if the ring exhausts, the lwm gets stuck on zero). The statistics therefore keep a second, resettable set of high and low water marks. Setting the reset parameter to this routine will cause them to reset to the current free byte count (and take a timestamp of when the reset occured). These are the only statistics affected by the reset flag. All other statistics accumulate from ring buffer start. If called while the ring buffer is not started, the statistics returned apply to the most recent "started" period. If the memory ring has never been started, a zeroed statistice block is returned. Any errors also result in a zeroed statistics block being returned. |
|
Initialize the memory pool manager.
|
|
Scan through the list of managed ring buffers.
|
|
Start a managed ring buffer.
|
|
Stop a managed ring buffer.
|
Here is the call graph for this function: