diff options
Diffstat (limited to '')
-rw-r--r-- | ml/ml-private.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ml/ml-private.h b/ml/ml-private.h new file mode 100644 index 00000000..7b3e0068 --- /dev/null +++ b/ml/ml-private.h @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +#ifndef ML_PRIVATE_H +#define ML_PRIVATE_H + +#include "kmeans/KMeans.h" +#include "ml/ml.h" + +#include <chrono> +#include <map> +#include <mutex> +#include <sstream> + +namespace ml { + +using SteadyClock = std::chrono::steady_clock; +using TimePoint = std::chrono::time_point<SteadyClock>; + +template<typename T> +using Duration = std::chrono::duration<T>; + +using Seconds = std::chrono::seconds; + +} // namespace ml + +#endif /* ML_PRIVATE_H */ |