Chromium Code Reviews| Index: base/trace_event/memory_dump_manager.cc |
| diff --git a/base/trace_event/memory_dump_manager.cc b/base/trace_event/memory_dump_manager.cc |
| index 81c62010e794f20f17ec88357668abe1c3c36066..eadaefb52370c95ff4f92498e3ae7de93c2aae33 100644 |
| --- a/base/trace_event/memory_dump_manager.cc |
| +++ b/base/trace_event/memory_dump_manager.cc |
| @@ -38,10 +38,6 @@ namespace trace_event { |
| namespace { |
| -// TODO(primiano): this should be smarter and should do something similar to |
| -// trace event synthetic delays. |
| -const char kTraceCategory[] = TRACE_DISABLED_BY_DEFAULT("memory-infra"); |
| - |
| // Throttle mmaps at a rate of once every kHeavyMmapsDumpsRate standard dumps. |
| const int kHeavyDumpsRate = 8; // 250 ms * 8 = 2000 ms. |
| const int kDumpIntervalMs = 250; |
| @@ -67,8 +63,11 @@ void RequestPeriodicGlobalDump() { |
| } // namespace |
| +// TODO(primiano): this should be smarter and should do something similar to |
|
Primiano Tucci (use gerrit)
2015/08/24 11:58:35
You can remove this todo in the next cl when you a
|
| +// trace event synthetic delays. |
| // static |
| -const char* const MemoryDumpManager::kTraceCategoryForTesting = kTraceCategory; |
| +const char* const MemoryDumpManager::kTraceCategory = |
| + TRACE_DISABLED_BY_DEFAULT("memory-infra"); |
| // static |
| const int MemoryDumpManager::kMaxConsecutiveFailuresCount = 3; |