~mir-team/mir/uniformity-measurement-with-sync-proto

« back to all changes in this revision

Viewing changes to benchmarks/frame-uniformity/touch_measuring_client.cpp

  • Committer: Robert Carr
  • Date: 2014-10-08 22:14:56 UTC
  • Revision ID: robert.carr@canonical.com-20141008221456-pyycx8xxqqnhpfah
Sweet sweet hacks

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
    auto now = []() { return std::chrono::high_resolution_clock::now(); };
101
101
 
102
102
    // TODO: End time should be relative to first input event
 
103
    // TODO: Actually expect that we see the touch end location...
103
104
    auto end_time = now() + duration;
104
105
    while (now() < end_time)
105
106
    {