summaryrefslogtreecommitdiffstats
path: root/ml/ml-private.h
blob: 7b3e0068461d43b7defff6d37fbcbf59efe93889 (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/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 */