GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > IMM / V0-2-0
Constituent: test_fpm     Tag: rad750
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "PBS/FFS.ih"
#include "PBS/FPA.h"
#include "PBS/MBA.h"
#include "PBS/TOC.h"
#include "PBS/TOV.h"
#include "PBS/WCT.h"
#include "MSG/MSG_pubdefs.h"
#include "IMM/FPM_pubdefs.h"
#include "IMM/FPM_msgs.h"
#include "FPM_prvdefs.h"
#include "FPM_tstdefs.h"
Include dependency graph for FPM_testStats.c:
Defines | |
#define | FPM_L_PKTCNT (8) |
Count of packets in pool (multiple of four). | |
#define | FPM_L_PKTSIZ (4) |
Size of packets in pool. | |
#define | NOSTART0 ( 0) |
Case nostart 0. | |
#define | NOSTART1 ( 1) |
Case nostart 1. | |
#define | START0 ( 2) |
Case start 0. | |
#define | ALLOC0 ( 3) |
Case alloc 0. | |
#define | ALLOC1 ( 4) |
Case alloc 1. | |
#define | ALLOC2 ( 5) |
Case alloc 2. | |
#define | ALLOC3 ( 6) |
Case alloc 3. | |
#define | STOP0 ( 7) |
Case stop 0. | |
#define | STOP1 ( 8) |
Case stop 1. | |
#define | STOP2 ( 9) |
Case stop 2. | |
#define | RESTART0 (10) |
Case restart 0. | |
#define | RESTOP0 (11) |
Case restop 0. | |
#define | RESTOP1 (12) |
Case restop 1. | |
#define | DELETE0 (13) |
Case delete 0. | |
#define | FPM_L_TESTS (14) |
Number of test cases. | |
Functions | |
void | testAlloc (FPM_Pool *pcb) |
Allocate memory used for statistics sampling. | |
void | testFree (FPM_Pool *pcb) |
Free memory used for statistics sampling. | |
unsigned int | testStats (void) |
Main routine of a statistics gathering test. | |
unsigned int | FPM_testStats () |
Driver for the FPM pool statistics gathering tests. | |
Variables | |
FPM_PoolStat * | stats [FPM_L_TESTS] |
Pool statistics. | |
FPM_PoolHist * | hists [FPM_L_TESTS] |
Pool histograms. | |
const char * | s_alloc = "packets allocated" |
The string "packets allocated". | |
const char * | s_free = "packets freed" |
The string "packets freed". | |
const char * | s_halloc = "alloc requests (correct allocator)" |
The string "alloc requests (correct allocator)". | |
const char * | s_hother = "alloc requests (other allocators)" |
The string "alloc requests (other allocators)". | |
const char * | s_hwm_r = "high water mark (since reset)" |
The string "high water mark (since reset)". | |
const char * | s_hwm_s = "high water mark (since start)" |
The string "high water mark (since start)". | |
const char * | s_lwm_r = "low water mark (since reset)" |
The string "low water mark (since reset)". | |
const char * | s_lwm_s = "low water mark (since start)" |
The string "low water mark (since start)". | |
const char * | s_now = "packets now" |
The string "packets now". | |
const char * | s_status = "status value" |
The string "status value". | |
const char * | s_siz = "packet size" |
The string "packet size". | |
const char * | s_tbeg = "start time" |
The string "start time". | |
const char * | s_trst = "reset time" |
The string "reset time". | |
const char * | s_tend = "end time" |
The string "stop time". | |
const char * | s_tPool = "tPool" |
The string "tPool". |
CVS $Id: FPM_testStats.c,v 1.2 2005/03/25 01:01:41 apw Exp $
|
Main routine of a statistics gathering test. testStats() tests statistics gathering |
Here is the call graph for this function: