当前位置:网站首页>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%的使用率在编译。实在是看着不爽!
边栏推荐
- Remove the influence of firewall and virtual machine on live555 startup IP address
- 百度URL参数之LINK?URL参数加密解密研究(代码实例)
- 给定二叉树的某个节点,返回该节点的后继节点
- The softing datafeed OPC suite stores Siemens PLC data in an Oracle Database
- Gplearn appears assignment destination is read only
- Possible pits in mongodb project
- 图解 Google V8 # 17:消息队列:V8是怎么实现回调函数的?
- Design scheme of Small PLC based on t5l1
- Day_07 传智健康项目-Freemarker
- 微软面试题:打印折纸的折痕
猜你喜欢

Machine learning 3-ridge regression, Lasso, variable selection technique

(1)基础学习——vim编辑器常用快捷操作命令

(1) Basic learning - Common shortcut commands of vim editor

Redis 哨兵

CPU的功能和基本结构

Day_ 09 smart health project - mobile terminal development - Mobile quick login and permission control

c#数据库报错问题大家帮我看看吧

基于T5L1的小型PLC设计方案
![[vivado] xilinxcedstore introduction](/img/c7/4f203d125ddb18378398a7eaeffaf5.png)
[vivado] xilinxcedstore introduction

Index - MySQL
随机推荐
Microsoft interview question: creases in origami printing
Day_ 11 smart communication health project - graphic report and poi Report
How to batch produce QR codes that can be read online after scanning
记一次GLIB2.14升级GLIB2.18的记录以及其中的步骤原理
bootstrap如何清除浮动的样式
Repeated DNA sequences for leetcode topic resolution
Day_ 03 smart communication health project - appointment management - inspection team management
WordPress aawp 3.16 cross site scripting
Day_12 传智健康项目-JasperReports
mongodb 4. X binding multiple IP startup errors
[cocos2d-x] custom ring menu
Causes and methods of exe flash back
百度URL參數之LINK?URL參數加密解密研究(代碼實例)
图解 Google V8 # 17:消息队列:V8是怎么实现回调函数的?
Linked Storage
mysql如何将日期转为数字
What is a PDCA cycle? How to integrate PDCA cycle and OKR
Layer 2技术方案进展情况
Remove the influence of firewall and virtual machine on live555 startup IP address
Docker practice - redis cluster deployment and micro service deployment project