GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSW / V3-0-1 > lsw / rhel5-32
#include <PBS/FORK.h>
#include <PBS/FPA.h>
#include <PBS/MTX.h>
#include <PBS/RW.ih>
#include <PBS/WUT.h>
#include <IMM/FPM_pubdefs.h>
#include <IMM/RBM_pubdefs.h>
#include <ITC/ITC_pubdefs.h>
#include <TRC/TRC_pubdefs.h>
Classes | |
struct | _LSW_Tickle |
Structure of a fork message to tickle the mLSW task. More... | |
struct | _LSW_Dispatch |
Structure used to dispatch messages on the control queue. More... | |
struct | _LSW_Monitor |
Save/copy control/indirection to real monitor records. More... | |
struct | _LSW_Control |
Structure of trace control block. More... | |
Typedefs | |
typedef enum _LSW_ControlState | LSW_ControlState |
Typedef for enum _LSW_ControlState. | |
typedef struct _LSW_Tickle | LSW_Tickle |
Typedef for struct _LSW_Tickle. | |
typedef struct _LSW_Dispatch | LSW_Dispatch |
Typedef for struct _LSW_Dispatch. | |
typedef struct _LSW_Monitor | LSW_Monitor |
Typedef for struct _LSW_Monitor. | |
typedef struct _LSW_Control | LSW_Control |
Typedef for struct _LSW_Control. | |
Enumerations | |
enum | _LSW_ControlState { LSW_CTL_UNINITIALIZED = 0, LSW_CTL_BROKEN = 1, LSW_CTL_INITIALIZED = 2, LSW_CTL_STARTING = 3, LSW_CTL_STARTED = 4 } |
Enumeration of trace control states. More... | |
Functions | |
unsigned int | LSW_copyMonitor (ITC_NodeID nid, TRC_Monitor *mon) |
Make a coherent (thread safe) copy of a monitor record. | |
unsigned int | LSW_saveMonitor (LSW_Control *lcb, ITC_NodeID nid, TRC_Monitor *new) |
Save a coherent (thread safe) copy of a monitor record. | |
Variables | |
LSW_Control * | LSW_lcb |
Control block for LSW facility. |
CVS $Id: LSW_prvdefs.h,v 1.6 2011/03/29 20:50:12 apw Exp $
enum _LSW_ControlState |
unsigned int LSW_copyMonitor | ( | ITC_NodeID | nid, | |
TRC_Monitor * | mon | |||
) |
Make a coherent (thread safe) copy of a monitor record.
nid | (in) Node ID | |
mon | (out) Monitor record |
LSW_CANTCOPY | Cannot make a coherent copy | |
LSW_NODENOT | Not a monitored node | |
LSW_NORECORD | Monitor record not available | |
LSW_NOTINIT | LSW system not initialized | |
LSW_PARMNULL | Caller passed a null parameter | |
LSW_SUCCESS | Success |
References _LSW_Monitor::cnt, _LSW_Control::latest, LSW_CTL_STARTED, LSW_lcb, _LSW_Monitor::pnt, and _LSW_Control::state.
Referenced by LSW_differMonitor().
unsigned int LSW_saveMonitor | ( | LSW_Control * | lcb, | |
ITC_NodeID | nid, | |||
TRC_Monitor * | new | |||
) |
Save a coherent (thread safe) copy of a monitor record.
lcb | (in) LSW control block | |
nid | (in) Node ID the monitor record applies to | |
new | (in) New monitor record to be saved |
References _LSW_Monitor::cnt, _LSW_Control::latest, _LSW_Monitor::pnt, _LSW_Control::rwi, and _LSW_Control::scratch.
Referenced by control_rx(), and forkTickle().