lib: Pass raw snapshot value to bt_message_inactivity_create()
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 19 Feb 2019 20:08:26 +0000 (15:08 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:38 +0000 (18:19 -0400)
commitb8fae4bb9ccb225b764d930213c8141a298b4ca1
treeef2c99bca6133efb1ed1ad4016b227ee3b339040
parent1043fdeac7af547a48ff5d938851dad9390aea4f
lib: Pass raw snapshot value to bt_message_inactivity_create()

Having both
  bt_message_inactivity_create(bt_self_message_iterator *message_iterator,
      const bt_clock_class *default_clock_class);
and
  bt_message_inactivity_set_default_clock_snapshot(
      bt_message *msg, uint64_t raw_value);
is redundant given that setting the clock snapshot value is required to
send the inactivity message down the graph.

This commit makes it so that the value of the snapshot is required at
the creation of the inactivity message.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
include/babeltrace/graph/message-inactivity.h
lib/graph/message/inactivity.c
This page took 0.030217 seconds and 4 git commands to generate.