aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/rusage.cpp
diff options
context:
space:
mode:
authorsvshevtsov <svshevtsov@yandex-team.ru>2022-02-10 16:49:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:37 +0300
commitde89752358147d7b25ef59a85b431bb564068a49 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system/rusage.cpp
parent657337012a264721d58c470b4e9e796611f3c492 (diff)
downloadydb-de89752358147d7b25ef59a85b431bb564068a49.tar.gz
Restoring authorship annotation for <svshevtsov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/rusage.cpp')
-rw-r--r--util/system/rusage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/system/rusage.cpp b/util/system/rusage.cpp
index 4d15a48a7d..2befeca875 100644
--- a/util/system/rusage.cpp
+++ b/util/system/rusage.cpp
@@ -99,7 +99,7 @@ void TRusage::Fill() {
}
MaxRss = pmc.PeakWorkingSetSize;
- MajorPageFaults = pmc.PageFaultCount;
+ MajorPageFaults = pmc.PageFaultCount;
#else
struct rusage ru;
@@ -114,7 +114,7 @@ void TRusage::Fill() {
#else
MaxRss = ru.ru_maxrss * 1024LL;
#endif
- MajorPageFaults = ru.ru_majflt;
+ MajorPageFaults = ru.ru_majflt;
Utime = ru.ru_utime;
Stime = ru.ru_stime;
#endif