SimGrid  3.16
Versatile Simulation of Distributed Systems
xbt_os_time.c File Reference
#include "src/internal_config.h"
#include "xbt/sysdep.h"
#include "xbt/log.h"
#include "xbt/xbt_os_time.h"
#include <math.h>
#include <sys/time.h>
#include <time.h>

Classes

struct  s_xbt_os_timer
 

Functions

double xbt_os_time (void)
 get time in seconds More...
 
void xbt_os_sleep (double sec)
 
size_t xbt_os_timer_size (void)
 
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)
 
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)
 

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_size()

size_t xbt_os_timer_size ( void  )

◆ 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_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)