![]() |
RTEMS 6.3
|
Test context for spec:/rtems/ratemon/req/period test case. More...
Data Structures | |
| struct | [struct].Map |
Data Fields | |
| rtems_id | period_id |
| This member contains a valid identifier of a period. | |
| rtems_rate_monotonic_period_status | period_status |
| This member is used to receive the rtems_rate_monotonic_period_status after the action. | |
| rtems_id | id_param |
| This member specifies the id parameter for the action. | |
| rtems_interval | length_param |
| This member specifies the length parameter for the action. | |
| rtems_status_code | status |
| This member contains the returned status code of the action. | |
| uint32_t(*) | do_action (void *ctx, void(*todo)(void *ctx_arg)) |
| This member contains the pointer to the function which executes the action. | |
| void(*) | worker_todo (void *ctx) |
| This member serves to pass the pointer to the function which the work owner task shall execute from function OwnerDoWork to function WorkerTask. | |
| rtems_id | task_id |
| This member contains the owner task identifier of the owner task. | |
| rtems_id | worker_id |
| This member contains the owner task identifier of the worker task (which is not the owner task). | |
| rtems_id | original_priority |
| This member contains a backup of the task priority before the execution of this test. | |
| uint32_t | postponed_jobs_count |
| This member contains the number of postponed jobs before the action. | |
| rtems_rate_monotonic_period_states | previous_state |
| This member contains the state before the action. | |
| uint32_t | test_duration |
| This member contains the number of clock ticks passed since the test started. | |
| uint32_t | test_duration_till_action |
| This member contains the number of clock ticks passed since the test started till (before) the rtems_rate_monotonic_period() action is invoked. | |
| uint32_t | period_calls |
| This member contains the number of times the rtems_rate_monotonic_period() function returned since the test started. | |
| uint32_t | action_duration |
| This member contains the number of clock ticks which passed in the action till the rtems_rate_monotonic_period() function returned. | |
| struct | Map |
Test context for spec:/rtems/ratemon/req/period test case.
| uint32_t(*) RtemsRatemonReqPeriod_Context::do_action(void *ctx, void(*todo)(void *ctx_arg)) |
This member contains the pointer to the function which executes the action.
The action is either executed by the owner task or by the worker task depending on the function pointer used here. ctx_arg must be a pointer to this context structure.