Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ PrintSystemResources
Function
PrintSystemResources
library/cpp/logger/global/rty_formater.cpp:60–62 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
58
}
59
60
TString PrintSystemResources(const NMemInfo::TMemInfo& mi) {
61
return Sprintf(
" rss=%0.3fMb, vms=%0.3fMb"
, mi.RSS * 1.0 / (1024 * 1024), mi.VMS * 1.0 / (1024 * 1024));
62
}
63
}
64
65
namespace {
Callers
1
GetSystemResources
Function · 0.85
Calls
1
Sprintf
Function · 0.85
Tested by
no test coverage detected