前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >全志A40i开发板(4核ARM Cortex-A7)测评合集——Qt性能测试

全志A40i开发板(4核ARM Cortex-A7)测评合集——Qt性能测试

原创
作者头像
创龙科技Tronlong
发布2022-10-28 10:50:27
8630
发布2022-10-28 10:50:27
举报

本次测试板卡是创龙科技旗下,一款基于全志科技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 <QtGui/QApplication>

改为

#include <QApplication>

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

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.鼠标操作原因待查

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 以下是测评用户编写的测评内容,欢迎阅读:
  • 前言
  • 过程
  • 总结
  • 2.鼠标操作原因待查
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档