mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
Abbreviate the stats by removing unneeded and redundant elements. Human readability is overrated. Also add a (hardcoded) password.
This commit is contained in:
@@ -238,6 +238,17 @@ namespace OpenSim.Framework.Monitoring
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
public virtual OSDMap ToBriefOSDMap()
|
||||
{
|
||||
OSDMap ret = new OSDMap();
|
||||
|
||||
ret.Add("Value", OSD.FromReal(Value));
|
||||
|
||||
double lastChangeOverTime, averageChangeOverTime;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
public virtual OSDMap ToOSDMap()
|
||||
{
|
||||
OSDMap ret = new OSDMap();
|
||||
@@ -322,4 +333,4 @@ namespace OpenSim.Framework.Monitoring
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user