19 _startTime = boost::posix_time::microsec_clock::local_time();
23 _startTimeLaunched =
true;
28 assert (_startTimeLaunched ==
true);
31 const boost::posix_time::ptime lStopTime =
32 boost::posix_time::microsec_clock::local_time();
35 const boost::posix_time::time_duration lElapsedTime =
36 lStopTime - _startTime;
39 const double lElapsedTimeInMicroSeconds =
40 static_cast<const double> (lElapsedTime.total_microseconds());
47 return (lElapsedTimeInMicroSeconds / 1e6);