sas
Modularised monitoring, logging, and control of robots.
Loading...
Searching...
No Matches
sas_clock.hpp File Reference

Timing utilities for control loops and statistics collection. More...

#include <atomic>
#include <chrono>
#include <map>
#include <marinholab/sas/core/sas_object.hpp>
#include <marinholab/sas/core/sas_core.hpp>

Go to the source code of this file.

Classes

class  marinholab::sas::core::Clock
 Clock utility for timing and statistics in control loops. More...

Namespaces

namespace  marinholab
namespace  marinholab::sas
namespace  marinholab::sas::core

Detailed Description

Timing utilities for control loops and statistics collection.

The Clock class manages loop timing, sleep with early exit, compute elapsed times and collect optional statistics for computational time, idle time and effective sampling time used by control threads.