| Index: runtime/vm/os_win.cc
|
| diff --git a/runtime/vm/os_win.cc b/runtime/vm/os_win.cc
|
| index 68f77f6e4517384dbb90c83295223cd45654ce8b..aa7e774713c480c8d5e710ceabcc9e882200ed99 100644
|
| --- a/runtime/vm/os_win.cc
|
| +++ b/runtime/vm/os_win.cc
|
| @@ -206,6 +206,12 @@ int OS::NumberOfAvailableProcessors() {
|
| return info.dwNumberOfProcessors;
|
| }
|
|
|
| +uintptr_t OS::MaxRSS() {
|
| + PROCESS_MEMORY_COUNTERS pmc;
|
| + GetProcessMemoryInfo(GetCurrentProcess(), &pmc, sizeof(pmc));
|
| + return pmc.PeakWorkingSetSize;
|
| +}
|
| +
|
| void OS::Sleep(int64_t millis) {
|
| ::Sleep(millis);
|
| }
|
|
|