当前位置:网站首页>Qt使用多线程编译项目的方法
Qt使用多线程编译项目的方法
2022-06-23 05:06:00 【百口可乐__】
最近编译新项目发现编译速度很慢,看了下电脑的配置,10代的i5处理器,强大的6核心12线程的处理能力,在编译时却仅用了10%的cpu占用,只使用了一个线程进行编译,很明显没有发挥cpu的全部实力。对于这种情况开启make的多线程编译模式
点击项目,构建和运行,构建步骤里面。点击make后面的详情,在make参数里面加上-j 12这个参数,意思是使用12个线程编译程序
之后编译速度大大加快了,cpu使用率也达到了90%。
对于性能强大的cpu,就是要榨干它的性能。我在等待着结果,而你cpu却慢慢悠悠的10%的使用率在编译。实在是看着不爽!
边栏推荐
- Jour 04 projet de santé mentale - gestion des rendez - vous - gestion des forfaits
- Day_ 09 smart health project - mobile terminal development - Mobile quick login and permission control
- 图解 Google V8 # 18 :异步编程(一):V8是如何实现微任务的?
- 华为软件测试笔试真题之变态逻辑推理题
- Global attribute lang attribute
- Docker practice - redis cluster deployment and micro service deployment project
- 论文笔记: 多标签学习 LSML
- 程序员的真实想法 | 每日趣闻
- 熟练利用切片操作
- Repeated DNA sequences for leetcode topic resolution
猜你喜欢

100-300 cases of single chip microcomputer program (detailed explanation of notes)

Redis sentry

Efficient office of fintech (I): automatic generation of trust plan specification

Progress of layer 2 technical scheme

Day_02 传智健康项目-预约管理-检查项管理

C # database reports errors. Let's have a look

Day_10 传智健康项目-权限控制、图形报表

RF content learning

图解 Google V8 # 17:消息队列:V8是怎么实现回调函数的?

sklearn sklearn中的模型调参利器 gridSearchCV(网格搜索)
随机推荐
Find the number of nodes in the widest layer of a binary tree
Fraction to recursing decimal
Remove duplicates from sorted list II of leetcode topic resolution
Day_12 传智健康项目-JasperReports
Difference between MySQL read committed and repeatability
Day_04 傳智健康項目-預約管理-套餐管理
c#数据库报错问题大家帮我看看吧
Redis 哨兵
mysql以逗号分隔的字段作为查询条件怎么查——find_in_set()函数
Day_05 传智健康项目-预约管理-预约设置
【DaVinci Developer专题】-42-如何生成APP SWC的Template和Header文件
什么是PDCA循环?如何整合 PDCA 循环和 OKR
For non dpdk kvm1.0 machines, set init Maxrxbuffers changed from 256 to 1024 to improve packet receiving capacity
Given a node of a binary tree, return the successor node of the node
Day_04 传智健康项目-预约管理-套餐管理
Skilled use of slicing operations
Leetcode topic resolution remove nth node from end of list
Day_ 11 smart communication health project - graphic report and poi Report
[DaVinci developer topic] -41-app how SWC reads and writes NVM block data
C语言 踩坑:文档编码错误,导致base64中文编码错误