RTEMS
5.1
|
Constants and Structures Associated with the QoS RES library in RTEMS. More...
Go to the source code of this file.
Data Structures | |
struct | qres_params_t |
Typedefs | |
typedef int | qos_rv |
typedef Scheduler_CBS_Server_id | qres_sid_t |
typedef rtems_id | tid_t |
typedef time_t | qres_time_t |
typedef time_t | qres_atime_t |
Constants and Structures Associated with the QoS RES library in RTEMS.
This include file contains all the constants and structures associated with the QoS RES library in RTEMS.
typedef int qos_rv |
Return values.
typedef time_t qres_atime_t |
Absolute time value
typedef Scheduler_CBS_Server_id qres_sid_t |
Server id.
typedef time_t qres_time_t |
Time value.
RTEMS_INLINE_ROUTINE qos_rv qres_attach_thread | ( | qres_sid_t | server_id, |
pid_t | pid, | ||
tid_t | task_id | ||
) |
qres attach thread
Attach a task to an already existing server.
RTEMS_INLINE_ROUTINE qos_rv qres_cleanup | ( | void | ) |
qres cleanup
Cleanup resources associated to the QoS RES Library.
RTEMS_INLINE_ROUTINE qos_rv qres_create_server | ( | qres_params_t * | params, |
qres_sid_t * | server_id | ||
) |
qres create server
Create a new server with specified parameters.
RTEMS_INLINE_ROUTINE qos_rv qres_destroy_server | ( | qres_sid_t | server_id | ) |
qres destroy server
Detach all tasks from a server and destroy it.
RTEMS_INLINE_ROUTINE qos_rv qres_detach_thread | ( | qres_sid_t | server_id, |
pid_t | pid, | ||
tid_t | task_id | ||
) |
qres detach thread
Detach from the QoS Server.
RTEMS_INLINE_ROUTINE qos_rv qres_get_appr_budget | ( | qres_sid_t | server_id, |
qres_time_t * | appr_budget | ||
) |
qres get approved budget
Retrieve the budget that has been approved for the subsequent server instances.
RTEMS_INLINE_ROUTINE qos_rv qres_get_curr_budget | ( | qres_sid_t | server_id, |
qres_time_t * | current_budget | ||
) |
qres get current budget
Retrieve remaining budget for the current server instance.
RTEMS_INLINE_ROUTINE qos_rv qres_get_exec_time | ( | qres_sid_t | server_id, |
qres_time_t * | exec_time, | ||
qres_atime_t * | abs_time | ||
) |
qres get execution time
Retrieve time info relative to the current server.
RTEMS_INLINE_ROUTINE qos_rv qres_get_params | ( | qres_sid_t | server_id, |
qres_params_t * | params | ||
) |
qres get params
Retrieve QoS scheduling parameters.
RTEMS_INLINE_ROUTINE qos_rv qres_get_sid | ( | pid_t | pid, |
tid_t | task_id, | ||
qres_sid_t * | server_id | ||
) |
qres get server id
Get a thread server id, or QOS_E_NOT_FOUND if it is not attached to any server.
RTEMS_INLINE_ROUTINE qos_rv qres_init | ( | void | ) |
qres init
Initializes the QoS RES library.
RTEMS_INLINE_ROUTINE qos_rv qres_set_params | ( | qres_sid_t | server_id, |
qres_params_t * | params | ||
) |
qres set params
Change QoS scheduling parameters.