From 215f423cbe18fe9ca14a26caef918d303bad28ff Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:11 -0500 Subject: Second Life viewer sources 1.18.4.0-RC --- linden/indra/llcommon/llmemory.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'linden/indra/llcommon/llmemory.h') diff --git a/linden/indra/llcommon/llmemory.h b/linden/indra/llcommon/llmemory.h index b6f42e3..b72046c 100644 --- a/linden/indra/llcommon/llmemory.h +++ b/linden/indra/llcommon/llmemory.h @@ -2,6 +2,8 @@ * @file llmemory.h * @brief Memory allocation/deallocation header-stuff goes here. * + * $LicenseInfo:firstyear=2002&license=viewergpl$ + * * Copyright (c) 2002-2007, Linden Research, Inc. * * Second Life Viewer Source Code @@ -24,6 +26,7 @@ * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, * COMPLETENESS OR PERFORMANCE. + * $/LicenseInfo$ */ #ifndef LL_MEMORY_H #define LL_MEMORY_H @@ -415,5 +418,8 @@ public: //---------------------------------------------------------------------------- -#endif +// Return the resident set size of the current process, in bytes. +// Return value is zero if not known. +U64 getCurrentRSS(); +#endif -- cgit v1.1