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)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 2 May 2019 20:50:15 +0000 (20:50 +0000)
commit0c5e21000b711a86f360fc29220ea6d6b6b830fa
tree4f6f2c801834e004c57be0150900aad5081eef24
parent5badd463e184894a3bfd5b8db257efc6f92c6374
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.024403 seconds and 4 git commands to generate.