Hi guys.
I've written an application and its nearing its final stages. One of the things I want to add is a sort of performance checker, i.e. before running the program it will get some system information and set some variables relating to the performance accordingly. So if the system had only 256MB ram it wouldn't load as much data.
Is there any C functions/library where I can retreive such data? It only needs to be very basic, e.g processor speed, amount of ram installed, graphics card size (this is most important as its a graphics based program).
Thanks for any advice.
I've written an application and its nearing its final stages. One of the things I want to add is a sort of performance checker, i.e. before running the program it will get some system information and set some variables relating to the performance accordingly. So if the system had only 256MB ram it wouldn't load as much data.
Is there any C functions/library where I can retreive such data? It only needs to be very basic, e.g processor speed, amount of ram installed, graphics card size (this is most important as its a graphics based program).
Thanks for any advice.