Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ sysinfo
Class
sysinfo
tensorflow/core/platform/posix/port.cc:361–361 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
359
int64 AvailableRam() {
360
#if defined(__linux__) && !defined(__ANDROID__)
361
struct sysinfo info;
362
int err = sysinfo(&info);
363
if (err == 0) {
364
return info.freeram;
Callers
1
AvailableRam
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected