| 161 | class AccountingTestMemoryAllocator; |
| 162 | |
| 163 | class GlobalSimpleStringMemoryAccountant |
| 164 | { |
| 165 | public: |
| 166 | GlobalSimpleStringMemoryAccountant(); |
| 167 | ~GlobalSimpleStringMemoryAccountant(); |
| 168 | |
| 169 | void useCacheSizes(size_t cacheSizes[], size_t length); |
| 170 | |
| 171 | void start(); |
| 172 | void stop(); |
| 173 | SimpleString report(); |
| 174 | |
| 175 | AccountingTestMemoryAllocator* getAllocator(); |
| 176 | private: |
| 177 | void restoreAllocator(); |
| 178 | |
| 179 | AccountingTestMemoryAllocator* allocator_; |
| 180 | MemoryAccountant* accountant_; |
| 181 | }; |
| 182 | |
| 183 | SimpleString StringFrom(bool value); |
| 184 | SimpleString StringFrom(const void* value); |
nothing calls this directly
no outgoing calls
no test coverage detected