modify time-test to performance test
This commit is contained in:
parent
9c1db5c7f8
commit
ec64a321cc
|
@ -15,11 +15,11 @@
|
|||
* [中断服务程序](#riscv_int_service)
|
||||
* [中断处理流程](#riscv_int_process2)
|
||||
* [中断函数接口](#riscv_int_api)
|
||||
* [中断响应时间测试](#time_test)
|
||||
* [中断响应性能测试](#time_test)
|
||||
* [概述](#time_test_intro)
|
||||
* [基于 ARM 处理器的中断响应时间测试](#time_test_arm)
|
||||
* [基于 RISC-V 处理器的中断响应时间测试](#time_test_riscv)
|
||||
* [中断响应能力测试对比](#comparison)
|
||||
* [基于 ARM 处理器的中断响应性能测试](#time_test_arm)
|
||||
* [基于 RISC-V 处理器的中断响应性能测试](#time_test_riscv)
|
||||
* [中断响应性能测试对比](#comparison)
|
||||
* [使用场景](#situation)
|
||||
|
||||
<span id="interrupt"></span>
|
||||
|
@ -207,7 +207,7 @@ xs_int32 xs_EnableHwIrq(xs_uint32 irq_num);
|
|||
|
||||
<span id="time_test"></span>
|
||||
|
||||
## 中断响应时间测试
|
||||
## 中断响应性能测试
|
||||
|
||||
<span id="time_test_intro"></span>
|
||||
|
||||
|
@ -218,7 +218,7 @@ xs_int32 xs_EnableHwIrq(xs_uint32 irq_num);
|
|||
|
||||
<span id="time_test_arm"></span>
|
||||
|
||||
### 基于 ARM 处理器的中断响应时间测试
|
||||
### 基于 ARM 处理器的中断响应性能测试
|
||||
|
||||
#### 测试方法
|
||||
为了测试系统的中断响应时间,考虑使用GPIO管脚进行中断测试,利用GPIO中断服务函数当中管脚波形输出配合输入源波形进行分析。使用Tektronix TB1202B示波器的1KHz方波输出作为中断触发源。
|
||||
|
@ -279,7 +279,7 @@ xs_int32 xs_EnableHwIrq(xs_uint32 irq_num);
|
|||
|
||||
<span id="time_test_riscv"></span>
|
||||
|
||||
### 基于 RISC-V 处理器的中断响应时间测试
|
||||
### 基于 RISC-V 处理器的中断响应性能测试
|
||||
|
||||
#### 测试方法
|
||||
|
||||
|
@ -341,8 +341,8 @@ xs_int32 xs_EnableHwIrq(xs_uint32 irq_num);
|
|||
|
||||
<span id="comparison"></span>
|
||||
|
||||
### 中断响应能力测试对比
|
||||
对sylixos的中断响应能力测试结果,如下:
|
||||
### 中断响应性能测试对比
|
||||
对sylixos的中断响应性能测试结果,如下:
|
||||
|
||||
| 操作系统 | 测试开发板 | CPU | 中断响应时间 |
|
||||
| --- | --- | --- | --- |
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
* [信号量](#sem)
|
||||
* [互斥量](#mutex)
|
||||
* [事件集](#event)
|
||||
* [时间测试](#time_test)
|
||||
* [性能测试](#time_test)
|
||||
* [概述](#time_test_intro)
|
||||
* [基于 ARM 处理器的任务切换时间测试](#time_test_arm)
|
||||
* [基于 RISC-V 处理器的任务切换时间测试](#time_test_riscv)
|
||||
* [任务切换时间测试对比](#comparison)
|
||||
* [基于 ARM 处理器的任务切换性能测试](#time_test_arm)
|
||||
* [基于 RISC-V 处理器的任务切换性能测试](#time_test_riscv)
|
||||
* [任务切换性能测试对比](#comparison)
|
||||
* [使用场景](#situation)
|
||||
|
||||
<span id="management"></span>
|
||||
|
@ -541,7 +541,7 @@ xs_int32 xs_UserEventReinit(xs_uint16 id);
|
|||
|
||||
<span id="time_test"></span>
|
||||
|
||||
## 时间测试
|
||||
## 性能测试
|
||||
|
||||
<span id="time_test_intro"></span>
|
||||
|
||||
|
@ -551,7 +551,7 @@ xs_int32 xs_UserEventReinit(xs_uint16 id);
|
|||
|
||||
<span id="time_test_arm"></span>
|
||||
|
||||
### 基于 ARM 处理器的任务切换时间测试
|
||||
### 基于 ARM 处理器的任务切换性能测试
|
||||
|
||||
#### 测试方法
|
||||
为了测试系统的任务切换时间,考虑使用GPIO管脚进行测试,将GPIO在任务切换开始和结束时分别置为高电平和低电平。
|
||||
|
@ -629,7 +629,7 @@ XiUOS的任务切换函数为xs_SwitchKthreadContext,在SwitchKthreadContext
|
|||
|
||||
<span id="time_test_riscv"></span>
|
||||
|
||||
### 基于 RISC-V 处理器的任务切换时间测试
|
||||
### 基于 RISC-V 处理器的任务切换性能测试
|
||||
|
||||
#### 测试方法
|
||||
|
||||
|
@ -694,8 +694,8 @@ XiUOS的任务切换函数为xs_SwitchKthreadContext,在SwitchKthreadContext
|
|||
|
||||
<span id="comparison"></span>
|
||||
|
||||
### 任务切换时间测试对比
|
||||
对sylixos的中断响应能力测试结果,如下:
|
||||
### 任务切换性能测试对比
|
||||
对sylixos的中断响应性能测试结果,如下:
|
||||
| 操作系统 | 测试开发板 | CPU | 任务切换时间 |
|
||||
| --- | --- | --- | --- |
|
||||
| sylixos | mini210s开发板 | ARM Cortex-A8 主频 1GHz | 577.1 ns |
|
||||
|
|
Loading…
Reference in New Issue