MCPcopy 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

360RTM_EXPORT(time);
361
362rt_weak clock_t clock(void)
363{
364 return rt_tick_get(); // TODO should return cpu usage time
365}
366RTM_EXPORT(clock);
367
368int stime(const time_t *t)

Callers 1

nowMethod · 0.85

Calls 1

rt_tick_getFunction · 0.85

Tested by

no test coverage detected