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