Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add Clock, implementing proper monotonic and wallclock time using Instant ↵ | Sven Gothel | 2023-03-06 | 1 | -25/+0 |
| | | | | | | | | | (sec + nsec), currentTimeMillis() is also monotonic now, reused by Platform. Dropped Platform.currentTimeMicros() Clock and its implementation was copied from jaulibs, a spin-off from Direct-BT. The implementation uses `clock_gettime(CLOCK_MONOTONIC, &t)` and is considered safe and high-performant as it avoids a kernel call via VDSO (GNU/Linux). | ||||
* | Platform: Add accurate currentTimeMillis() and currentTimeMicros() native ↵ | Sven Gothel | 2013-08-15 | 1 | -0/+25 |
methods, based on 'gettimeofday(..)' |