Mistake on this page? Email us
edge_time.h File Reference

Edge time API. More...

#include <stdint.h>
#include <stdbool.h>

Go to the source code of this file.

Functions

uint64_t edgetime_get_monotonic_in_ms ()
 Get current milliseconds. Uses CLOCK_MONOTONIC as source from POSIX.1-2001, POSIX.1-2008, SUSv2 compliant system. If _POSIX_MONOTONIC_CLOCK is not defined the function returns 0. More...
 
bool edgetime_get_real_in_ns (uint64_t *seconds, uint64_t *ns)
 Get the real time in seconds and nanoseconds. Uses CLOCK_REAL as source. More...
 

Detailed Description

Edge time API.

Utility functions for getting time.