urgent help with .net
Thread Starter
Scooby Regular
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Im stuck... I need to think of a way of getting the cpu up to around 90% utilisation for a set amount of time...
An app runs too quick
so need to click on icon 90% launch app, then when exe has been quit or whatever back down to normal...
.NET only please!
or ideas on how... thought about a couple of threads running doing a bit of maths...
David
An app runs too quick

so need to click on icon 90% launch app, then when exe has been quit or whatever back down to normal...
.NET only please!
or ideas on how... thought about a couple of threads running doing a bit of maths...
David
Trending Topics
If the app runs too quickly use System.Threading.Thread.Sleep(x) to send the thread to sleep for x milliseconds - don't hose the processor just to slow your app down.
If however you want to slow another process down (some 3rd party software, for example), go to Task Manager and lower it's priority first.
Then write a small app that does a simple loop with a couple of tiny sleeps in it (only a millisecond or so), but creates hundreds of threads. Basically you are trying to force down the number of timeslices (as a proportion of the total your CPU allocates) available to the "too quick" thread. You system performance may suffer
If however you want to slow another process down (some 3rd party software, for example), go to Task Manager and lower it's priority first.
Then write a small app that does a simple loop with a couple of tiny sleeps in it (only a millisecond or so), but creates hundreds of threads. Basically you are trying to force down the number of timeslices (as a proportion of the total your CPU allocates) available to the "too quick" thread. You system performance may suffer
MS Stress Tool is part of the SDK. OK, it isn't .Net but might help.
Let me know if you don't have a copy, I'm sure I coul dig a copy out from my toppling pile of MSDN DVDs
Cheers
Ian
Let me know if you don't have a copy, I'm sure I coul dig a copy out from my toppling pile of MSDN DVDs

Cheers
Ian
Thread Starter
Scooby Regular
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Kevin, aint one of my apps.. Im not that bad at programming 
Told them they cant have the app... much easier..
David

Told them they cant have the app... much easier..
David
Thread
Thread Starter
Forum
Replies
Last Post
Blow Dog
Non Scooby Related
4
Sep 16, 2001 12:22 PM





