mars/workload_queue.h File Reference

[host] MARS Workload Queue API More...


Functions

int mars_workload_queue_query (struct mars_context *mars, uint16_t id, int query)
 [host] Returns whether or not specified query is satisfied.
int mars_workload_queue_add_begin (struct mars_context *mars, uint16_t *id, uint64_t *workload_ea, const void *module_elf, const char *module_name)
 [host] Begins adding workload to workload queue.
int mars_workload_queue_add_end (struct mars_context *mars, uint16_t id, int cancel)
 [host] Ends adding of specified workload.
int mars_workload_queue_remove_begin (struct mars_context *mars, uint16_t id, uint64_t *workload_ea)
 [host] Begins removing workload from workload queue.
int mars_workload_queue_remove_end (struct mars_context *mars, uint16_t id, int cancel)
 [host] Ends removing of specified workload.
int mars_workload_queue_schedule_begin (struct mars_context *mars, uint16_t id, uint8_t priority, uint64_t *workload_ea)
 [host] Begins scheduling of specified workload.
int mars_workload_queue_schedule_end (struct mars_context *mars, uint16_t id, int cancel)
 [host] Ends scheduling of specified workload.
int mars_workload_queue_unschedule_begin (struct mars_context *mars, uint16_t id, uint64_t *workload_ea)
 [host] Begins unscheduling of specified workload.
int mars_workload_queue_unschedule_end (struct mars_context *mars, uint16_t id)
 [host] Ends unscheduling of specified workload.
int mars_workload_queue_wait (struct mars_context *mars, uint16_t id, uint64_t *workload_ea)
 [host] Waits for specified workload to finish.
int mars_workload_queue_try_wait (struct mars_context *mars, uint16_t id, uint64_t *workload_ea)
 [host] Waits for specified workload to finish.
int mars_workload_queue_signal_send (struct mars_context *mars, uint16_t id)
 [host] Sends signal to specified workload.


Detailed Description

[host] MARS Workload Queue API


Generated on Tue Mar 31 08:46:37 2009 for MARS by  doxygen 1.5.7.1