Lines Matching refs:Counter
97 struct Counter {
98 Counter(EventCount* count) : mCount(count) { mCount->construct++; }
100 Counter(const Counter& other) : mCount(other.mCount) {
104 Counter(Counter&& other) : mCount(other.mCount) {
109 Counter& operator=(const Counter& other) {
115 Counter& operator=(Counter&& other) {
122 ~Counter() {
131 Counter counter{&count};
132 queue().runSync([c = std::move(counter)](){});