Advertisement

Trying to gathering system stats

Started by April 25, 2000 03:44 PM
2 comments, last by TJApple 24 years, 7 months ago
I''m looking for some VC++ code that can be run to gather some system stats on start-up. Specifically, I need to get the CPU type, available RAM, type of 3D accelerator (if any), and the amount of texture cache available. Does anyone know where I might be able to look? MSDN is of little to no help. TJ
MSDN can be of help here - in the index, look up GetSystemMetrics, then scroll right down to the bottom to the ''See Also'' Section.

You want to look at System Information Functions.

I think that should help you out.

Take it easy,

-Mezz
Advertisement
quote: Original post by TJApple

type of 3D accelerator (if any), and the amount of texture cache available.


There's a DirectX sample which shows how to enumerate Direct3D-capable devices in the system, and the capabilities of each device shows how much texture RAM is available.

Of course, this doesn't help for OpenGL, which I know nothing about.

TheTwistedOne
http://www.angrycake.com

Edited by - TheTwistedOne on 4/25/00 4:28:28 PM
TheTwistedOnehttp://www.angrycake.com
I remember an article on gamasutra a while back that included the exact code for just what you are looking for. CPU brand, speed, etc... I don''t have the exact link, but it shouldn''t be hard to find.

-> Briar LoDeran

This topic is closed to new replies.

Advertisement