Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/rt-thread
/ clock
Function
clock
components/libc/compilers/common/ctime.c:362–365 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
360
RTM_EXPORT(time);
361
362
rt_weak clock_t clock(void)
363
{
364
return rt_tick_get(); // TODO should return cpu usage time
365
}
366
RTM_EXPORT(clock);
367
368
int stime(const time_t *t)
Callers
1
now
Method · 0.85
Calls
1
rt_tick_get
Function · 0.85
Tested by
no test coverage detected