https://s3.amazonaws.com/clickhouse-test-reports/43987/3725cf4aa7a9aa022b11d08b2f8e4f7f0dd70283/stress_test__ubsan_/gdb.log
: counters(allocated_counters), parent(nullptr), level(VariableContext::Global) {}
        Counter & operator[] (Event event)
        {
            return counters[event];
        }
        const Counter & operator[] (Event event) const
        {
            return counters[event];
        }
        void increment(Event event, Count amount = 1);
        struct Snapshot
        {
            Snapshot();
            Snapshot(Snapshot &&) = default;
            Count operator[] (Event event) const noexcept
            {
                return counters_holder[event];
            }
            Snapshot & operator=(Snapshot &&) = default;
        private:
            std::unique_ptr<Count[]> counters_holder;
            friend class Counters;
            friend struct CountersIncrement;
        };
        
        Snapshot getPartiallyAtomicSnapshot() const;
        
        void reset();
        
        Counters * getParent()