| Index: courgette/memory_allocator.h
|
| diff --git a/courgette/memory_allocator.h b/courgette/memory_allocator.h
|
| index e332a32cee170852600bd4c39f17415d04022171..b7fa70b89708b9b37b3351b23feaa861496deebc 100644
|
| --- a/courgette/memory_allocator.h
|
| +++ b/courgette/memory_allocator.h
|
| @@ -117,6 +117,10 @@ class FileMapping {
|
| // you can get a pointer to the TempMapping instance that owns that memory.
|
| class TempMapping {
|
| public:
|
| + static long long alloc_cur;
|
| + static long long alloc_sum;
|
| + static long long alloc_max;
|
| +
|
| TempMapping();
|
| ~TempMapping();
|
|
|
| @@ -138,6 +142,8 @@ class TempMapping {
|
| protected:
|
| base::File file_;
|
| FileMapping mapping_;
|
| +
|
| + size_t size_ = 0;
|
| };
|
|
|
| // A memory allocator class that allocates memory either from the heap or via a
|
|
|