3 ms·
Just use CACurrentMediaTime for that, or Date(), both simple options :)
by chubs 2y ago
Just use CACurrentMediaTime for that, or Date(), both simple options :)
- fathyb 2y agoI believe `CACurrentMediaTime` depends on `QuartzCore.framework` and `Date` is not monotonic. I would also find it confusing if I found code doing something like network retries using `CACurrentMediaTime`.
- vlovich123 2y agoClock_gettime