From 67892343350a8af916ec4c16d341ad843550d54e Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 16 Oct 2008 13:17:31 +0000 Subject: * Apply http://opensimulator.org/mantis/view.php?id=2405 * Implement llGetRegionFPS() * Thanks idb --- OpenSim/Region/Environment/Scenes/Scene.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index e95b1d7..299d0da 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -196,6 +196,14 @@ namespace OpenSim.Region.Environment.Scenes get { return m_timedilation; } } + /// + /// This is for llGetRegionFPS + /// + public float SimulatorFPS + { + get { return m_statsReporter.getLastReportedSimFPS(); } + } + public int TimePhase { get { return m_timePhase; } -- cgit v1.1