21     gettimeofday(&state.start_time, 
nullptr);
    24 void panic(
const char *errormsg, ...)
    29     va_start(ap, errormsg);
    56     gettimeofday(&tp, 
nullptr);
    57     uint64_t ret = 1.0e6 * ((tp.tv_sec + (tp.tv_usec * 1.0e-6)) -
    58                             (state.start_time.tv_sec +
    59                              (state.start_time.tv_usec * 1.0e-6)));
    68         return stopped_usec / 1000;
    72     gettimeofday(&tp, 
nullptr);
    73     uint64_t ret = 1.0e3*((tp.tv_sec + (tp.tv_usec*1.0e-6)) -
    74                           (state.start_time.tv_sec +
    75                            (state.start_time.tv_usec*1.0e-6)));
 struct timespec start_time
uint64_t stopped_clock_usec() const
static struct AP_HAL::@102 state
int printf(const char *msg,...)
static Scheduler * from(AP_HAL::Scheduler *scheduler)
int vprintf(const char *fmt, va_list arg)
void init()
Generic board initialization function. 
void panic(const char *errormsg,...) FMT_PRINTF(1
AP_HAL::Scheduler * scheduler