| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // MemoryWatcher. | 5 // MemoryWatcher. |
| 6 // The MemoryWatcher is a library that can be linked into any | 6 // The MemoryWatcher is a library that can be linked into any |
| 7 // win32 application. It will override the default memory allocators | 7 // win32 application. It will override the default memory allocators |
| 8 // and track call stacks for any allocations that are made. It can | 8 // and track call stacks for any allocations that are made. It can |
| 9 // then be used to see what memory is in use. | 9 // then be used to see what memory is in use. |
| 10 | 10 |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 std::string file_name_; | 81 std::string file_name_; |
| 82 | 82 |
| 83 // An optional name that appears in the log file name (used to differentiate | 83 // An optional name that appears in the log file name (used to differentiate |
| 84 // logs). | 84 // logs). |
| 85 std::string log_name_; | 85 std::string log_name_; |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 | 88 |
| 89 | 89 |
| 90 #endif // MEMORY_WATCHER_ | 90 #endif // MEMORY_WATCHER_ |
| 91 | |
| OLD | NEW |