Point adjustments
parent
c6e173a34e
commit
4330e9940d
|
@ -31,10 +31,12 @@ namespace BLT {
|
||||||
#ifdef PHMAP_ENABLED
|
#ifdef PHMAP_ENABLED
|
||||||
typedef phmap::parallel_flat_hash_map<std::string_view, CaptureInterval> INTERVAL_MAP;
|
typedef phmap::parallel_flat_hash_map<std::string_view, CaptureInterval> INTERVAL_MAP;
|
||||||
typedef phmap::parallel_flat_hash_map<std::string_view, CapturePoint> POINT_MAP;
|
typedef phmap::parallel_flat_hash_map<std::string_view, CapturePoint> POINT_MAP;
|
||||||
|
typedef phmap::parallel_flat_hash_map<std::string_view, POINT_MAP> POINT_HISTORY_MAP;
|
||||||
typedef phmap::parallel_flat_hash_map<int, std::string_view> ORDER_MAP;
|
typedef phmap::parallel_flat_hash_map<int, std::string_view> ORDER_MAP;
|
||||||
#else
|
#else
|
||||||
typedef std::unordered_map<std::string_view, CaptureInterval> INTERVAL_MAP;
|
typedef std::unordered_map<std::string_view, CaptureInterval> INTERVAL_MAP;
|
||||||
typedef std::unordered_map<std::string_view, CapturePoint> POINT_MAP;
|
typedef std::unordered_map<std::string_view, CapturePoint> POINT_MAP;
|
||||||
|
typedef std::unordered_map<std::string_view, CapturePoint> POINT_HISTORY_MAP;
|
||||||
typedef std::unordered_map<int, std::string_view> ORDER_MAP;
|
typedef std::unordered_map<int, std::string_view> ORDER_MAP;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -42,6 +44,8 @@ namespace BLT {
|
||||||
private:
|
private:
|
||||||
INTERVAL_MAP intervals{};
|
INTERVAL_MAP intervals{};
|
||||||
POINT_MAP points{};
|
POINT_MAP points{};
|
||||||
|
POINT_MAP cyclicPoints{};
|
||||||
|
POINT_HISTORY_MAP cyclicPointsHistory{};
|
||||||
ORDER_MAP order{};
|
ORDER_MAP order{};
|
||||||
|
|
||||||
std::mutex timerLock{};
|
std::mutex timerLock{};
|
||||||
|
|
Loading…
Reference in New Issue