GxrTime

GxrTime

Functions

Types and Values

#define SEC_IN_MSEC_D
#define SEC_IN_NSEC_D
#define SEC_IN_NSEC_L

Includes

#include <gxr.h>

Description

Functions

gxr_time_age_secs_to_monotonic_msecs ()

guint32
gxr_time_age_secs_to_monotonic_msecs (float age);

gxr_time_float_secs_to_timespec ()

void
gxr_time_float_secs_to_timespec (float in,
                                 struct timespec *out);

gxr_time_substract ()

void
gxr_time_substract (struct timespec *a,
                    struct timespec *b,
                    struct timespec *out);

gxr_time_to_double_secs ()

double
gxr_time_to_double_secs (struct timespec *time);

Types and Values

SEC_IN_MSEC_D

#define SEC_IN_MSEC_D 1000.0

SEC_IN_NSEC_D

#define SEC_IN_NSEC_D 1000000000.0

SEC_IN_NSEC_L

#define SEC_IN_NSEC_L 1000000000L