DMTCP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
dmtcp::TimerList Class Reference

#include <timerlist.h>

Public Member Functions

 TimerList ()
 
void resetOnFork ()
 
void preCheckpoint ()
 
void postRestart ()
 
timer_t virtualToRealTimerId (timer_t virtId)
 
timer_t realToVirtualTimerId (timer_t realId)
 
clockid_t virtualToRealClockId (clockid_t virtId)
 
int getoverrun (timer_t id)
 
timer_t on_timer_create (timer_t realId, clockid_t clockid, struct sigevent *sevp)
 
void on_timer_delete (timer_t timerid)
 
void on_timer_settime (timer_t timerid, int flags, const struct itimerspec *new_value)
 
clockid_t on_clock_getcpuclockid (pid_t pid, clockid_t clock_id)
 
clockid_t on_pthread_getcpuclockid (pthread_t thread, clockid_t clock_id)
 

Static Public Member Functions

static TimerListinstance ()
 

Detailed Description

Definition at line 58 of file timerlist.h.

Constructor & Destructor Documentation

dmtcp::TimerList::TimerList ( )
inline

Definition at line 66 of file timerlist.h.

Member Function Documentation

int TimerList::getoverrun ( timer_t  id)

Definition at line 192 of file timerlist.cpp.

TimerList & TimerList::instance ( )
static

Definition at line 66 of file timerlist.cpp.

clockid_t TimerList::on_clock_getcpuclockid ( pid_t  pid,
clockid_t  clock_id 
)

Definition at line 246 of file timerlist.cpp.

clockid_t TimerList::on_pthread_getcpuclockid ( pthread_t  thread,
clockid_t  clock_id 
)

Definition at line 260 of file timerlist.cpp.

timer_t TimerList::on_timer_create ( timer_t  realId,
clockid_t  clockid,
struct sigevent *  sevp 
)

Definition at line 202 of file timerlist.cpp.

void TimerList::on_timer_delete ( timer_t  timerid)

Definition at line 227 of file timerlist.cpp.

void TimerList::on_timer_settime ( timer_t  timerid,
int  flags,
const struct itimerspec *  new_value 
)

Definition at line 236 of file timerlist.cpp.

void TimerList::postRestart ( )

Definition at line 136 of file timerlist.cpp.

void TimerList::preCheckpoint ( )

Definition at line 123 of file timerlist.cpp.

timer_t dmtcp::TimerList::realToVirtualTimerId ( timer_t  realId)
inline

Definition at line 79 of file timerlist.h.

void TimerList::resetOnFork ( )

Definition at line 112 of file timerlist.cpp.

clockid_t dmtcp::TimerList::virtualToRealClockId ( clockid_t  virtId)
inline

Definition at line 82 of file timerlist.h.

timer_t dmtcp::TimerList::virtualToRealTimerId ( timer_t  virtId)
inline

Definition at line 76 of file timerlist.h.


The documentation for this class was generated from the following files: