DMTCP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
timerwrappers.cpp File Reference
#include "timerwrappers.h"
#include "timerlist.h"

Go to the source code of this file.

Functions

int timer_create (clockid_t clockid, struct sigevent *sevp, timer_t *timerid)
 
int timer_delete (timer_t timerid)
 
int timer_settime (timer_t timerid, int flags, const struct itimerspec *new_value, struct itimerspec *old_value)
 
int timer_gettime (timer_t timerid, struct itimerspec *curr_value)
 
int timer_getoverrun (timer_t timerid)
 
int clock_getcpuclockid (pid_t pid, clockid_t *clock_id)
 
int pthread_getcpuclockid (pthread_t thread, clockid_t *clock_id)
 
int clock_getres (clockid_t clk_id, struct timespec *res)
 
int clock_gettime (clockid_t clk_id, struct timespec *tp)
 
int clock_settime (clockid_t clk_id, const struct timespec *tp)
 

Function Documentation

int clock_getcpuclockid ( pid_t  pid,
clockid_t *  clock_id 
)

Definition at line 99 of file timerwrappers.cpp.

int clock_getres ( clockid_t  clk_id,
struct timespec *  res 
)

Definition at line 123 of file timerwrappers.cpp.

int clock_gettime ( clockid_t  clk_id,
struct timespec *  tp 
)

Definition at line 132 of file timerwrappers.cpp.

int clock_settime ( clockid_t  clk_id,
const struct timespec *  tp 
)

Definition at line 141 of file timerwrappers.cpp.

int pthread_getcpuclockid ( pthread_t  thread,
clockid_t *  clock_id 
)

Definition at line 111 of file timerwrappers.cpp.

int timer_create ( clockid_t  clockid,
struct sigevent *  sevp,
timer_t *  timerid 
)

Definition at line 27 of file timerwrappers.cpp.

int timer_delete ( timer_t  timerid)

Definition at line 52 of file timerwrappers.cpp.

int timer_getoverrun ( timer_t  timerid)

Definition at line 88 of file timerwrappers.cpp.

int timer_gettime ( timer_t  timerid,
struct itimerspec *  curr_value 
)

Definition at line 79 of file timerwrappers.cpp.

int timer_settime ( timer_t  timerid,
int  flags,
const struct itimerspec *  new_value,
struct itimerspec *  old_value 
)

Definition at line 65 of file timerwrappers.cpp.