mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
@@ -209,6 +209,12 @@ static T_fixture RtemsEventValPerf_Fixture = {
|
||||
.initial_context = &RtemsEventValPerf_Instance
|
||||
};
|
||||
|
||||
/**
|
||||
* @defgroup RtemsEventReqPerfIsrPreempt spec:/rtems/event/req/perf-isr-preempt
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Send two events from with interrupt context. Satisfy the event
|
||||
* condition.
|
||||
@@ -259,6 +265,14 @@ static bool RtemsEventReqPerfIsrPreempt_Teardown_Wrap(
|
||||
return RtemsEventReqPerfIsrPreempt_Teardown( ctx, delta, tic, toc, retry );
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @defgroup RtemsEventReqPerfOther spec:/rtems/event/req/perf-other
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Lower the worker priority.
|
||||
*/
|
||||
@@ -324,7 +338,15 @@ static bool RtemsEventReqPerfOther_Teardown_Wrap(
|
||||
return RtemsEventReqPerfOther_Teardown( ctx, delta, tic, toc, retry );
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
#if defined(RTEMS_SMP)
|
||||
/**
|
||||
* @defgroup RtemsEventReqPerfOtherCpu spec:/rtems/event/req/perf-other-cpu
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Move worker to scheduler B.
|
||||
*/
|
||||
@@ -391,8 +413,17 @@ static void RtemsEventReqPerfOtherCpu_Cleanup( RtemsEventValPerf_Context *ctx )
|
||||
{
|
||||
SetScheduler( ctx->worker_id, SCHEDULER_A_ID, PRIO_HIGH );
|
||||
}
|
||||
|
||||
/** @} */
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @defgroup RtemsEventReqPerfOtherNotSatisfied \
|
||||
* spec:/rtems/event/req/perf-other-not-satisfied
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Send an event. Do not satisfy the event condition.
|
||||
*/
|
||||
@@ -450,6 +481,15 @@ static bool RtemsEventReqPerfOtherNotSatisfied_Teardown_Wrap(
|
||||
);
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @defgroup RtemsEventReqPerfOtherPreempt \
|
||||
* spec:/rtems/event/req/perf-other-preempt
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Send two events. Satisfy the event condition.
|
||||
*/
|
||||
@@ -502,6 +542,8 @@ static bool RtemsEventReqPerfOtherPreempt_Teardown_Wrap(
|
||||
return RtemsEventReqPerfOtherPreempt_Teardown( ctx, delta, tic, toc, retry );
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @fn void T_case_body_RtemsEventValPerf( void )
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user