I need to time some events in the app I\'m working on. In Java i used to be able to call currentTimeMillis() but there doesnt seem to be a version in Objective-c. Is there a way
[[NSDate date] timeIntervalSince1970] * 1000 returns a the same value as currentTimeMillis()
[[NSDate date] timeIntervalSince1970] * 1000
currentTimeMillis()
CFAbsoluteTimeGetCurrent() and [NSDate timeIntervalSinceReferenceDate] both return a double starting at Jan 1 2001 00:00:00 GMT.
CFAbsoluteTimeGetCurrent()
[NSDate timeIntervalSinceReferenceDate]