Do I need Delay(1) on AMD?

BlitzMax Forums/BlitzMax Programming/Do I need Delay(1) on AMD?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

It was brought to my attention with Easter Bonus and now my new Game Framework demo that if you bring up task manager in full-screen mode, the CPU useage is 100% (ish) on AMDs and only 50%(ish) on Pentiums (well on my Hyperthreading P4 3.2GHz anyway). This may mean that windows struggles to do background tasks and could be causing/accentuating and stuttering problems on smooth moving graphics. Someone a while ago suggested using Delay(1) in the main loop.

So does anyone have more info about this, and is delay(1) enough? It seems a bit lame to have to give up 1ms per frame, esp if someone is running at 100Hz, you only have 10Ms to play with per frame! Maybe there is a neater way to do this?

Also is there a way to detect if the CPU is AMD not Intel and only switch the delay on for AMD CPUs?

Here's my framework demo to test how it affects your CPU useage in full-screen mode http://www.greyaliengames.com/aotmg/aotmg.zip (3.93Mb)

I'd really appreciate any feedback people can offer, thanks in advance.