Skip to content

Commit c98976a

Browse files
committed
🚀 automatic rme/rvm/rmp benchmarking
1 parent b3eaa19 commit c98976a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Include/Test/Chip/rmp_test_ch32v307vc_rvm.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ ISR Semaphore : 1328 / 1349 / 1328
4949
ISR Message queue : 1437 / 1451 / 1437
5050
ISR Blocking message queue : 1545 / 1553 / 1545
5151
52-
5352
GCC 12.2.0 -O3 (FPU enabled, fastpath turned on)
5453
___ __ ___ ___
5554
/ _ \ / |/ // _ \ Simple real-time kernel

Source/Test/rmp_benchmark.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -368,14 +368,14 @@ void Test_Bmq_2(void)
368368
}
369369
}
370370

371-
void Test_Alrm_Hook(volatile struct RMP_Amgr* Amgr,
372-
volatile struct RMP_Alrm* Alrm,
371+
void Test_Alrm_Hook(volatile struct RMP_Amgr* This_Amgr,
372+
volatile struct RMP_Alrm* This_Alrm,
373373
rmp_cnt_t Overdue)
374374
{
375-
RMP_USE(Amgr);
375+
RMP_USE(This_Amgr);
376376
RMP_ASSERT(Overdue==0);
377377

378-
switch(Alrm->Delay)
378+
switch(This_Alrm->Delay)
379379
{
380380
case 1U:Alrm_1_Cnt++;break;
381381
case 2U:Alrm_2_Cnt++;break;

0 commit comments

Comments
 (0)