MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / sysinfo

Class sysinfo

Engine/MemoryInfo.cpp:316–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314 return statex.ullAvailPhys;
315#elif defined(__linux__) || defined(__linux) || defined(linux) || defined(__gnu_linux__)
316 struct sysinfo memInfo;
317 sysinfo (&memInfo);
318 long long totalAvailableRAM = memInfo.freeram;
319 totalAvailableRAM *= memInfo.mem_unit;

Callers 1

getAmountFreePhysicalRAMFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected