Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
sys_time_arch.h File Reference

Simulator timing functions. More...

#include "std.h"
+ Include dependency graph for sys_time_arch.h:

Go to the source code of this file.

Functions

void sys_tick_handler (void)
 
static uint32_t get_sys_time_usec (void)
 Get the time in microseconds since startup. More...
 
static uint32_t get_sys_time_msec (void)
 Get the time in milliseconds since startup. More...
 
static void sys_time_usleep (uint32_t us)
 

Detailed Description

Simulator timing functions.

Definition in file sys_time_arch.h.

Function Documentation

static uint32_t get_sys_time_msec ( void  )
inlinestatic

Get the time in milliseconds since startup.

Returns
milliseconds since startup as uint32_t

Definition at line 49 of file sys_time_arch.h.

References msec_of_cpu_ticks(), sys_time::nb_sec, and sys_time::nb_sec_rem.

+ Here is the call graph for this function:

static uint32_t get_sys_time_usec ( void  )
inlinestatic

Get the time in microseconds since startup.

Returns
microseconds since startup as uint32_t

Definition at line 39 of file sys_time_arch.h.

References sys_time::nb_sec, sys_time::nb_sec_rem, and usec_of_cpu_ticks().

+ Here is the call graph for this function:

static void sys_time_usleep ( uint32_t  us)
inlinestatic

Definition at line 56 of file sys_time_arch.h.