GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCM / V1-4-4

Constituent: lcm_siu     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

SMON.c File Reference

Monitor LCB and other stats and send results to SSR. More...

#include <string.h>
#include <stdio.h>
#include "PBS/TMR.h"
#include "PBS/MBA.h"
#include "PBS/FPA.h"
#include "PBS/FORK.h"
#include "PBS/WUT.h"
#include "PBS/WCT.h"
#include "ITC/ITC_pubdefs.h"
#include "LCM/LCM_msgs.h"
#include "LCM/LCM_tlmdefs.h"
#include "LCBD/LCBD.h"
#include "LCBD/LCBD_stats.h"
#include "MSG/MSG_pubdefs.h"
#include "CDM/CDM_pubdefs.h"
#include "CPU_DB/CPU_DB_pubdefs.h"
#include "LSF/LSF.h"
#include "LSF/LSF_ids.h"
#include "src/CSSR.h"
#include "src/SMON.h"
#include "src/SMON_ssrdefs.h"
#include "LEM/defs.h"
#include "LEM/list.h"
#include "LEM/encode.h"
#include "LEM/decode.h"

Include dependency graph for SMON.c:


Functions

unsigned int SMON_init (int numQueuedSends)
 Setup module to monitor the LCB and send stats to the SSR.
unsigned int SMON_start ()
 start <LCB module by starting up fork task and timer
void SMON_stop ()
 close SMON modules and stop CSSR task
unsigned int SMON_setTimer (int timeId, unsigned int statMask, int option, int timeLenSec, unsigned int timeSampleMilliSec)
 setup a timer to collect stats
int SMON_stats ()
 print stats on SMON module

Detailed Description

Monitor LCB and other stats and send results to SSR.

Author:
Ed BAcho - ebacho@slac.stanford.edu
    CVS $Id: SMON.c,v 1.2 2005/12/29 02:02:46 ebacho Exp $

SYNOPSIS
This utility collects LCB and other stats at a given time interval and sends it in to the SSR.

Function Documentation

unsigned int SMON_init int  numQueuedSends  ) 
 

Setup module to monitor the LCB and send stats to the SSR.

Parameters:
numQueuedSends number of requested that will be queued to CSSR task
Returns:
status

unsigned int SMON_setTimer int  timeId,
unsigned int  statMask,
int  option,
int  timeLenSec,
unsigned int  timeSampleMilliSec
 

setup a timer to collect stats

Parameters:
timeId timer to control (0 to SMON_MAXID_TIMEID-1)
statMask mask of which stats to collect on this timer
option 1=noCompress,2=resetOnSample
timeLenSec -1=forever,0=disabled,otherwise length of sampling in sec
timeSampleMilliSec time between stat samples in milliSec
Returns:
status

unsigned int SMON_start  ) 
 

start <LCB module by starting up fork task and timer

Returns:
status

int SMON_stats  ) 
 

print stats on SMON module

Returns:
status

unsigned int SMON_stop  ) 
 

close SMON modules and stop CSSR task

Returns:
none


Generated on Mon Nov 5 02:24:39 2007 by  doxygen 1.4.4