Add C++ interface for the libbabeltrace2 `bt_clock_snapshot` API
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 17 Dec 2020 13:52:40 +0000 (08:52 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 28 Jan 2022 16:22:26 +0000 (11:22 -0500)
commit3aafc1652f91618c0ae7e485bcf50212ca4e112f
treefbbc96771633b37e52d610d2c8e87f24da53e268
parentcfc44919ddd4ae370a1ef47bf45fc05f0afac57a
Add C++ interface for the libbabeltrace2 `bt_clock_snapshot` API

This patch adds C++ wrappers for Babeltrace 2 clock snapshot objects.

The new available class is `bt2::ClockSnapshot`.

This new class follows the approach of other wrappers in
`src/cpp-common/bt2`.

You can't create such objects: they are what various message methods
(not part of `src/cpp-common/bt2` yet) return.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Id462b88b1575cddf50ae250f22dda71d7b27733c
Reviewed-on: https://review.lttng.org/c/babeltrace/+/4603
src/cpp-common/bt2/clock-snapshot.hpp [new file with mode: 0644]
This page took 0.023815 seconds and 4 git commands to generate.