#include "sys/dce-time.h"
#include <time.h>
#include <utime.h>
#include <sys/sysinfo.h>
#include <sys/types.h>
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) |
char* dce_asctime | ( | const struct tm * | tm | ) |
Definition at line 50 of file dce-time.cc.
References ns3::Current(), and ns3::UtilsGetNodeId().
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().
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().
char* dce_ctime | ( | const time_t * | timep | ) |
Definition at line 42 of file dce-time.cc.
References ns3::Current(), and ns3::UtilsGetNodeId().
|
read |
Definition at line 26 of file dce-time.cc.
References ns3::Current(), and ns3::UtilsGetNodeId().
|
read |
Definition at line 34 of file dce-time.cc.
References ns3::Current(), and ns3::UtilsGetNodeId().
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().
time_t dce_time | ( | time_t * | t | ) |
Definition at line 14 of file dce-time.cc.
References ns3::Current(), ns3::UtilsGetNodeId(), and ns3::UtilsSimulationTimeToTime().
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().