更快地运行程序与 CPU 使用率之间的关系 [英] Relation between Running a program faster and CPU usage

查看:46
本文介绍了更快地运行程序与 CPU 使用率之间的关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 stackoverflow.com/a 参考中指出的代码.

I'm using the code which indicated in the stackoverflow.com/a reference.

正如我所评论的,上述过程包括一个For Next,需要更多次重复.

As I was commented, the above procedure included a For Next which needs more times repeat.

性能低下:

(我同时监视了任务管理器、性能选项卡(CPU 利用率)和进程选项卡.)

(I was monitored the Task Manager's, Performance tab (CPU utilization) and the processes tab together.)

整体 CPU 使用率 - 大约 - 低于 25%.

The overall CPU usage is -approximately- lower than 25%.

为什么正在运行的程序没有使用更多的 CPU 资源来提高性能和运行得更快?

Why the running procedure have not using more CPU resources to increase performance and running faster?

我们是否可以执行消耗更多 CPU 使用率 (100%) 以提高运行软件的性能?

Is it possible for us to perform consuming more CPU usage (100%) for increase the running software performance?

感谢任何指南.

推荐答案

VBA 是单线程的,所以它总是只使用一个内核.

VBA is single-threaded, so it will always use only a single core.

这篇关于更快地运行程序与 CPU 使用率之间的关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆