mars/workload_types.h File Reference

[host/MPU] MARS Workload Types More...


Data Structures

struct  mars_workload_context
 MARS workload context structure. More...

Defines

#define MARS_WORKLOAD_MODULE_BASE_ADDR   0x3000
 Base address of workload module.
#define MARS_WORKLOAD_MODULE_NAME_LEN_MAX   23
 Maximum length of workload module name.
#define MARS_WORKLOAD_RESERVED_SIZE   128
 Size of workload module structure.
#define MARS_WORKLOAD_CONTEXT_SIZE   256
 Size of workload context structure.
#define MARS_WORKLOAD_CONTEXT_ALIGN   128
 Alignment of workload context structure.

Enumerations

enum  mars_workload_query {
  MARS_WORKLOAD_QUERY_IS_MODULE_CACHED = 0,
  MARS_WORKLOAD_QUERY_IS_CONTEXT_CACHED,
  MARS_WORKLOAD_QUERY_IS_INITIALIZED,
  MARS_WORKLOAD_QUERY_IS_READY,
  MARS_WORKLOAD_QUERY_IS_WAITING,
  MARS_WORKLOAD_QUERY_IS_RUNNING,
  MARS_WORKLOAD_QUERY_IS_FINISHED,
  MARS_WORKLOAD_QUERY_IS_SIGNAL_SET
}
 MARS workload query types. More...

Variables

struct mars_workload_context MARS_WORKLOAD_CONTEXT_ALIGN
 MARS workload context structure.


Detailed Description

[host/MPU] MARS Workload Types


Enumeration Type Documentation

MARS workload query types.

These are the query types you can pass into mars_module_workload_query

Enumerator:
MARS_WORKLOAD_QUERY_IS_MODULE_CACHED  module cached?
MARS_WORKLOAD_QUERY_IS_CONTEXT_CACHED  context cached?
MARS_WORKLOAD_QUERY_IS_INITIALIZED  is initialized?
MARS_WORKLOAD_QUERY_IS_READY  is ready?
MARS_WORKLOAD_QUERY_IS_WAITING  is waiting?
MARS_WORKLOAD_QUERY_IS_RUNNING  is running?
MARS_WORKLOAD_QUERY_IS_FINISHED  is finished?
MARS_WORKLOAD_QUERY_IS_SIGNAL_SET  has signal set?


Variable Documentation

MARS workload context structure.

This structure stores information about a specific workload.

The first MARS_WORKLOAD_RESERVED_SIZE bytes of the workload context structure is reserved and cannot be modified.

The remaining area of the structure can be used by the specific workload model implementation as needed.


Generated on Wed Jan 13 04:46:20 2010 for MARS by  doxygen 1.5.7.1