time.h
IntroductionUse the links in the table of contents to the left to access the documentation. Functions
dispatch_timeCreate a dispatch_time_t relative to the current value of the default or wall time clock, or modify an existing dispatch_time_t. ( macos( 10.6), ios( 4.0)) dispatch_time_t dispatch_time( dispatch_time_t when, int64_t delta); Parameters
Return ValueA new dispatch_time_t. DiscussionOn Apple platforms, the default clock is based on mach_absolute_time(). dispatch_walltimeCreate a dispatch_time_t using the wall clock. ( macos( 10.6), ios( 4.0)) dispatch_time_t dispatch_walltime( const struct timespec *_Nullable when, int64_t delta); ParametersReturn ValueA new dispatch_time_t. DiscussionOn Mac OS X the wall clock is based on gettimeofday(3). Typedefs
dispatch_time_tA somewhat abstract representation of time; where zero means "now" and DISPATCH_TIME_FOREVER means "infinity" and every value in between is an opaque encoding. typedef uint64_t dispatch_time_t; |