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_idle.h File Reference

Interface to the IDLE monitor functions. More...

#include "PBS/TASK.h"

Include dependency graph for MON_idle.h:

This graph shows which files directly or indirectly include this file:


Data Structures

struct  _MON_Idle_Sample
 IDLE monitor data sample. More...
struct  _MON_Idle_Control
 IDLE monitor control block. More...

Typedefs

typedef _MON_Idle_Sample MON_Idle_Sample
 Typedef for _MON_Idle_Sample.
typedef _MON_Idle_Control MON_Idle_Control
 Typedef for _MON_Idle_Control.

Functions

unsigned int MON_idle_init (MON_Idle_Control *ctl_p, unsigned int dog_seconds, unsigned int dog_cpu_msecs)
 Initialize the IDLE monitor.
unsigned int MON_idle_shutdown (MON_Idle_Control *ctl_p)
 Shutdown the IDLE monitor.
unsigned int MON_idle_start (MON_Idle_Control *ctl_p, TASK_attr *attr_p)
 Start the IDLE monitor functions.
unsigned int MON_idle_stop (MON_Idle_Control *ctl_p)
 Stop the IDLE monitor functions.
unsigned int MON_idle_update_history (MON_Idle_Control *ctl_p)
 Update the IDLE time history.
unsigned int MON_idle_get_stats (MON_Idle_Control *ctl_p, MON_Load_Stats *load_p)
 Get CPU loading statistics.
void MON_idle_set_watchdog (MON_Idle_Control *ctl_p)
 Set the hardware watchdog timer.

Detailed Description

Interface to the IDLE monitor functions.

**  CVS $Id: MON_idle.h,v 1.5 2005/08/11 16:56:32 dmay Exp $
**  

Defines the interface to the functions found in MON_idle.c.


Function Documentation

unsigned int MON_idle_get_stats MON_Idle_Control ctl_p,
MON_Load_Stats load_p
 

Get CPU loading statistics.

Parameters:
ctl_p Pointer to IDLE state.
load_p Pointer to location to return stats.
Returns:
MSG code.

unsigned int MON_idle_init MON_Idle_Control ctl_p,
unsigned int  dog_seconds,
unsigned int  dog_cpu_msecs
 

Initialize the IDLE monitor.

Parameters:
ctl_p Pointer to IDLE state.
dog_seconds Hardware watchdog timer setting value.
dog_cpu_msecs IDLE loop run time between watchdog settings.
Returns:
MSG code.

void MON_idle_set_watchdog MON_Idle_Control ctl_p  ) 
 

Set the hardware watchdog timer.

Parameters:
ctl_p Pointer to IDLE state.
Returns:
Nothing.

unsigned int MON_idle_shutdown MON_Idle_Control ctl_p  ) 
 

Shutdown the IDLE monitor.

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

unsigned int MON_idle_start MON_Idle_Control ctl_p,
TASK_attr *  attr_p
 

Start the IDLE monitor functions.

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

unsigned int MON_idle_stop MON_Idle_Control ctl_p  ) 
 

Stop the IDLE monitor functions.

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

unsigned int MON_idle_update_history MON_Idle_Control ctl_p  ) 
 

Update the IDLE time history.

Parameters:
ctl_p Pointer to IDLE state.
Returns:
Nothing.


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