Thanks Bluewall for Mantis #3519: a patch that adds simulator uptime and version to REST/json statistics reporting

This commit is contained in:
Dahlia Trimble
2009-04-25 05:06:01 +00:00
parent 917849eaac
commit 4792e6139a
6 changed files with 15 additions and 17 deletions

View File

@@ -52,7 +52,7 @@ namespace OpenSim.Framework.Statistics
return sb.ToString();
}
public virtual string XReport()
public virtual string XReport(string uptime, string version)
{
return (string) Math.Round(GC.GetTotalMemory(false) / 1024.0 / 1024.0).ToString() ;
}