Does Sifi_SDK have an API interface to obtain timestamps?

Unit in milliseconds or microseconds

To obtain a timestamp in milliseconds, you can use:

rt_tick_t t = rt_tick_get_millisecond();

to get the time elapsed since the operating system started. Alternatively:

uint32_t t = HAL_GetTick();

to get the time elapsed since the system startup.