Last updated March 2020
get_now_ts — Get the current time
**get_now_ts** ( | void
); | |
This function can be called from any thread. If it is called from a scheduler_thread, it will return the time from the current “ec_scheduler_inst” structure. If it is called from a non-scheduler thread, it will return the value returned by
The value returned is the epoch time in UTC measured in seconds.
It is legal to call this function from any thread.
Was this page helpful?