39 if ((timeElapsed = timeNow - timeStart_) >= statPeriod_)
41 latestFps_ = (
static_cast<double>(frameCounter_)) / statPeriod_;
42 yCInfo(
ULTRAPYTHONSTAT) << info_ <<
" frame number:" << frameCounter_ <<
" fps:" << latestFps_ <<
" interval:" << timeElapsed <<
" sec."
43 <<
" exposition:" << exposure_ <<
" msec.";
const yarp::os::LogComponent & ULTRAPYTHONSTAT()
const yarp::os::LogComponent & ULTRAPYTHONSTAT()
void setExposure(double value)
#define yCInfo(component,...)
#define YARP_LOG_COMPONENT(name,...)
double now()
Return the current time in seconds, relative to an arbitrary starting point.