aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin
diff options
context:
space:
mode:
authorMelanie Thielker2015-11-12 21:13:44 +0100
committerMelanie Thielker2015-11-12 21:13:44 +0100
commit8c7f47574040aa116dfb57e8c380e1fad60e5d1a (patch)
treed2901476267c9c6a2b594a9a7c0102b66297d0e7 /bin
parentMove a call to RequestModuleInterface to a new scene callback function (diff)
downloadopensim-SC_OLD-8c7f47574040aa116dfb57e8c380e1fad60e5d1a.zip
opensim-SC_OLD-8c7f47574040aa116dfb57e8c380e1fad60e5d1a.tar.gz
opensim-SC_OLD-8c7f47574040aa116dfb57e8c380e1fad60e5d1a.tar.bz2
opensim-SC_OLD-8c7f47574040aa116dfb57e8c380e1fad60e5d1a.tar.xz
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.
Diffstat (limited to 'bin')
-rw-r--r--bin/OpenSimDefaults.ini10
1 files changed, 9 insertions, 1 deletions
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 @@
174 ; Adicionaly they are scaled to values they whould have on a system running at a nominal 55 frames per second rate 174 ; Adicionaly they are scaled to values they whould have on a system running at a nominal 55 frames per second rate
175 ; The scale factor it 55 * FrameTime, corresponding to 5 with default configuration 175 ; The scale factor it 55 * FrameTime, corresponding to 5 with default configuration
176 ; You can choose to not apply this scale factor setting Normalized55FPS to false. 176 ; You can choose to not apply this scale factor setting Normalized55FPS to false.
177 ; Normalized55FPS = false 177 ; Normalized55FPS = true
178 178
179 ; Main Frame time 179 ; Main Frame time
180 ; This defines the rate of several simulation events. 180 ; This defines the rate of several simulation events.
@@ -185,6 +185,14 @@
185 ; changing this value, you need to change some of the following *EveryNFrames so their actions timing remains the same 185 ; changing this value, you need to change some of the following *EveryNFrames so their actions timing remains the same
186 FrameTime = 0.0909 186 FrameTime = 0.0909
187 187
188 ; The values below represent the percentage of the target frame time that,
189 ; when underrun, should trigger yellow or red in the lag meter.
190 ; Less than 60% of FPS is amber by default, less then 40% is red.
191 ; These values are advisory. Viewers may choose to not use them but it is
192 ; encouraged that they do.
193 ; FrameTimeWarnPercent = 60;
194 ; FrameTimeCritPercent = 40;
195
188 ; Send scheduled updates to objects in the scene 196 ; Send scheduled updates to objects in the scene
189 ; This must be a whole number 197 ; This must be a whole number
190 UpdateObjectsEveryNFrames = 1; 198 UpdateObjectsEveryNFrames = 1;