GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MON / V0-3-0

Constituent: mon     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

MON_poll.c File Reference

CPU monitor polling task. More...

#include "unistd.h"
#include "MON/MON_msgs.h"
#include "MON/MON_pubdefs.h"
#include "MSG/MSG_pubdefs.h"
#include "PBS/MBA.h"
#include "PBS/MTX.h"
#include "PBS/TASK.h"
#include "MON_idle.h"
#include "MON_perf.h"
#include "MON_poll.h"

Include dependency graph for MON_poll.c:


Functions

unsigned int MON_poll_init (MON_Poll_Control *ctl_p, MON_Idle_Control *idle_p, MON_Perf_Control *perf_p, MTX *mtx_p)
 Initialize the POLL task.
unsigned int MON_poll_shutdown (MON_Poll_Control *ctl_p)
 Shutdown the POLL task.
static void * mon_poll_task (TASK_parameter parm)
 Poll the IDLE task and performance monitors.
unsigned int MON_poll_start (MON_Poll_Control *ctl_p, TASK_attr *attr_p)
 Start the POLL task.
unsigned int MON_poll_stop (MON_Poll_Control *ctl_p)
 Stop the POLL task.

Detailed Description

CPU monitor polling task.

**  CVS $Id: MON_poll.c,v 1.1.1.1 2005/03/10 22:16:39 dmay Exp $
**  

Polls the IDLE loop and performance monitor functions at a periodic interval.


Function Documentation

unsigned int MON_poll_init MON_Poll_Control ctl_p,
MON_Idle_Control idle_p,
MON_Perf_Control perf_p,
MTX *  mtx_p
 

Initialize the POLL task.

Parameters:
ctl_p Pointer to POLL state.
idle_p Pointer to IDLE monitor state.
perf_p Pointer to performance monitor state.
mtx_p Pointer to control block access MUTEX.
Returns:
MSG code.

unsigned int MON_poll_shutdown MON_Poll_Control ctl_p  ) 
 

Shutdown the POLL task.

Parameters:
ctl_p Pointer to POLL state.
Returns:
MSG code.

unsigned int MON_poll_start MON_Poll_Control ctl_p,
TASK_attr *  attr_p
 

Start the POLL task.

Parameters:
ctl_p Pointer to POLL state.
attr_p Pointer to POLL task attributes.
Returns:
MSG code.

unsigned int MON_poll_stop MON_Poll_Control ctl_p  ) 
 

Stop the POLL task.

Parameters:
ctl_p Pointer to POLL state.
Returns:
MSG code.

void * mon_poll_task TASK_parameter  parm  )  [static]
 

Poll the IDLE task and performance monitors.

Parameters:
parm Pointer to POLL state.
Returns:
MSG code.


Generated on Wed Dec 5 08:43:56 2007 by  doxygen 1.4.4