diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2010-10-14 17:01:39 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2010-10-14 17:01:39 -0600 |
commit | 5ee546eb4e446632c32e62a5234241fd6498f281 (patch) | |
tree | 7f185cff390b3ed0adfb26ab141a1aa21883a1e5 /indra/llcommon/llsys.h | |
parent | dedc78431f938beac5c8750ff446eeab44aeb163 (diff) |
for SH-335: create a debug tool to track of memory availability.
Diffstat (limited to 'indra/llcommon/llsys.h')
-rw-r--r-- | indra/llcommon/llsys.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llcommon/llsys.h b/indra/llcommon/llsys.h index 39af74e5c8..35425f38ed 100644 --- a/indra/llcommon/llsys.h +++ b/indra/llcommon/llsys.h @@ -114,6 +114,9 @@ public: ** be returned. */ U32 getPhysicalMemoryClamped() const; ///< Memory size in clamped bytes + + //get the available memory infomation in KiloBytes. + void getAvailableMemoryKB(U32& avail_physical_mem_kb, U32& avail_virtual_mem_kb) const; }; |