summaryrefslogtreecommitdiffstats
path: root/ml/ml-private.h
blob: 2bd72ac5a2990489a0f454036b73c2735aab40e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: GPL-3.0-or-later

#ifndef ML_PRIVATE_H
#define ML_PRIVATE_H

#include "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 */