Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
RT-Thread一般讨论
Package for testing latencies
发布于 2019-11-21 22:12:38 浏览:975
订阅该版
Hello, RT-Threaders! I am running rtthread currently on QEMU that's emulating qemu-vexpress-a9 and I would like to test the latencies of the RTOS (rtthread) the way cyclictest would do for Linux (it's a testing tool, pretty famous) and I don't know if such package exist and I'm unable to find or if there is a way to port cyclictest into rt-thread.. Any help would be very appreciated and than!
查看更多
3
个回答
默认排序
按发布时间排序
pinxue
2019-11-21
这家伙很懒,什么也没写!
Cyclictest is for RT Linux and is not ported to RT-Thread, yet. Cyclictest only tells the jitter of threads scheduling, which is not so hard to write one but there is no such tool public available, yet.
dennaoui
2019-11-21
这家伙很懒,什么也没写!
>Cyclictest is for RT Linux and is not ported to RT-Thread, yet. Cyclictest only tells the jitter of ... --- Can you please teach me how to write a code that tells the jitter of threads scheduling? You would be doing me an immense favor, thank you!
pinxue
2019-11-22
这家伙很懒,什么也没写!
[i=s] 本帖最后由 pinxue 于 2019-11-22 10:10 编辑 [/i] >Can you please teach me how to write a code that tells the jitter of threads scheduling? You would ... --- You just need two things: 1. timer 2. threads 1. OS Tick and Thread sleep Key type and functions: >thread_entry: > rt_tick_t tick; > tick = rt_tick_get(); > rt_thread_delay(15); > rt_tick_t delta = rt_tick_get() - tick - 15; --- 2. Create threads and run as many times as need Key function: >rt_thread_t tid = rt_thread_create("thread3", > thread_entry, > RT_NULL, > THREAD_STACK_SIZE, > rt_thread_self()->current_priority - 1, > THREAD_TIMESLICE); --- Good Luck and Happy Hacking!
撰写答案
登录
注册新账号
关注者
0
被浏览
975
关于作者
dennaoui
这家伙很懒,什么也没写!
提问
5
回答
5
被采纳
0
关注TA
发私信
相关问题
1
有关动态模块加载的一篇论文
2
最近的调程序总结
3
晕掉了,这么久都不见layer2的踪影啊
4
继续K9ii的历程
5
[GUI相关] FreeType 2
6
[GUI相关]嵌入式系统中文输入法的设计
7
20081101 RT-Thread开发者聚会总结
8
嵌入式系统基础
9
linux2.4.19在at91rm9200 上的寄存器设置
10
[转]基于嵌入式Linux的通用触摸屏校准程序
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
机器人操作系统 (ROS2) 和 RT-Thread 通信
4
国产MCU移植系列教程汇总,欢迎查看!
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
RT-Thread Vision Board - Bare Metal Project with VSCode/PyOCD/Cortex-Debug
2
【学习分享】libc切换 -- 从newlib切换到mlibc
3
FRDM-MCXN947开发板之i2c应用
4
esp32 s3使用cherryusb cdc
5
【Vision Board 创客营】Vision Board上的DAC实践
热门标签
RT-Thread Studio
串口
LWIP
SPI
Env
Bootloader
AT
ART-Pi
Hardfault
CAN总线
FinSH
USB
文件系统
DMA
RT-Thread
SCons
线程
RT-Thread Nano
MQTT
STM32
RTC
FAL
rt-smart
ESP8266
ota在线升级
WIZnet_W5500
I2C_IIC
UART
flash
cubemx
packages_软件包
freemodbus
潘多拉开发板_Pandora
PWM
定时器
ADC
BSP
中断
编译报错
socket
keil_MDK
GD32
MicroPython
msh
Debug
ulog
SFUD
flashDB
SDIO总线
rt_mq_消息队列_msg_queue
本月问答贡献
用户名由3_15位
19
个答案
3
次被采纳
xiaorui
7
个答案
3
次被采纳
sakumisu
4
个答案
3
次被采纳
踩姑娘的小蘑菇
15
个答案
2
次被采纳
三世执戟
32
个答案
1
次被采纳
本月文章贡献
比特饼干
3
篇文章
8
次点赞
Z_Y
2
篇文章
5
次点赞
Alipay
2
篇文章
3
次点赞
xusiwei1236
2
篇文章
3
次点赞
yinxiangxv
2
篇文章
3
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部