Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ArduPilot/ardupilot
/ init
Function
init
libraries/AP_HAL_Linux/system.cpp:25–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
23
}
24
25
void init()
26
{
27
struct timespec ts {};
28
clock_gettime(CLOCK_MONOTONIC, &ts);
29
state.start_time_ns = ts_to_nsec(ts);
30
}
31
32
void WEAK panic(const char *errormsg, ...)
33
{
Callers
3
run
Method · 0.70
read_block
Method · 0.70
write_block
Method · 0.70
Calls
2
clock_gettime
Function · 0.85
ts_to_nsec
Function · 0.70
Tested by
no test coverage detected