tools:monitor:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tools:monitor:start [2018/05/31 12:05] – [Save terminal output on a host computer via SSH] graf | tools:monitor:start [2018/07/18 10:49] – [How to use the Timer] graf | ||
---|---|---|---|
Line 20: | Line 20: | ||
===== How to use the Timer ===== | ===== How to use the Timer ===== | ||
The timer measurements can be used to monitor execution timing and notably realtime performance. After the creation of a periodic task, a monitor function can be added before the task is added to the '' | The timer measurements can be used to monitor execution timing and notably realtime performance. After the creation of a periodic task, a monitor function can be added before the task is added to the '' | ||
+ | IMPORTANT Add the monitor function before adding the perdiodic task to the executor. | ||
<code cpp> | <code cpp> | ||
eeros:: | eeros:: | ||
// the periodic will run a given time domain | // the periodic will run a given time domain | ||
- | periodic.monitors.push_back([& | + | periodic.monitors.push_back([& |
log.info() << " | log.info() << " | ||
}); | }); |
tools/monitor/start.txt · Last modified: 2020/08/12 10:02 by ursgraf