Add async core yield test for SMP (#1247)

Add async core yield test for SMP

Add async core yield test for SMP to verify set core affinity
  implementation
This commit is contained in:
chinglee-iot 2024-08-21 18:32:18 +08:00 committed by GitHub
parent 1a82df09df
commit 9febcedd91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 152 additions and 2 deletions

View file

@ -65,6 +65,12 @@ void vPortFree( void * pv );
*/
void commonSetUp( void );
/**
* @brief Common test case asyncrhonous core yield setup function for SMP tests.
* This API should be called after commonSetUp().
*/
void commonAsyncCoreYieldSetup( void );
/**
* @brief Common test case teardown function for SMP tests.
*/
@ -98,6 +104,11 @@ void xTaskIncrementTick_helper( void );
*/
void vSetCurrentCore( BaseType_t xCoreID );
/**
* @brief Check and execut asynchronous core yield request.
*/
void vCheckAndExecuteAsyncCoreYield( BaseType_t xCoreID );
/**
* @brief Helper function to create static test task.
*/