Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/rt-thread
/ getmicrotime
Function
getmicrotime
components/lwp/terminal/bsd_porting.h:519–522 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
517
: ((tvp)->tv_sec cmp(uvp)->tv_sec))
518
519
rt_inline void getmicrotime(struct timeval *now)
520
{
521
gettimeofday(now, RT_NULL);
522
}
523
524
rt_inline void timevalfix(struct timeval *tv)
525
{
Callers
1
ttydisc_read_raw_read_timer
Function · 0.85
Calls
1
gettimeofday
Function · 0.85
Tested by
no test coverage detected