From e9a0bbed640dbd006458b173015566cd96bf5067 Mon Sep 17 00:00:00 2001 From: Giulio Romualdi Date: Thu, 22 Sep 2022 15:02:17 +0200 Subject: [PATCH] Print the timers status every 10 seconds --- src/WalkingModule/src/Module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WalkingModule/src/Module.cpp b/src/WalkingModule/src/Module.cpp index a029eeac..34854807 100644 --- a/src/WalkingModule/src/Module.cpp +++ b/src/WalkingModule/src/Module.cpp @@ -413,7 +413,7 @@ bool WalkingModule::configure(yarp::os::ResourceFinder& rf) // time profiler m_profiler = std::make_unique(); - m_profiler->setPeriod(round(0.1 / m_dT)); + m_profiler->setPeriod(round(10 / m_dT)); if(m_useMPC) m_profiler->addTimer("MPC");