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 <sas_core/sas_object.hpp>
#include <sas_core/sas_core.hpp>

Go to the source code of this file.

Classes

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

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.