From 2e70477bb78e8cd112e27af66f9421cdd10c0751 Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Tue, 14 May 2019 17:36:10 +0200 Subject: [PATCH] Add more statistics examples --- design.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/design.md b/design.md index 2a3f7c1..c296e19 100644 --- a/design.md +++ b/design.md @@ -18,9 +18,13 @@ The plan is to use LTTng with a ROS wrapper package like `tracetools` for ROS 1. After the initial instrumentation, some general statistics analyses can be built. The targeted analysis tools are pandas and Jupyter. The goal is to make analyses general enough to be useful for different use-cases, e.g.: -* Callback duration (mean, stdev, etc.) -* -* +* Callback duration +* Time between callbacks (between two callback starts and/or a callback end and a start) +* Message age (as the difference between processing time and message timestamp) +* Message size +* Execution time/proportion accross a process' nodes/components + +with mean, stdev, etc. Generic tracepoints should also be provided for ROS 2 user code, which could then be applied to a user-provided model for higher-level behaviour statistics.