ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dce-time.h File Reference
#include <sys/time.h>
+ Include dependency graph for dce-time.h:
+ This graph shows which files directly or indirectly include this file:

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)

Function Documentation

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

+ Here is the call graph for this function:

int dce_nanosleep ( const struct timespec *  req,
struct timespec *  rem 
)
int dce_setitimer ( int  which,
const struct itimerval *  value,
struct itimerval *  ovalue 
)