aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/rusage.h
diff options
context:
space:
mode:
authorfilmih <filmih@yandex-team.ru>2022-02-10 16:49:59 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:59 +0300
commit693ca74a6530df8930b0d445102e2ea77b8c4e00 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system/rusage.h
parent883c643baf3a1698f0f0a31a8973b61411cd311f (diff)
downloadydb-693ca74a6530df8930b0d445102e2ea77b8c4e00.tar.gz
Restoring authorship annotation for <filmih@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/rusage.h')
-rw-r--r--util/system/rusage.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/system/rusage.h b/util/system/rusage.h
index efdf29325f..61aeca83f2 100644
--- a/util/system/rusage.h
+++ b/util/system/rusage.h
@@ -9,15 +9,15 @@
struct TRusage {
// some fields may be zero if unsupported
- ui64 MaxRss = 0;
+ ui64 MaxRss = 0;
ui64 MajorPageFaults = 0;
TDuration Utime;
TDuration Stime;
void Fill();
- static size_t GetCurrentRSS();
-
+ static size_t GetCurrentRSS();
+
static TRusage Get() {
TRusage r;
r.Fill();