Relation between Running a program faster and CPU usage

亡梦爱人 提交于 2019-12-13 07:50:17

问题


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

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

The performance is low while:

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

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

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

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

Any guides are appreciated.


回答1:


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



来源:https://stackoverflow.com/questions/48079894/relation-between-running-a-program-faster-and-cpu-usage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!