Task #1148
closed
mock implementation of time structs
Added by Junxiao Shi almost 11 years ago.
Updated over 10 years ago.
Description
Define time::Duration
, time::Point
, time::now
.
time::Point
refers to monotonic clock.
- Subject changed from time duration and point to mock implementation of time structs
- Description updated (diff)
- Status changed from New to Resolved
- Target version set to Mock
clock_gettime
is not available on OSX.
OSX has mach_absolute_time
but I can't understand it, so time::now()
fallbacks to wall clock on OSX.
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF