GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LSW / V2-0-0
Constituent: lsw     Tag: linux-gcc
#include <string.h>
#include "IMM/FPM_pubdefs.h"
#include "IMM/RBM_pubdefs.h"
#include "ITC/ITC_drvdefs.h"
#include "ITC/ITC_pubdefs.h"
#include "MDB/MDB_pubdefs.h"
#include "PBS/FORK.h"
#include "PBS/MBA.h"
#include "PBS/MTX.h"
#include "PBS/RW.ih"
#include "TRC/TRC_msgs.h"
#include "TRC/TRC_pubdefs.h"
#include "LSW/LSW_cmdxtrn.h"
#include "LSW/LSW_msgs.h"
#include "LSW/LSW_pubdefs.h"
#include "LSW_prvdefs.h"
Include dependency graph for LSW_control.c:
Functions | |
static unsigned int | control_rx (void *prm, const ITC_QueueItem *qitem, void *pay, unsigned int len) |
Process messages arriving on the control queue. | |
static WUT_cb_status | expireTickle (void *prm, WUT_tmr *wut) |
Timer callback used to force a task switch. | |
static FORK_cb_status | forkTickle (FORK_cb_prm *prm, FORK_msg_hdr *hdr) |
Task level target of the cyclic interrupt timer. | |
static unsigned int | initializeCyclic (LSW_Control *lcb, unsigned int rate) |
Initialize the LSW cyclic timer. | |
static unsigned int | initializeMonitor (LSW_Control *lcb) |
Initialize the LSW performance monitor functions. | |
static unsigned int | initializeTask (LSW_Control *lcb) |
Initialize the LSW task description. | |
static void | monitor_cb (ITC_QueueItem *qitem, unsigned int status, void *prm0, void *prm1, void *prm2, unsigned int tx) |
Clean up after sending a monitor record to the SIU. | |
static void | snapStart (void *prm) |
One-time call to reset priority and snapshot the start line. | |
unsigned int | LSW_initialize (unsigned int rate) |
Initialize the LSW tracing facility. | |
unsigned int | LSW_start () |
Start the mLSW task. | |
Variables | |
LSW_Control * | LSW_lcb |
Control block for LSW facility. |
CVS $Id: LSW_control.c,v 1.2 2007/03/22 01:55:58 apw Exp $
|
Process messages arriving on the control queue.
|
|
Timer callback used to force a task switch. LSW_expireTickle() is a timer callback routine. It simply wakes up a high priority task (by sending a message to one of the task's fork queues), updates the watchdog timer, then resets itself. |
|
Task level target of the cyclic interrupt timer. This routine implements the task monitor functions. It wakes up cyclically (usually at one second intervals) and takes a snapshot of the monitor section of the system trace information. This is saved locally. and, if this is an EPU, is sent to the SIU. |
|
Initialize the LSW cyclic timer.
|
|
Initialize the LSW performance monitor functions.
|
|
Initialize the LSW task description.
|
|
Initialize the LSW tracing facility.
|
|
Start the mLSW task. LSW_start() starts the mLSW task |
|
Clean up after sending a monitor record to the SIU.
|