• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
8 namespace testing {
9 class MallocCounter {
10  public:
MallocCounter(int x)11   MallocCounter(int x) {}
12   static const int THIS_THREAD_ONLY = 0;
HeapGrowth()13   long long HeapGrowth() { return 0; }
PeakHeapGrowth()14   long long PeakHeapGrowth() { return 0; }
Reset()15   void Reset() {}
16 };
17 }  // namespace testing
18 
19 #endif  // UTIL_MALLOC_COUNTER_H_
20