Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00016
00017
00019 class wall_clock
00020 {
00021 public:
00022
00023 inline wall_clock();
00024 inline ~wall_clock();
00025
00026 inline void tic();
00027 inline double toc();
00028
00029
00030 private:
00031
00032 bool valid;
00033
00034 #if defined(ARMA_USE_BOOST_DATE)
00035 boost::posix_time::ptime boost_time1;
00036 boost::posix_time::time_duration boost_duration;
00037 #else
00038 #if defined(ARMA_HAVE_GETTIMEOFDAY)
00039 struct timeval posix_time1;
00040 struct timeval posix_time2;
00041 #endif
00042 #endif
00043
00044 };
00045
00046