bt2c::Logger: remove unused cLevel() method
[babeltrace.git] / src / ctf-writer / clock.h
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright 2017 Philippe Proulx <pproulx@efficios.com>
5 */
6
7 #ifndef BABELTRACE_CTF_WRITER_CLOCK_INTERNAL_H
8 #define BABELTRACE_CTF_WRITER_CLOCK_INTERNAL_H
9
10 #include <babeltrace2-ctf-writer/clock.h>
11 #include "common/macros.h"
12 #include <glib.h>
13
14 #include "clock-class.h"
15 #include "object.h"
16 #include "trace.h"
17
18 struct bt_ctf_clock {
19 struct bt_ctf_object base;
20 struct bt_ctf_clock_class *clock_class;
21 uint64_t value; /* Current clock value */
22 };
23
24 struct metadata_context;
25
26 int bt_ctf_clock_get_value(struct bt_ctf_clock *clock, uint64_t *value);
27
28 void bt_ctf_clock_class_serialize(struct bt_ctf_clock_class *clock_class,
29 struct metadata_context *context);
30
31 #endif /* BABELTRACE_CTF_WRITER_CLOCK_INTERNAL_H */
This page took 0.031877 seconds and 5 git commands to generate.