Unified interfaces to get time, since different platform has different implementations.
More...
Unified interfaces to get time, since different platform has different implementations.
◆ ndn_time_ms_t
Time count in milli-seconds.
◆ ndn_time_us_t
Time count in micro-seconds.
◆ ndn_time_delay()
Sleep for a specified time interval.
- Parameters
-
[in] | delay | Time to delay in ms. |
◆ ndn_time_now_ms()
Get current time count in ms.
- Returns
- Time count. The absolute value is meaningless.
◆ ndn_time_now_us()
Get current time count in us.
- Returns
- Time count. The absolute value is meaningless.