MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / sys_tick_get

Function sys_tick_get

components/lwp/lwp_syscall.c:6375–6378  ·  view source on GitHub ↗

* @brief Gets the current system tick count. * * This system call returns the current value of the system tick counter, which is typically incremented * at a fixed interval (e.g., every millisecond or microsecond). The tick count can be used for timing * purposes, such as measuring the elapsed time or triggering time-based events. * * @return rt_tick_t The current value of the system tick

Source from the content-addressed store, hash-verified

6373 * @see sys_tick_init(), sys_tick_delay()
6374 */
6375rt_tick_t sys_tick_get(void)
6376{
6377 return rt_tick_get();
6378}
6379
6380/**
6381 * @brief Delays the current thread for a specified number of milliseconds.

Callers

nothing calls this directly

Calls 1

rt_tick_getFunction · 0.85

Tested by

no test coverage detected