GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > IMM / V0-0-2
Constituent: imm     Tag: linux-gcc
#include "PBS/FPA.h"
#include "PBS/TOC.h"
#include "PBS/WCT.h"
Include dependency graph for FPM_pubdefs.h:
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | _FPM_AllocStat |
Structure for per allocator instrumentation statistics. More... | |
struct | _FPM_PoolDsc |
Structure to describe a memory pool. More... | |
struct | _FPM_PoolHist |
Structure for per pool instrumentation counts (histogram). More... | |
struct | _FPM_PoolStat |
Structure for complete FPM pool instrumentation statistics. More... | |
Defines | |
#define | FPM_L_POOLNAME (8) |
Maximum length of pool name (incl. '\0'). | |
Typedefs | |
typedef _FPM_Pool | FPM_Pool |
Typedef for struct _FPM_Pool. | |
typedef unsigned int | FPM_cb_ScanPool (void *prm, FPM_Pool *pcb) |
Signature for an FPM memory pool scan routine. | |
typedef void | FPM_cb_StopPool (void *prm) |
Signature for an FPM memory pool stop completion routine. | |
typedef _FPM_AllocStat | FPM_AllocStat |
Typedef for struct _MSG_AllocStat. | |
typedef _FPM_PoolStat | FPM_PoolStat |
Typedef for struct _MSG_PoolStat. | |
typedef _FPM_PoolDsc | FPM_PoolDsc |
Typedef for struct _FPM_PoolDsc. | |
typedef _FPM_PoolHist | FPM_PoolHist |
Typedef for struct _MSG_PoolHist. | |
Functions | |
void * | FPM_alloc (FPM_Pool *pcb, unsigned int siz, unsigned int *status) |
Allocate a packet from an FPM memory pool. | |
void * | FPM_allocITC (FPM_Pool *pcb, unsigned int siz, void **rtn, void **cb0, void **cb1, void **cb2) |
Allocate memory packet without timeout (ITC courtesy entry point). | |
void * | FPM_allocW (FPM_Pool *pcb, unsigned int siz, unsigned int *status) |
Allocate a packet from an FPM memory pool. | |
void * | FPM_allocW_toc (FPM_Pool *pcb, unsigned int siz, const TOC *toc, unsigned int *status) |
Allocate a packet from an FPM memory pool. | |
unsigned int | FPM_createPool (FPM_Pool **pcb, const char *poolNam, unsigned int poolCnt, FPM_PoolDsc *poolDsc, FPA_type typ) |
Create memory pool from collection of fixed packet allocators. | |
unsigned int | FPM_deletePool (FPM_Pool *pcb) |
Delete a memory pool (and release its resources). | |
unsigned int | FPM_free (FPM_Pool *pcb, void *pkt) |
Free a packet back to an FPM memory pool. | |
FPM_Pool * | FPM_getPoolHandle (const char *name) |
Return the pool handle corresponding to a pool name. | |
unsigned int | FPM_getPoolHist (FPM_Pool *pcb, FPM_PoolHist *phb) |
Get the contents of the histogram block for a pool. | |
const char * | FPM_getPoolName (FPM_Pool *pcb) |
Return the name of a memory pool. | |
unsigned int | FPM_getPoolStat (FPM_Pool *pcb, FPM_PoolStat *psb, unsigned int reset) |
Get the contents of the statistics block for a pool. | |
unsigned int | FPM_initialize (void) |
Initialize the memory pool manager. | |
unsigned int | FPM_scanPool (FPM_cb_ScanPool *rtn, void *prm) |
Scan through the list of memory pools. | |
unsigned int | FPM_sizeofPoolStat (FPM_Pool *pcb) |
Return the size (bytes) neede to hols a pool statistics block. | |
unsigned int | FPM_startPool (FPM_Pool *pcb) |
Start a fixed packet allocation memory pool. | |
unsigned int | FPM_stopPool (FPM_Pool *pcb, FPM_cb_StopPool *poolRtn, void *poolPrm) |
Stop a fixed packet allocation memory pool. |
CVS $Id: FPM_pubdefs.h,v 1.2 2005/03/25 01:01:41 apw Exp $
|
Allocate a packet from an FPM memory pool.
|
Here is the call graph for this function:
|
Allocate memory packet without timeout (ITC courtesy entry point).
|
Here is the call graph for this function:
|
Allocate a packet from an FPM memory pool.
|
Here is the call graph for this function:
|
Allocate a packet from an FPM memory pool.
|
Here is the call graph for this function:
|
Create memory pool from collection of fixed packet allocators.
|
Here is the call graph for this function:
|
Delete a memory pool (and release its resources).
|
Here is the call graph for this function:
|
Free a packet back to an FPM memory pool.
|
Here is the call graph for this function:
|
Return the pool handle corresponding to a pool name.
|
|
Get the contents of the histogram block for a pool.
Any errors also result in a zeroed histogram block being returned. |
|
Return the name of a memory pool.
|
|
Get the contents of the statistics block for a pool.
Pool statistics include allocation high and low water marks since the pool was started. These can be of marginal utility (the hwm never moves off the original number of packets allocated, and if the pool 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 currently allocated number of packets (and take a timestamp of when the reset occured). These are the only statistics affected by the reset flag. All other statistics accumulate from memory pool start. If called while the memory pool is not started, the statistics returned apply to the most recent "started" period. If the memory pool 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 memory pools.
|
|
Return the size (bytes) neede to hols a pool statistics block.
|
|
Start a fixed packet allocation memory pool.
|
|
Stop a fixed packet allocation memory pool.
|
Here is the call graph for this function: