Jump to content

Simulate CPU usage


Recommended Posts

I need to simulate 20% (more or less) of CPU usage.

this may be a difficalt task considering AutoIt is single threded. a single autoit instance can never take more than one core of the processor.

You may be able to use this to your advantage. eg. if you have a 4 core processor you could run the below (very simple) script and it would take approx 25% of the CPU.

Is that enough for your purposes?

while 1
wend
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...