SimGrid  3.21
Versatile Simulation of Distributed Systems
xbt_os_time.h File Reference
#include <xbt/misc.h>
#include <stddef.h>

Typedefs

typedef struct s_xbt_os_timer * xbt_os_timer_t
 

Functions

double xbt_os_time (void)
 get time in seconds More...
 
void xbt_os_sleep (double sec)
 
xbt_os_timer_t xbt_os_timer_new (void)
 
void xbt_os_timer_free (xbt_os_timer_t timer)
 
double xbt_os_timer_elapsed (xbt_os_timer_t timer)
 
size_t xbt_os_timer_size (void)
 
void xbt_os_walltimer_start (xbt_os_timer_t timer)
 
void xbt_os_walltimer_resume (xbt_os_timer_t timer)
 
void xbt_os_walltimer_stop (xbt_os_timer_t timer)
 
void xbt_os_cputimer_start (xbt_os_timer_t timer)
 
void xbt_os_cputimer_resume (xbt_os_timer_t timer)
 
void xbt_os_cputimer_stop (xbt_os_timer_t timer)
 
void xbt_os_threadtimer_start (xbt_os_timer_t timer)
 
void xbt_os_threadtimer_resume (xbt_os_timer_t timer)
 
void xbt_os_threadtimer_stop (xbt_os_timer_t timer)
 

Typedef Documentation

◆ xbt_os_timer_t

typedef struct s_xbt_os_timer* xbt_os_timer_t

Function Documentation

◆ xbt_os_time()

double xbt_os_time ( void  )

get time in seconds

gives the number of seconds since the Epoch (00:00:00 UTC, January 1, 1970).

◆ xbt_os_sleep()

void xbt_os_sleep ( double  sec)

◆ xbt_os_timer_new()

xbt_os_timer_t xbt_os_timer_new ( void  )

◆ xbt_os_timer_free()

void xbt_os_timer_free ( xbt_os_timer_t  timer)

◆ xbt_os_timer_elapsed()

double xbt_os_timer_elapsed ( xbt_os_timer_t  timer)

◆ xbt_os_timer_size()

size_t xbt_os_timer_size ( void  )

◆ xbt_os_walltimer_start()

void xbt_os_walltimer_start ( xbt_os_timer_t  timer)

◆ xbt_os_walltimer_resume()

void xbt_os_walltimer_resume ( xbt_os_timer_t  timer)

◆ xbt_os_walltimer_stop()

void xbt_os_walltimer_stop ( xbt_os_timer_t  timer)

◆ xbt_os_cputimer_start()

void xbt_os_cputimer_start ( xbt_os_timer_t  timer)

◆ xbt_os_cputimer_resume()

void xbt_os_cputimer_resume ( xbt_os_timer_t  timer)

◆ xbt_os_cputimer_stop()

void xbt_os_cputimer_stop ( xbt_os_timer_t  timer)

◆ xbt_os_threadtimer_start()

void xbt_os_threadtimer_start ( xbt_os_timer_t  timer)

◆ xbt_os_threadtimer_resume()

void xbt_os_threadtimer_resume ( xbt_os_timer_t  timer)

◆ xbt_os_threadtimer_stop()

void xbt_os_threadtimer_stop ( xbt_os_timer_t  timer)