#include "common/assert.h"
#include "lib/func-status.h"
#include "lib/value.h"
+#include "lib/graph/component.h"
+#include "lib/graph/graph.h"
#define BT_ASSERT_PRE_DEV_CLOCK_CLASS_HOT(_cc) \
BT_ASSERT_PRE_DEV_HOT("clock-class", (_cc), "Clock class", \
bt_object_init_shared(&clock_class->base, destroy_clock_class);
+ clock_class->mip_version =
+ bt_component_borrow_graph((void *) self_comp)->mip_version;
+
clock_class->user_attributes = bt_value_map_create();
if (!clock_class->user_attributes) {
BT_LIB_LOGE_APPEND_CAUSE(