Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(439)

Side by Side Diff: base/trace_event/trace_event_memory_overhead.h

Issue 2650863003: [tracing] Switch to new heap dump format. (Closed)
Patch Set: Fix rebase damage Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef BASE_TRACE_EVENT_TRACE_EVENT_MEMORY_OVERHEAD_H_ 5 #ifndef BASE_TRACE_EVENT_TRACE_EVENT_MEMORY_OVERHEAD_H_
6 #define BASE_TRACE_EVENT_TRACE_EVENT_MEMORY_OVERHEAD_H_ 6 #define BASE_TRACE_EVENT_TRACE_EVENT_MEMORY_OVERHEAD_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 18 matching lines...) Expand all
29 kOther = 0, 29 kOther = 0,
30 kTraceBuffer, 30 kTraceBuffer,
31 kTraceBufferChunk, 31 kTraceBufferChunk,
32 kTraceEvent, 32 kTraceEvent,
33 kUnusedTraceEvent, 33 kUnusedTraceEvent,
34 kTracedValue, 34 kTracedValue,
35 kConvertableToTraceFormat, 35 kConvertableToTraceFormat,
36 kHeapProfilerAllocationRegister, 36 kHeapProfilerAllocationRegister,
37 kHeapProfilerTypeNameDeduplicator, 37 kHeapProfilerTypeNameDeduplicator,
38 kHeapProfilerStackFrameDeduplicator, 38 kHeapProfilerStackFrameDeduplicator,
39 kHeapProfilerStringDeduplicator,
39 kStdString, 40 kStdString,
40 kBaseValue, 41 kBaseValue,
41 kTraceEventMemoryOverhead, 42 kTraceEventMemoryOverhead,
42 kLast 43 kLast
43 }; 44 };
44 45
45 TraceEventMemoryOverhead(); 46 TraceEventMemoryOverhead();
46 ~TraceEventMemoryOverhead(); 47 ~TraceEventMemoryOverhead();
47 48
48 // Use this method to account the overhead of an object for which an estimate 49 // Use this method to account the overhead of an object for which an estimate
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 size_t allocated_size_in_bytes, 86 size_t allocated_size_in_bytes,
86 size_t resident_size_in_bytes); 87 size_t resident_size_in_bytes);
87 88
88 DISALLOW_COPY_AND_ASSIGN(TraceEventMemoryOverhead); 89 DISALLOW_COPY_AND_ASSIGN(TraceEventMemoryOverhead);
89 }; 90 };
90 91
91 } // namespace trace_event 92 } // namespace trace_event
92 } // namespace base 93 } // namespace base
93 94
94 #endif // BASE_TRACE_EVENT_TRACE_EVENT_MEMORY_OVERHEAD_H_ 95 #endif // BASE_TRACE_EVENT_TRACE_EVENT_MEMORY_OVERHEAD_H_
OLDNEW
« no previous file with comments | « base/trace_event/process_memory_dump_unittest.cc ('k') | base/trace_event/trace_event_memory_overhead.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698