我的openwrt学习笔记(二十五):MTK7688 elian一键配置时间测量
2015-08-28 11:06
501 查看
我的openwrt学习笔记(二十五):MTK7688elian一键配置时间测量
一键配置的时间对于衡量一键配置的性能最直观的方式,所以配置时间的测量非常有必要。
1.一键配置相关命令
iwpriv apcli0 elian start
iwpriv apcli0 elian result
iwprivapcli0 elian stop
2.看MT7688 接收数据的时间
1.打开手机APP elian.apk,输入ssid passwd custom 信息,点击send
2.mt7688串口终端下输入
date;iwpriv apcli0 elian start;while true;doiwpriv apcli0 elian result;date;done
第一个date输出与出现result后的第一个date对比,就可以获取时间长度
详细的打印信息。
2.方法二 查看串口打印信息
![](http://img.blog.csdn.net/20150828110554068?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center)
看到elian rxdone了? 时间相减就是了
一键配置的时间对于衡量一键配置的性能最直观的方式,所以配置时间的测量非常有必要。
1.一键配置相关命令
iwpriv apcli0 elian start
iwpriv apcli0 elian result
iwprivapcli0 elian stop
2.看MT7688 接收数据的时间
1.打开手机APP elian.apk,输入ssid passwd custom 信息,点击send
2.mt7688串口终端下输入
date;iwpriv apcli0 elian start;while true;doiwpriv apcli0 elian result;date;done
第一个date输出与出现result后的第一个date对比,就可以获取时间长度
root@OpenWrt:~# iwpriv apcli0 elian stop apcli0 elian:ok root@OpenWrt:~# date;iwpriv apcli0 elian start;while true;do iwpriv apcli0 elian result;date;done Wed Aug 19 06:34:51 UTC 2015 apcli0 elian:ok apcli0 elian:AM=0, ssid=, pwd=, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:51 UTC 2015 apcli0 elian:AM=0, ssid=, pwd=, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:51 UTC 2015 apcli0 elian:AM=0, ssid=, pwd=, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:51 UTC 2015 apcli0 elian:AM=0, ssid=, pwd=, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:51 UTC 2015 apcli0 elian:AM=0, ssid=, pwd=, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:51 UTC 2015 apcli0 elian:AM=0, ssid=, pwd=, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:51 UTC 2015 apcli0 elian:AM=0, ssid=, pwd=, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:51 UTC 2015 apcli0 elian:AM=0, ssid=, pwd=, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:51 UTC 2015 apcli0 elian:AM=0, ssid=, pwd=, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:58 UTC 2015 apcli0 elian:AM=0, ssid=test_7688, pwd=123456789, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:58 UTC 2015 apcli0 elian:AM=0, ssid=test_7688, pwd=123456789, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:58 UTC 2015 apcli0 elian:AM=0, ssid=test_7688, pwd=123456789, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:58 UTC 2015 apcli0 elian:AM=0, ssid=test_7688, pwd=123456789, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:58 UTC 2015 apcli0 elian:AM=0, ssid=test_7688, pwd=123456789, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:58 UTC 2015 apcli0 elian:AM=0, ssid=test_7688, pwd=123456789, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:58 UTC 2015 apcli0 elian:AM=0, ssid=test_7688, pwd=123456789, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:58 UTC 2015 apcli0 elian:AM=0, ssid=test_7688, pwd=123456789, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:58 UTC 2015 apcli0 elian:AM=0, ssid=test_7688, pwd=123456789, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:58 UTC 2015 apcli0 elian:AM=0, ssid=test_7688, pwd=123456789, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:58 UTC 2015 apcli0 elian:AM=0, ssid=test_7688, pwd=123456789, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:58 UTC 2015 apcli0 elian:AM=0, ssid=test_7688, pwd=123456789, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:58 UTC 2015 apcli0 elian:AM=0, ssid=test_7688, pwd=123456789, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:58 UTC 2015 apcli0 elian:AM=0, ssid=test_7688, pwd=123456789, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:58 UTC 2015 apcli0 elian:AM=0, ssid=test_7688, pwd=123456789, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:58 UTC 2015 apcli0 elian:AM=0, ssid=test_7688, pwd=123456789, user=, cust_data_len=0, cust_data=, Wed Aug 19 06:34:58 UTC 2015 apcli0 elian:AM=0, ssid=test_7688, pwd=123456789, user=, cust_data_len=0, cust_data=, root@OpenWrt:~# |
2.方法二 查看串口打印信息
看到elian rxdone了? 时间相减就是了
相关文章推荐
- centos中修改fd限制
- centos 6.5 lnmp环境部署一些二次修改事项
- DNS从服务器迁移(基于windows为主,linux为从实现同步)
- jenkins中配置powershell生成svn日志(word)
- CentOS7 下 Java_Tomcat安装
- Linux源代码分析工具链
- 使用Samba实现Linux与Windows文件共享实践
- 教你学会Linux/Unix下的vi文本编辑器
- CentOS7架设并配置openssh服务器
- CentOS7给普通用户执行root相关权限
- CentOS7 LVM添加硬盘及扩容
- CentOS7 安装98五笔输入法
- Linux下查看内存使用情况方法总结
- Linux 下编译、安装、配置 QT
- 在CentOS7 下安装 ffmpeg,mplayer,swftools
- linux硬盘扩容
- [工作需求]linux常用命令以及vim常用命令
- 【linux】crontab的定时任务示例
- 存储过程循环loop
- 一个好用的在线正则网站