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/dce-time.h"
#include <time.h>
#include <utime.h>
#include <sys/sysinfo.h>
#include <sys/types.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

char * dce_asctime (const struct tm *tm)
int dce_clock_getres (clockid_t c, struct timespec *r)
int dce_clock_gettime (clockid_t which_clock, struct timespec *tp)
char * dce_ctime (const time_t *timep)
struct tm * dce_gmtime (const time_t *timep)
struct tm * dce_localtime (const time_t *timep)
int dce_sysinfo (struct sysinfo *info)
time_t dce_time (time_t *t)
void dce_tzset (void)
int dce_utime (const char *filename, const struct utimbuf *times)

Function Documentation

char* dce_asctime ( const struct tm *  tm)

Definition at line 50 of file dce-time.cc.

References ns3::Current(), and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

int dce_clock_getres ( clockid_t  c,
struct timespec *  r 
)

Definition at line 75 of file dce-time.cc.

References ns3::Current(), ns3::Thread::err, and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

int dce_clock_gettime ( clockid_t  which_clock,
struct timespec *  tp 
)

Definition at line 58 of file dce-time.cc.

References ns3::Current(), ns3::Thread::err, ns3::UtilsGetNodeId(), ns3::UtilsSimulationTimeToTime(), and ns3::UtilsTimeToTimespec().

+ Here is the call graph for this function:

char* dce_ctime ( const time_t *  timep)

Definition at line 42 of file dce-time.cc.

References ns3::Current(), and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

struct tm* dce_gmtime ( const time_t *  timep)
read

Definition at line 26 of file dce-time.cc.

References ns3::Current(), and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

struct tm* dce_localtime ( const time_t *  timep)
read

Definition at line 34 of file dce-time.cc.

References ns3::Current(), and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

int dce_sysinfo ( struct sysinfo *  info)

Definition at line 920 of file dce.cc.

References ns3::Current(), ns3::Thread::err, ns3::UtilsGetNodeId(), and ns3::UtilsSimulationTimeToTime().

+ Here is the call graph for this function:

time_t dce_time ( time_t *  t)

Definition at line 14 of file dce-time.cc.

References ns3::Current(), ns3::UtilsGetNodeId(), and ns3::UtilsSimulationTimeToTime().

+ Here is the call graph for this function:

void dce_tzset ( void  )

Definition at line 70 of file dce-time.cc.

int dce_utime ( const char *  filename,
const struct utimbuf *  times 
)

Definition at line 105 of file dce-time.cc.

References ns3::Current(), ns3::UtilsGetNodeId(), and ns3::UtilsGetRealFilePath().

+ Here is the call graph for this function: