18 #include <boost/date_time.hpp>
19 #include <drizzled/common_fwd.h>
28 _epoch(boost::gregorian::date(1970, 1 ,1))
30 _connect_time = boost::posix_time::microsec_clock::universal_time();
34 uint64_t getConnectMicroseconds()
const;
35 uint64_t getConnectSeconds()
const;
38 void set_time(time_t);
39 void set_time_after_lock();
41 uint64_t getElapsedTime()
const;
42 type::epoch_t getCurrentTimestamp(
bool actual=
true)
const;
43 type::epoch_t getCurrentTimestampEpoch()
const;
44 type::epoch_t getCurrentTimestampEpoch(type::usec_t& fraction_arg)
const;
45 type::epoch_t query_start();
46 boost::posix_time::ptime start_timer()
const;
47 boost::posix_time::ptime epoch()
const;
49 boost::posix_time::ptime _epoch;
50 boost::posix_time::ptime _connect_time;
51 boost::posix_time::ptime _end_timer;
52 boost::posix_time::ptime _user_time;
53 boost::posix_time::ptime _start_timer;
54 uint64_t utime_after_lock;