1// Copyright 2009 The RE2 Authors. All Rights Reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5#ifndef UTIL_MALLOC_COUNTER_H_
6#define UTIL_MALLOC_COUNTER_H_
7
8namespace testing {
9class MallocCounter {
10 public:
11 MallocCounter(int x) {}
12 static const int THIS_THREAD_ONLY = 0;
13 long long HeapGrowth() { return 0; }
14 long long PeakHeapGrowth() { return 0; }
15 void Reset() {}
16};
17} // namespace testing
18
19#endif // UTIL_MALLOC_COUNTER_H_
20