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)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 04:09:19 +0000 (00:09 -0400)
commit31cfffdb109e86d2a3e1895d3306c8f9dbf28f9b
tree4f6f2c801834e004c57be0150900aad5081eef24
parent734a0572d453b07093c3077407c22c383ceffc3b
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.025104 seconds and 5 git commands to generate.