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