Skip to content

Commit

Permalink
NED
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqiang-hhhh committed Dec 20, 2024
1 parent 47474ba commit c305edd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions be/src/util/metrics.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ class LockSimpleMetric : public Metric {
T _value;
};

// TODO: Remove this class and related code.
template <typename T>
class CoreLocalCounter : public Metric {
public:
Expand Down Expand Up @@ -234,9 +235,9 @@ class LockGauge : public LockSimpleMetric<T> {
virtual ~LockGauge() {}
};

using IntCounter = CoreLocalCounter<int64_t>;
using IntCounter = AtomicCounter<int64_t>;
using IntAtomicCounter = AtomicCounter<int64_t>;
using UIntCounter = CoreLocalCounter<uint64_t>;
using UIntCounter = AtomicCounter<uint64_t>;
using DoubleCounter = LockCounter<double>;
using IntGauge = AtomicGauge<int64_t>;
using UIntGauge = AtomicGauge<uint64_t>;
Expand Down

0 comments on commit c305edd

Please sign in to comment.