Symbols
loading...
Files
loading...

sys_now() function

Returns the current time in milliseconds, may be the same as sys_jiffies or at least based on it. Don't care for wraparound, this is only used for time diffs. Not implementing this function means you cannot use some modules (e.g. TCP timestamps, internal timeouts for NO_SYS==1).

Syntax

u32_t sys_now(void);

Examples

sys_now() is referenced by 35 libraries and example projects.

References

LocationReferrerText
sys.h:446
u32_t sys_now(void);
timeouts.c:243lwip_cyclic_timer()
now = sys_now();
timeouts.c:299sys_timeout()
next_timeout_time = (u32_t)(sys_now() + msecs); /* overflow handled by TIME_LESS_THAN macro */
timeouts.c:359sys_check_timeouts()
now = sys_now();
timeouts.c:414sys_restart_timeouts()
now = sys_now();
timeouts.c:435sys_timeouts_sleeptime()
now = sys_now();

Call Tree

Functions calling sys_now()
Functions called by sys_now()
sys_now()
HAL_GetTick()
all items filtered out
Type of sys_now()
sys_now()
all items filtered out