#include <sys/time.h>
Go to the source code of this file.
Functions | |
int | dce_getitimer (int which, struct itimerval *value) |
int | dce_gettimeofday (struct timeval *tv, struct timezone *tz) |
int | dce_nanosleep (const struct timespec *req, struct timespec *rem) |
int | dce_setitimer (int which, const struct itimerval *value, struct itimerval *ovalue) |
int dce_getitimer | ( | int | which, |
struct itimerval * | value | ||
) |
Definition at line 511 of file dce.cc.
References ns3::Current(), ns3::Thread::err, ns3::Process::itimer, ns3::Process::itimerInterval, ns3::Thread::process, ns3::UtilsGetNodeId(), and ns3::UtilsTimeToTimeval().
Referenced by dce_alarm().
int dce_gettimeofday | ( | struct timeval * | tv, |
struct timezone * | tz | ||
) |
Definition at line 278 of file dce.cc.
References ns3::Current(), ns3::UtilsGetNodeId(), ns3::UtilsSimulationTimeToTime(), and ns3::UtilsTimeToTimeval().
int dce_nanosleep | ( | const struct timespec * | req, |
struct timespec * | rem | ||
) |
Definition at line 286 of file dce.cc.
References ns3::Current(), ns3::Thread::err, ns3::Process::manager, ns3::Thread::process, ns3::UtilsGetNodeId(), ns3::UtilsTimespecToTime(), ns3::UtilsTimeToTimespec(), and ns3::DceManager::Wait().
int dce_setitimer | ( | int | which, |
const struct itimerval * | value, | ||
struct itimerval * | ovalue | ||
) |
Definition at line 528 of file dce.cc.
References ns3::Current(), ns3::TaskManager::Current(), ns3::Thread::err, ns3::Process::itimer, Itimer(), ns3::Process::itimerInterval, ns3::Thread::process, ns3::TaskManager::ScheduleMain(), ns3::UtilsGetNodeId(), ns3::UtilsTimeToTimeval(), and ns3::UtilsTimevalToTime().
Referenced by dce_alarm().