Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

TJApple

Trying to gathering system stats

This topic is 6932 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!