darylbrewer / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

eventPoll() /eventWait() to return time-stamps respecting scripting language conventions #623

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What should be supported?

Currently, the time-stamps returned by eventPoll() etc are of the form u'time': 
1297072704813000L - ie. microsecond resolution (actually milliseconds - the 3 
least sig digits always show 0). I believe this is the standard for java based 
languages

In Python however for instance, time.time() returns a floating point number 
with resolution in "seconds"

this has potential to become a "gotcha" if anyone starts doing work with event 
timestamps 

Original issue reported on code.google.com by srinathd...@gmail.com on 1 May 2012 at 4:48