Core: Fix build for uppsrc/Core/Cpu.cpp on FreeBSD (after 14570 revision)
|Assignee:||Miroslav Fidler||% Done:|
There is following compiler error on FreeBSD after 14570 revision:
<..>/uppsrc/Core/Cpu.cpp:182:20: error: variable has incomplete type 'struct vmtotal' struct vmtotal vmt; ^ <..>/uppsrc/Core/Cpu.cpp:182:12: note: forward declaration of 'vmtotal' struct vmtotal vmt; ^ 1 error generated.
I found, that "struct vmtotal" defined in sys/vmmeter.h file.
#5 Updated by Sender Ghost 25 days ago
- Assignee changed from Sender Ghost to Miroslav Fidler
Thanks for commit.
Miroslav Fidler wrote:
Could you please also verify that GetSystemMemoryStatus works in FreeBSD? "available" is not really precisly defined, but it should correspond to memory load somehow...
The upptst/MemoryStatus returned quite large values, compared to total/available memory. Posted some results on U++ slack.