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. |
enum mars_workload_query |
MARS workload query types.
These are the query types you can pass into mars_module_workload_query
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.