~vanvugt/mir/clarify-ClientLatency

Viewing all changes in revision 3444.

  • Committer: Daniel van Vugt
  • Date: 2016-04-07 04:00:26 UTC
  • Revision ID: daniel.van.vugt@canonical.com-20160407040026-x6eoj2fdlko19jua
ClientLatency tests: Clarify results to avoid reporting a latency of
zero, which is misleading.

The granularity of our measurements is only a frame counter, so we're
unable to show the subtleties of the exact timing. However it's more
accurate to report that any frame rendered in the 16ms prior to being
displayed has a latency of 1 frame and not 0. Particularly if you
consider that render times aim to be as low as possible, the exact
latency is really much closer to 1 than 0 frames.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: