Go to the source code of this file.
|
static std::string | now () |
|
static std::string now |
( |
| ) |
|
|
static |
Definition at line 51 of file MatacqProducer.cc.
Referenced by MatacqProducer::addMatacqData(), MatacqProducer::getMatacqEvent(), MatacqProducer::getMatacqFile(), MatacqProducer::PosEstimator::init(), MatacqProducer::loadOrbitOffset(), MatacqProducer::MatacqProducer(), MatacqProducer::mread(), MatacqProducer::mseek(), MatacqProducer::newRun(), MatacqProducer::PosEstimator::pos(), MatacqProducer::produce(), and MatacqProducer::~MatacqProducer().
53 gettimeofday(&
t,
nullptr);
56 strftime(buf,
sizeof(buf),
"%F %R %S s", localtime(&
t.tv_sec));
57 buf[
sizeof(buf)-1] = 0;
60 buf2 << buf <<
" " << ((
t.tv_usec+500)/1000) <<
" ms";