全志A40i开发板(4核ARM CortexQt性能测试

本次测试板卡是创龙科技旗下,一款基于全志科技A40i开发板,其接口资源丰富,可引出双路网口、双路CAN、双路USB、双路RS485等通信接口,板载Bluetooth、WIFI、4G(选配)模块,同时引出MIPI LCD、LVDS LCD、TFT LCD、HDMI OUT、CVBS OUT、CAMERA、LINE IN、H/P OUT等音视频多媒体接口,支持双屏异显、1080P@45fps H.264视频硬件编码、1080P@60fps H.264视频硬件解码,并支持SATA大容量存储接口。

点击添加图片描述(最多60个字)编辑

以下是测评用户编写的测评内容,欢迎阅读:

前言

参见http://bbs.eeworld.com.cn/thread-1219964-1-1.html搭建Qt开发环境

本次通过Qt进行不同控件操作测试执行时间来测量Qt的性能,可以作为一个相对的参考。

过程

虚拟机中,下载代码

git clone

cd qtperf/

.pro文件中添加

QT += widgets

main.cpp中

#include

改为

#include

由于鼠标不能操作原因待查所以

mainwindow.cpp中最后添加一行runButtonPressed();自动触发测试

MainWindow::MainWindow(QWidget *parent) :

QMainWindow(parent),

ui(new Ui::MainWindow)

{

ui->setupUi(this);

connect(ui->buttonReset,SIGNAL(clicked()),this,SLOT(resetButtonPressed()));

connect(ui->buttonRun,SIGNAL(clicked()),this,SLOT(runButtonPressed()));

runButtonPressed();

}

/home/tronlong/T3/lichee/buildroot-201611/dl/qt-everywhere-opensource-src-5.9.0/Qt-5.9.0/bin/qmake

export PATH=/home/tronlong/T3/lichee/out/sun8iw11p1/linux/common/buildroot/host/usr/bin:$PATH

make

导入生成的程序到windows

sudo cp qtperf4 /mnt/hgfs/share

再通过串口rz 导入到开发板

chmod +x qtperf4

运行

./qtperf4 --platform linuxfb

打印如下

root@T3/A40i-Tronlong:~# ./qtperf4 --platform linuxfb

QLineEdit - 0.014 s

QComboBox - 71.889 s

QComboBoxEntry - 71.864 s

QSpinBox - 0.007 s

QProgressBar - 0 s

QPushButton - 0.001 s

QCheckbox - 0 s

QRadioButton - 0.001 s

QTextEdit add text - 0.012 s

QTextEdit scroll - 0 s

QPainter lines - 0.006 s

QPainter circles - 0.006 s

QPainter text - 0.001 s

QPainter pixmap - 0 s

Total: 143.801010 s

点击添加图片描述(最多60个字)编辑

总结

本次只是定性的测试下Qt的操作,作为性能的一个参考。

1.由于使用fb所以刷屏效率不高,实际肯定会使用GPU


2.鼠标操作原因待查

展开阅读全文

页面更新:2024-05-12

标签:双屏   接口   性能   编辑   原因   操作   硬件   测试   图片   视频

1 2 3 4 5

上滑加载更多 ↓
推荐阅读:
友情链接:
更多:

本站资料均由网友自行发布提供,仅用于学习交流。如有版权问题,请与我联系,QQ:4156828  

© CopyRight 2008-2024 All Rights Reserved. Powered By bs178.com 闽ICP备11008920号-3
闽公网安备35020302034844号

Top