mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Merge branch 'master' into careminster
This commit is contained in:
@@ -80,5 +80,12 @@ namespace OpenSim.Framework.Monitoring
|
||||
{
|
||||
return (string) Math.Round(GC.GetTotalMemory(false) / 1024.0 / 1024.0).ToString() ;
|
||||
}
|
||||
|
||||
public virtual OSDMap OReport(string uptime, string version)
|
||||
{
|
||||
OSDMap ret = new OSDMap();
|
||||
ret.Add("TotalMemory", new OSDReal(Math.Round(GC.GetTotalMemory(false) / 1024.0 / 1024.0)));
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user