2011年4月4日星期一

手动提升CPU使用率脚本----cpubusy.vbs

原理就是死循环!

将下列内容保存为cpubusy.vbs后执行即可

------------------------------------------------------------------------

Dim goal
Dim before
Dim x
Dim y
Dim i
goal = 2181818
Do While True
before = Timer
For i = 0 to goal
x = 0.000001
y = sin(x)
y = y + 0.00001
Next
y = y + 0.01
Loop
------------------------------------------------------------------------

没有评论: