Motr  M0
utime.c File Reference
#include "lib/time.h"
#include "lib/time_internal.h"
#include "lib/assert.h"
#include "lib/misc.h"
#include "lib/errno.h"
#include <sys/time.h>
#include <time.h>
#include "lib/trace.h"
Include dependency graph for utime.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_LIB
 

Functions

M0_INTERNAL m0_time_t m0_clock_gettime_wrapper (enum CLOCK_SOURCES clock_id)
 
M0_INTERNAL m0_time_t m0_clock_gettimeofday_wrapper (void)
 
int m0_nanosleep (const m0_time_t req, m0_time_t *rem)
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_LIB

Definition at line 33 of file utime.c.

Function Documentation

◆ m0_clock_gettime_wrapper()

M0_INTERNAL m0_time_t m0_clock_gettime_wrapper ( enum CLOCK_SOURCES  clock_id)

Definition at line 36 of file utime.c.

◆ m0_clock_gettimeofday_wrapper()

M0_INTERNAL m0_time_t m0_clock_gettimeofday_wrapper ( void  )

Definition at line 47 of file utime.c.

Here is the call graph for this function:

◆ m0_nanosleep()

int m0_nanosleep ( const m0_time_t  req,
m0_time_t rem 
)

Sleep for requested time

Definition at line 58 of file utime.c.

Here is the call graph for this function: