Hardware profiling?

Blitz3D Forums/Blitz3D Programming/Hardware profiling?

Adam Novagen(Posted 2009) [#1]
Hey all,

So, I've been wondering; can I obtain any of the following hardware information with Blitz, and if so, how?

-Number of CPUs
-CPU speed
-CPU Vendor
-CPU ID
-Total RAM
-Available RAM
-HD Capacity
-Remaining HD space

I've had a flip through the codearcs & DECLS section, but didn't find anything. SO, can this be done? I did think of one method to find the remaining space on a hard drive, but that involved filling the entire thing with a single file using WriteFile()... Not exactly a viable option. XD


Kryzon(Posted 2009) [#2]
Ah, this might be of interest:

CPUid by Chi3f Stadi:
http://www.blitzbasic.com/toolbox/toolbox.php?tool=153

At least part of the problem's gone.


Adam Novagen(Posted 2009) [#3]
Ooh, nice, I missed that one! Thanks Kryzon! Now to find some other stuff...