lib: add clock class accuracy property
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 1 Sep 2023 19:37:38 +0000 (15:37 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 4 Sep 2024 19:05:14 +0000 (15:05 -0400)
commit85f6ebeb602b158fb858862850f79eda00a69046
treeb87a7d687ff85097df658598a27b671ff11f87cb
parenta8e200adc539c58c6ac98472ff6d708ba22a3c72
lib: add clock class accuracy property

With the intent of supporting CTF 2, add the accuracy property to clock
classes.

 - Add the bt_clock_class_{g,s}et_accuracy getter and setter, both of
   which are restricted to MIP >= 1.
 - Add the accuracy field to struct bt_clock_class.
 - Make lib-logging print the accuracy of a clock class, if set.

Philippe updated the documentation.

Change-Id: I199ea6d339fcb0142847825c3d12ae526564814d
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/10711
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12725
include/babeltrace2/trace-ir/clock-class.h
src/lib/lib-logging.c
src/lib/trace-ir/clock-class.c
src/lib/trace-ir/clock-class.h
This page took 0.024643 seconds and 4 git commands to generate.