We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
return pmc;
1 parent 7e709a0 commit 78ef7e8Copy full SHA for 78ef7e8
tests/memory_tests/src/memory_tests_helper/memory_counter.cpp
@@ -29,6 +29,7 @@ namespace MemoryTest {
29
pmc.cb = sizeof(PROCESS_MEMORY_COUNTERS);
30
if (!GetProcessMemoryInfo(GetCurrentProcess(), &pmc, pmc.cb))
31
throw std::runtime_error("Can't get system memory values");
32
+ return pmc;
33
}
34
35
size_t getVmSizeInKB() {
tests/stress_tests/common/utils.cpp
@@ -39,6 +39,7 @@ static PROCESS_MEMORY_COUNTERS getMemoryInfo() {
39
40
41
42
43
44
45
0 commit comments