MCPcopy Create free account
hub / github.com/catboost/catboost / TRusage

Class TRusage

util/system/rusage.h:9–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7/// portable getrusage
8
9struct TRusage {
10 // some fields may be zero if unsupported
11
12 ui64 MaxRss = 0;
13 ui64 MajorPageFaults = 0;
14 TDuration Utime;
15 TDuration Stime;
16
17 void Fill();
18
19 static size_t GetCurrentRSS();
20
21 static TRusage Get() {
22 TRusage r;
23 r.Fill();
24 return r;
25 }
26};

Callers 1

FillMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected