2 * Copyright (C) 2010 Pierre-Marc Fournier
3 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 * Copyright (C) 2022 Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 * SPDX-License-Identifier: GPL-2.0-only
13 #include <common/compat/time.hpp>
14 #include <common/uuid.hpp>
15 #include <vendor/optional.hpp>
17 #include <lttng/ust-clock.h>
23 #include <urcu/arch.h>
24 #include <urcu/system.h>
29 class clock_attributes_sample {
31 using cycles_t = uint64_t;
32 using scycles_t = int64_t;
34 clock_attributes_sample();
36 const std::string _name;
37 const std::string _description;
38 const nonstd::optional<lttng_uuid> _uuid;
39 const scycles_t _offset;
40 const cycles_t _frequency;
44 } /* namespace lttng */
46 #endif /* _UST_CLOCK_H */