Skip to content

Commit

Permalink
🚀 automatic rme/rvm/rmp benchmarking
Browse files Browse the repository at this point in the history
  • Loading branch information
EDI-Systems committed Aug 26, 2024
1 parent b3eaa19 commit c98976a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion Include/Test/Chip/rmp_test_ch32v307vc_rvm.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ ISR Semaphore : 1328 / 1349 / 1328
ISR Message queue : 1437 / 1451 / 1437
ISR Blocking message queue : 1545 / 1553 / 1545
GCC 12.2.0 -O3 (FPU enabled, fastpath turned on)
___ __ ___ ___
/ _ \ / |/ // _ \ Simple real-time kernel
Expand Down
8 changes: 4 additions & 4 deletions Source/Test/rmp_benchmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,14 +368,14 @@ void Test_Bmq_2(void)
}
}

void Test_Alrm_Hook(volatile struct RMP_Amgr* Amgr,
volatile struct RMP_Alrm* Alrm,
void Test_Alrm_Hook(volatile struct RMP_Amgr* This_Amgr,
volatile struct RMP_Alrm* This_Alrm,
rmp_cnt_t Overdue)
{
RMP_USE(Amgr);
RMP_USE(This_Amgr);
RMP_ASSERT(Overdue==0);

switch(Alrm->Delay)
switch(This_Alrm->Delay)
{
case 1U:Alrm_1_Cnt++;break;
case 2U:Alrm_2_Cnt++;break;
Expand Down

0 comments on commit c98976a

Please sign in to comment.