On 16/09/2014 17:08, Julien Wajsberg wrote: > Is there anything we need to do to use it, or installing latest base > builld is enough?
The latest JB base build is not enough IIRC, I haven't tried the KK one though. For a detailed analysis of how the clock is being changed during reboot you can read Dave's excellent analysis here: https://bugzilla.mozilla.org/show_bug.cgi?id=1021698#c25 On top of that I've seen it make significant jumps even during regular operation and even with automatic date setting. This is really annoying... and also very useful since it's unearthing a ton of bugs related to timing and measuring durations. BTW as others have separately found out in different bugs to solve most of those it's usually enough to replace Date.now() invocations with Performance.now() wherever you're measuring a duration and not an absolute point in time. Performance.now() doesn't return a meaningful date but will always return the real amount of time that passed so it can be - and should be - used for measuring durations. If you encounter this problem in C++ in Gecko the same applies but replacing PR_Now() with TimeStamp::Now() (hopefully most of those issues have already been solved though). Gabriele
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
