8#include <framework/utilities/Utils.h>
12#include <gtest/gtest.h>
18 TEST(Utilities, MemSize)
23 gSystem->GetProcInfo(&meminfo);
25 ASSERT_TRUE(abs(v - meminfo.fMemVirtual) < 1000);
27 gSystem->GetProcInfo(&meminfo);
29 ASSERT_TRUE(abs(r - meminfo.fMemResident) < 1000);
unsigned long getRssMemoryKB()
Returns the amount of memory the process actually occupies in the physical RAM of the machine.
unsigned long getVirtualMemoryKB()
Returns currently used virtual memory in KB, includes swapped and not occupied memory pages and memor...
Abstract base class for different kinds of events.