diff options
author | Melanie | 2009-12-14 00:40:56 +0000 |
---|---|---|
committer | Melanie | 2009-12-14 00:40:56 +0000 |
commit | 824d7190c2a5520f1cf6f3d24585b8c47c841e55 (patch) | |
tree | 0814d0228121249b7f2a33658180a0a446d13f51 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime | |
parent | And reverse (diff) | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC_OLD-824d7190c2a5520f1cf6f3d24585b8c47c841e55.zip opensim-SC_OLD-824d7190c2a5520f1cf6f3d24585b8c47c841e55.tar.gz opensim-SC_OLD-824d7190c2a5520f1cf6f3d24585b8c47c841e55.tar.bz2 opensim-SC_OLD-824d7190c2a5520f1cf6f3d24585b8c47c841e55.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index 519463e..2876ad6 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -637,5 +637,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
637 | { | 637 | { |
638 | return m_OSSL_Functions.osGetRegionStats(); | 638 | return m_OSSL_Functions.osGetRegionStats(); |
639 | } | 639 | } |
640 | |||
641 | /// <summary> | ||
642 | /// Returns the amount of memory in use by the Simulator Daemon. | ||
643 | /// Amount in bytes - if >= 4GB, returns 4GB. (LSL is not 64-bit aware) | ||
644 | /// </summary> | ||
645 | /// <returns></returns> | ||
646 | public LSL_Integer osGetSimulatorMemory() | ||
647 | { | ||
648 | return m_OSSL_Functions.osGetSimulatorMemory(); | ||
649 | } | ||
640 | } | 650 | } |
641 | } | 651 | } |