GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MON / V0-2-0
Constituent: mon_unit_test     Tag: mv2304
#include <string.h>
#include "MON/MON_msgs.h"
#include "MON/MON_pubdefs.h"
#include "MSG/MSG_pubdefs.h"
#include "PBS/MBA.h"
#include "PBS/TASK.h"
#include "mon_test_loading.h"
#include "mon_unit_test.h"
Include dependency graph for mon_test_loading.c:
Data Structures | |
struct | _mon_Loading_Info |
MON loading test state. More... | |
Typedefs | |
typedef _mon_Loading_Info | mon_Loading_Info |
Typedef for _mon_Loading_Info. | |
Functions | |
int | mon_initialize_wrap (test_Test_Descriptor *td_p, int id, mon_Loading_Info *info_p) |
Call MON_initialize() and validate the results. | |
int | mon_shutdown_wrap (test_Test_Descriptor *td_p, int id, mon_Loading_Info *info_p) |
Call MON_shutdown() and validate the results. | |
int | mon_start_wrap (test_Test_Descriptor *td_p, int id, mon_Loading_Info *info_p) |
Call MON_start() and validate the results. | |
int | mon_stop_wrap (test_Test_Descriptor *td_p, int id, mon_Loading_Info *info_p) |
Call MON_stop() and validate the results. | |
int | mon_get_loading_wrap (test_Test_Descriptor *td_p, int id, mon_Loading_Info *info_p) |
Call MON_get_loading() and validate the results. | |
int | mon_stop_load_task (test_Test_Descriptor *td_p, int id, int task_index, mon_Loading_Info *info_p) |
Stop a task that is consuming CPU cycles. | |
int | mon_allocate (test_Test_Descriptor *td_p, mon_Loading_Info *info_p) |
Allocate memory for the CPU loading tests. | |
int | mon_free (test_Test_Descriptor *td_p, mon_Loading_Info *info_p) |
Free memory from the CPU loading tests. | |
void | mon_set_stats (MON_Load_Stats *stats_p, unsigned int avg_prev_sec, unsigned int avg_prev_min, unsigned int min_prev_min, unsigned int max_prev_min) |
Set expected CPU loading values. | |
void | mon_test_loading (test_Test_Descriptor *td_p, const unsigned int bit_mask) |
Unit test for MON CPU loading functions. |
** CVS $Id: mon_test_loading.c,v 1.3 2005/03/30 20:10:09 dmay Exp $ **
|
Allocate memory for the CPU loading tests.
|
Here is the call graph for this function:
|
Free memory from the CPU loading tests.
|
Here is the call graph for this function:
|
Call MON_get_loading() and validate the results.
|
Here is the call graph for this function:
|
Call MON_initialize() and validate the results.
|
Here is the call graph for this function:
|
Set expected CPU loading values.
|
|
Call MON_shutdown() and validate the results.
|
Here is the call graph for this function:
|
Call MON_start() and validate the results.
|
Here is the call graph for this function:
|
Stop a task that is consuming CPU cycles.
|
Here is the call graph for this function:
|
Call MON_stop() and validate the results.
|
Here is the call graph for this function:
|
Unit test for MON CPU loading functions.
|
Here is the call graph for this function: