Mir

Pointless short sleep in examples/render_to_fb.cpp

Bug #1108682 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Low
Alexandros Frantzis

Bug Description

examples/render_to_fb.cpp uses far too much CPU due to timing error...

usleep(167);//60fps

It should be 16666 microseconds for 60 FPS.

Changed in mir:
status: Triaged → In Progress
Changed in mir:
assignee: Daniel van Vugt (vanvugt) → nobody
status: In Progress → Triaged
summary: - Busy wait in examples/render_to_fb.cpp
+ Pointless short sleep in examples/render_to_fb.cpp
description: updated
Changed in mir:
assignee: nobody → Alexandros Frantzis (afrantzis)
status: Triaged → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.0.2

Changed in mir:
status: In Progress → Fix Committed
information type: Proprietary → Public
Changed in mir:
milestone: none → 0.0.3
Changed in mir:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.