Scale down per frame MS stats to match scaled simulator FPS stat.
This makes frame time stats properly tally with fps, which saves confusion and makes it easier to interpret numbers. In some ways this is not so artifical - physics FPS runs at the higher rate.0.7.3-extended
parent
280d005d55
commit
a57b78b44b
|
@ -320,7 +320,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
// values to X-per-second values.
|
// values to X-per-second values.
|
||||||
|
|
||||||
uint thisFrame = m_scene.Frame;
|
uint thisFrame = m_scene.Frame;
|
||||||
float framesUpdated = (float)(thisFrame - m_lastUpdateFrame);
|
float framesUpdated = (float)(thisFrame - m_lastUpdateFrame) * m_reportedFpsCorrectionFactor;
|
||||||
m_lastUpdateFrame = thisFrame;
|
m_lastUpdateFrame = thisFrame;
|
||||||
|
|
||||||
// Avoid div-by-zero if somehow we've not updated any frames.
|
// Avoid div-by-zero if somehow we've not updated any frames.
|
||||||
|
|
Loading…
Reference in New Issue