dispatch_walltime
Creates a dispatch_time_t using an absolute time according to the wall clock.
Declaration
extern dispatch_time_t dispatch_walltime(const struct timespec *when, int64_t delta);Parameters
- when:
A
struct timespecto add time to. IfNULLis passed, then this function uses the result ofgettimeofday. - delta:
Nanoseconds to add.
Return Value
A new dispatch_time_t.
Discussion
The wall clock is based on gettimeofday(_:_:).