当前位置:网站首页>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%的使用率在编译。实在是看着不爽!
边栏推荐
- 【接口自动化】软件测试涨薪核心技能、让薪资涨幅200%
- Day_03 传智健康项目-预约管理-检查组管理
- Leetcode topic resolution integer to Roman
- 【已解决】“The Unity environment took too long to respond. Make sure that :\n“
- Illuminate\Support\Collection 去重 unique 列表去重
- 【DaVinci Developer专题】-42-如何生成APP SWC的Template和Header文件
- Redis sentry
- 机器学习3-岭回归,Lasso,变量选择技术
- Network packet capturing tcpdump User Guide
- mysql如何将日期转为数字
猜你喜欢

Day_11 传智健康项目-图形报表、POI报表

In the half year summary, it people just want to lie flat

机器学习3-岭回归,Lasso,变量选择技术

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

The softing datafeed OPC suite stores Siemens PLC data in an Oracle Database

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

射频基础理论(dB)

原址 交换

mysql以逗号分隔的字段作为查询条件怎么查——find_in_set()函数

同步开关电源降低EMI布局 dv/dt di/dt
随机推荐
Leetcode topic resolution integer to Roman
给定二叉树的某个节点,返回该节点的后继节点
索引——MySQL
Day_09 传智健康项目-移动端开发-手机快速登录、权限控制
Word pattern for leetcode topic analysis
Remove duplicates from sorted list II of leetcode topic resolution
Vs+qt project transferred to QT Creator
CVE-2021-20038
图解 Google V8 # 17:消息队列:V8是怎么实现回调函数的?
There are so many code comments! I laughed
什么是PDCA循环?如何整合 PDCA 循环和 OKR
Basic RF theory (DB)
Redis 哨兵
Jour 13 Projet de santé mentale - chapitre 13
Index - MySQL
Leetcode topic resolution remove nth node from end of list
Possible pits in mongodb project
Matplotlib savefig multiple picture overlay
[cocos2d-x] custom ring menu
Introduction to JVM principle