1 #ifndef _TIMESTAMP_H___
2 #define _TIMESTAMP_H___
17 double currentTime(double time);
19 double epochTime(double time);
23 static double fromTimeval(const struct ::timeval& tv);
24 static struct ::timeval toTimeval(const double time);
27 static Timestamp *instance();
30 double startTimeEpoch;
31 static Timestamp* mInstance;