checking CPU and video card load
Hello all
Is there a function call or a way I can test how much work the videocard and CPU are doing so I can adjust game detail accordingly.
Thank you!
Is there a function call or a way I can test how much work the videocard and CPU are doing so I can adjust game detail accordingly.
Thank you!
how about just calculate how long each frame has taken and if it is under this amount, draw at this level, if it is under this amount, draw at this level, and if it takes more than this amount, draw almost nothing.... or something like that.
While this way doesn't tell you EXACTLY what is taking a long time (CPU or GPU) I'm sure via simple profilling on multiple machines will give you a good idea of where the trouble is happening.
While this way doesn't tell you EXACTLY what is taking a long time (CPU or GPU) I'm sure via simple profilling on multiple machines will give you a good idea of where the trouble is happening.
Besides which, in a game the CPU and/or GPU are both going to be running at 100% most of the time, but that doesn't have anything to do with your current framerate. Max Payne uses 100% CPU, and gets about 40 FPS. UT2003 uses 100% CPU and gets 15 FPS.
Getting the current FPS is a far more efficient, accurate and reliable way to do it.
Getting the current FPS is a far more efficient, accurate and reliable way to do it.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| What's the video card in your Mac | tigerking | 34 | 12,766 |
Nov 13, 2010 11:05 PM Last Post: Skorche |
|
| Starting with SDL, can't load BMP :( | ngoles | 10 | 6,621 |
Feb 21, 2007 11:25 AM Last Post: djork |
|
| Checking renderer capabilities | akb825 | 5 | 2,636 |
Apr 11, 2006 09:04 AM Last Post: akb825 |
|
| OpenGL, core video and live video | kensuguro | 2 | 3,965 |
Oct 28, 2005 06:51 AM Last Post: kensuguro |
|
| How can I load a PNG without premultiplied alpha? | Prime | 6 | 5,527 |
Feb 15, 2005 08:52 PM Last Post: arekkusu |
|

