2021-12-29 15:59:18 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace kku
|
|
|
|
{
|
|
|
|
|
|
|
|
using microsec = long long;
|
|
|
|
|
|
|
|
struct TimeRange
|
|
|
|
{
|
|
|
|
const microsec begin = 0;
|
|
|
|
const microsec end = 0;
|
|
|
|
|
2022-10-18 04:59:51 +02:00
|
|
|
constexpr inline explicit TimeRange() noexcept : begin(0), end(0) {}
|
2021-12-29 15:59:18 +01:00
|
|
|
|
2022-10-18 04:59:51 +02:00
|
|
|
constexpr inline explicit TimeRange(microsec x, microsec y) noexcept
|
|
|
|
: begin(x), end(y)
|
|
|
|
{
|
|
|
|
}
|
2021-12-29 15:59:18 +01:00
|
|
|
};
|
|
|
|
|
2022-10-18 04:59:51 +02:00
|
|
|
} // namespace kku
|