time - High-precision timer in iOS -


what precise way measure time intervals in ios? far have been using nsdate "mark" events , timeintervalsincedate method calculate interval, there more precise approach? e.g. windows has called qpc kind of thing. there similar in ios (or macosx) world?

you can down nanoseconds using mach_absolute_time(). here article on using it: https://developer.apple.com/library/mac/qa/qa1398/_index.html

it exists on ios.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -