Reputation: 8497
In libuv's uv_loop_t, there is a private uint64 field called "time".
What does it represent?
Upvotes: 0
Views: 137
Reputation: 14103
libuv
caches the current time at the start of the event loop tick in order to reduce the number of time-related system calls (see also).
So time
certainly is the current time cached when your event loop is started. You can retrieve this value though uv_now
and update it using uv_update_time
.
Upvotes: 1