Android timer precision increase 1000x |
Michael Labbe
Guest
|
I have attached a one line patch against 2.0.4rc1 that enables HAVE_CLOCK_GETTIME on Android. I have been running this for about a month on various devices without issue.
On Thu, May 14, 2015 at 12:22 AM, Sam Lantinga wrote:
|
|||||||||||||||
|
Android timer precision increase 1000x |
Ryan C. Gordon
Guest
|
Just to be clear: is there some old Android version we still support that doesn't have clock_gettime()?
--ryan. On Jun 17, 2015, at 4:45 PM, Michael Labbe wrote:
|
|||||||||||||||||
|
Android timer precision increase 1000x |
Eric Wing
Guest
|
On 6/18/15, Ryan C. Gordon wrote:
I *think* I used clock_gettime() in ALmixer on Android on 2.2 and maybe even 2.0. Lots of users and devices with no problems. I'm pretty certain I used it in 2.3 without problems. -Eric _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
Android timer precision increase 1000x |
SiPlus
|
I doubt that, CLOCK_MONOTONIC is used by android.os.SystemClock.uptimeMillis(), which has been available since API 1.
On 19-Jun-15 4:14, Ryan C. Gordon wrote:
|
|||||||||||||||||||||
|
Android timer precision increase 1000x |
Sam Lantinga
|
This change is in for 2.0.4, thanks!
https://hg.libsdl.org/SDL/rev/7cfd071cd9a2 On Wed, Jun 17, 2015 at 1:45 PM, Michael Labbe wrote:
|
|||||||||||||||||
|