openharmony_ci
11bca47b6e
!247 fix: tick 动态化计算优化,减小中断执行时间对系统总体时间的影响,保证软件定时器的响应精度。
...
Merge pull request !247 from zhushengle/tick_sched
2021-08-10 06:16:34 +00:00
zhushengle
2118c84616
fix: tick 动态化计算优化,减小中断执行时间对系统总体时间的影响,保证软件定时器的响应精度。
...
方案描述:
1.周期软件定时器超时添加一个startTime字段,用于记录当前软件定时器的开始计时的时间,
在定时器响应时,开始时间修改为上一次响应的结束时间(消除了中断执行时间对软件定时器
的影响)。
2. 在执行tick中断的过程当中,持有tick动态计算锁,保证在该过程中不会触发tick周期
的计算,在tick中断结束时统一计算设置。 --- 提升tick中断的执行效率
3. 在设置tick周期时,减掉tick中断执行的时间,减小周期动态化带来的时间误差
4.新增LOSCFG_BASE_CORE_TICK_PER_SECOND_MINI配置宏,用于配置tick中断的最小响应精度
Close #I3YGP1
Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: Ia53e4accce497bce870557c2c3387ce51fa3fed3
2021-08-09 21:16:22 +08:00
lnlan
218d16f85f
style:修改 liteos_a unittest 测试文件的 licence 注释
...
【背景】解除告警
【修改方案】
格式化修改告警文件的文件头注释格式
re #I44497
Signed-off-by: lanleinan <lanleinan@163.com>
Change-Id: Id2d61deb9d9a14d5e29b915c3a64c75e11e12eda
2021-08-05 14:32:21 +00:00
openharmony_ci
4fd6a663ac
!235 fix: 修复QUEUE_INFO_S中waitReadTask无法保存大于32的任务编号
...
Merge pull request !235 from kenneth/master
2021-08-02 02:07:12 +00:00
zhushengle
3ad5942301
fix: 支持smoke 测试用例
...
默认只运行smoke测试用例,如需要运行全量测试用例,
请在target_config.h中添加配置项: LOS_KERNEL_TEST_FULL
或在config.json中配置enable_ohos_kernel_liteos_m_test_full
Close #I424RX
Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: I1f72a7666bf30631090e3e00faf6c432105dec17
2021-07-29 20:31:22 +08:00
kenneth
704cca97b1
fix: 修复QUEUE_INFO_S中waitReadTask无法保存大于32的任务编号
...
根据任务最大数创建waitReadTask数组来保存任务编号信息
close #I41N78
Signed-off-by: kenneth <zhushangyuan@huawei.com>
2021-07-28 11:19:39 +08:00
zhushengle
2dd6c080da
feat: L0 测试用例支持risc-v qemu 编译运行
...
Close #I3YILG
Change-Id: I85e77596ae390ff153e1a423a6ec1b7cb9247bcc
Signed-off-by: zhushengle <zhushengle@huawei.com>
2021-06-30 16:17:43 +08:00
Caoruihong
420e781f33
chore: adjust path of posix header files
...
path of posix header files are exposed via public_configs
of //kernel/liteos_m/kal/posix
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: Id838549e1a952d6ddb8664792570f265edfbd91c
2021-06-15 12:11:12 +08:00
kenneth
98d65801de
fix: fix length typo
...
correct length、there、necessary spell
close https://gitee.com/openharmony/kernel_liteos_m/issues/I3QQA8
2021-05-18 11:23:43 +08:00
openharmony_ci
8ef21e0b41
!115 fix: correct spelling
...
Merge pull request !115 from rtos-lover/los_swtmr
2021-05-15 09:45:21 +08:00
YOUR_NAME
bcc34e22ed
fix: modify the return type of LOS_IntLock from UINTPTR to UINT32.
...
Change-Id: I6207e5cb7d612a154a88de4e9e274c67127361d8
2021-05-14 11:33:05 +08:00
rtos-lover
dd5cefb0da
fix: correct spelling
...
correct some typos in los_swtmr.c It_los_queue_head_019.c
close https://gitee.com/openharmony/kernel_liteos_m/issues/I3PYLH
2021-05-08 10:30:25 +08:00
zhushengle
1a7a6b9ffe
fix:Scheduling optimization, test case adaptation modification.
...
Close #I3OING
Change-Id: Ia131ebb46e92578081f2df93010eaf305dfbf977
2021-05-06 19:35:02 +08:00
rtos-lover
457281427b
fix: fix misspell in comments
...
change misspell __cpluscplus to __cplusplus
close https://gitee.com/openharmony/kernel_liteos_m/issues/I3NG3P?from=project-issue
2021-04-21 18:29:53 +08:00
Caoruihong
3cea0e42b1
remove __cplusplus guards in .c files
...
Change-Id: Ie25b83a42d3ca35c3a6d624ef01f425a85957d7f
2021-04-19 18:19:28 +08:00
x_xiny
449f27d5cb
add l0 testsuits
...
Change-Id: I523269c97053f484d5cb0d94397269e41eaae86c
2021-04-07 11:19:43 +08:00