From 8c7f47574040aa116dfb57e8c380e1fad60e5d1a Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Thu, 12 Nov 2015 21:13:44 +0100 Subject: Add some values to the SimulatorFeatures cap's OpenSimExtras section: SimulatorFPS: The actual optimal FPS of the simulator, un-fudged SimulatorFPSFactor: The fudge factor that is applied to the stats sent to the viewer SimulatorFPSWarnPercent: The percentage below which a lag meter should go to amber SimulatorFPSCritPercent: The percentage below which a lag meter should go to red To display the real values, a viewer would divide the reported FPS by the SimulatorFPSFactor and use that to calculate the percentage of SimulatorFPS. E.g. reported is 55fps, SimulatorFPSFactor is 5.0 and SimulatorFPS is 11. --- bin/OpenSimDefaults.ini | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index fadd359..1481fca 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini @@ -174,7 +174,7 @@ ; Adicionaly they are scaled to values they whould have on a system running at a nominal 55 frames per second rate ; The scale factor it 55 * FrameTime, corresponding to 5 with default configuration ; You can choose to not apply this scale factor setting Normalized55FPS to false. - ; Normalized55FPS = false + ; Normalized55FPS = true ; Main Frame time ; This defines the rate of several simulation events. @@ -185,6 +185,14 @@ ; changing this value, you need to change some of the following *EveryNFrames so their actions timing remains the same FrameTime = 0.0909 + ; The values below represent the percentage of the target frame time that, + ; when underrun, should trigger yellow or red in the lag meter. + ; Less than 60% of FPS is amber by default, less then 40% is red. + ; These values are advisory. Viewers may choose to not use them but it is + ; encouraged that they do. + ; FrameTimeWarnPercent = 60; + ; FrameTimeCritPercent = 40; + ; Send scheduled updates to objects in the scene ; This must be a whole number UpdateObjectsEveryNFrames = 1; -- cgit v1.1