Difference between revisions of "Jitter"

From BZFlagWiki
Jump to: navigation, search
Line 8: Line 8:
  
 
Coders interested in jitter in BZFlag's context may wish to study LagInfo.cxx from the BZ source.
 
Coders interested in jitter in BZFlag's context may wish to study LagInfo.cxx from the BZ source.
 +
It can be found in bzflag/game/Source Files/ (VS08) or src/game/ in a ordinary file browser.
  
  
 
[[Category:Client]]
 
[[Category:Client]]
 
[[Category:Server]]
 
[[Category:Server]]

Revision as of 12:43, 28 September 2009

Jitter

Jitter is a term used to mean the variation in lag over time.


In very simple terms, if you were to ping a network host 2 times and each time it responded in 100 milliseconds, we could say that its jitter is 0 ms. If instead, the 2 ping times were 75 and 100 milliseconds, we could say the jitter is 25 ms. Of course the jitter calculations performed in BZFlag are a little more complex than that, incorporating averaging and smoothing over time.


Coders interested in jitter in BZFlag's context may wish to study LagInfo.cxx from the BZ source. It can be found in bzflag/game/Source Files/ (VS08) or src/game/ in a ordinary file browser.