Zth (libzth)
|
#include <libzth/allocator.h>
#include <libzth/config.h>
#include <libzth/util.h>
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <ctime>
#include <inttypes.h>
#include <limits>
Go to the source code of this file.
Classes | |
class | zth::TimeInterval |
Convenient wrapper around struct timespec that contains a time interval. More... | |
class | zth::Timestamp |
Convenient wrapper around struct timespec that contains an absolute timestamp. More... | |
Namespaces | |
zth | |
Functions | |
template<> | |
cow_string | zth::str< TimeInterval const & > (TimeInterval const &value) |
constexpr TimeInterval | zth::operator""_s (unsigned long long int x) noexcept |
Define literals like 123_s , which is a zth::TimeInterval of 123 seconds. More... | |
constexpr TimeInterval | zth::operator""_ms (unsigned long long int x) noexcept |
Define literals like 123_ms , which is a zth::TimeInterval of 123 milliseconds. More... | |
constexpr TimeInterval | zth::operator""_us (unsigned long long int x) noexcept |
Define literals like 123_us , which is a zth::TimeInterval of 123 microseconds. More... | |
TimeInterval | zth::operator""_s (long double x) |
Define literals like 12.3_s , which is a zth::TimeInterval of 12.3 seconds. More... | |
Variables | |
Timestamp const | zth::startTime |