#include <cstdio>
#include <ctime>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/thread/xtime.hpp>
Go to the source code of this file.
Namespaces | |
namespace | mongo |
Defines | |
#define | asctime MONGO_asctime |
#define | assert MONGO_assert |
#define | ctime MONGO_ctime |
#define | gmtime MONGO_gmtime |
#define | localtime MONGO_localtime |
#define | MONGO_asctime _asctime_not_threadsafe_ |
#define | MONGO_ctime _ctime_is_not_threadsafe_ |
#define | MONGO_gmtime _gmtime_not_threadsafe_ |
#define | MONGO_localtime _localtime_not_threadsafe_ |
Functions | |
boost::gregorian::date | mongo::currentDate () |
unsigned | mongo::curTimeMicros () |
unsigned long long | mongo::curTimeMicros64 () |
unsigned | mongo::curTimeMillis () |
Date_t | mongo::jsTime () |
void | mongo::sleepmicros (long long s) |
void | mongo::sleepmillis (long long s) |
void | mongo::sleepsecs (int s) |
int | mongo::tdiff (unsigned told, unsigned tnew) |
string | mongo::terseCurrentTime (bool colonsOk=true) |
void | mongo::time_t_to_Struct (time_t t, struct tm *buf, bool local=false) |
bool | mongo::toPointInTime (const string &str, boost::posix_time::ptime *timeOfDay) |
#define asctime MONGO_asctime |
Definition at line 79 of file time_support.h.
#define assert MONGO_assert |
Definition at line 25 of file time_support.h.
#define ctime MONGO_ctime |
Definition at line 85 of file time_support.h.
#define gmtime MONGO_gmtime |
Definition at line 81 of file time_support.h.
#define localtime MONGO_localtime |
Definition at line 83 of file time_support.h.
#define MONGO_asctime _asctime_not_threadsafe_ |
Definition at line 78 of file time_support.h.
#define MONGO_ctime _ctime_is_not_threadsafe_ |
Definition at line 84 of file time_support.h.
#define MONGO_gmtime _gmtime_not_threadsafe_ |
Definition at line 80 of file time_support.h.
#define MONGO_localtime _localtime_not_threadsafe_ |
Definition at line 82 of file time_support.h.