Functions
The following functions are available globally.
-
Converts nanosecond intervals retrieved via mach_absolute_time to milliseconds.
Declaration
Objective-C
static double mach_time_to_millis(uint64_t start, uint64_t end)
Swift
func mach_time_to_millis(_ start: UInt64, _ end: UInt64) -> Double
Parameters
start
Start timestamp.
end
End timestamp.
Return Value
Elapsed milliseconds.