GPU
parent
d20a037125
commit
f72a6c2db1
21
Info.hpp
21
Info.hpp
|
|
@ -31,6 +31,10 @@ namespace Columbus
|
||||||
unsigned long GetRAMFree();
|
unsigned long GetRAMFree();
|
||||||
unsigned long GetRAMThis();
|
unsigned long GetRAMThis();
|
||||||
int GetRAMUsage();
|
int GetRAMUsage();
|
||||||
|
unsigned long GetGPUMemorySize();
|
||||||
|
unsigned long GetGPUMemoryFree();
|
||||||
|
int GetGPUUsage();
|
||||||
|
int GetGPUMemoryUsage();
|
||||||
float GetGPUTemperature();
|
float GetGPUTemperature();
|
||||||
|
|
||||||
int GetCPUCount()
|
int GetCPUCount()
|
||||||
|
|
@ -152,7 +156,8 @@ namespace Columbus
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef COLUMBUS_PLATFORM_WINDOWS
|
#ifdef COLUMBUS_PLATFORM_WINDOWS
|
||||||
|
BSTR strClassProp = SysAllocString(L"CurrentTemperature");
|
||||||
|
std::cout << strClassProp << std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
@ -217,6 +222,20 @@ namespace Columbus
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsigned long GetGPUMemorySize()
|
||||||
|
{
|
||||||
|
#ifdef COLUMBUS_PLATFORM_WINDOWS
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
unsigned long GetGPUMemoryFree()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
float GetGPUTemperature()
|
float GetGPUTemperature()
|
||||||
{
|
{
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue