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

Unified Diff: tools/deep_memory_profiler/dmprof

Issue 10411047: Type profiler by intercepting 'new' and 'delete' expressions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/tcmalloc/chromium/src/type_profiler_map.cc ('k') | tools/deep_memory_profiler/policy.l0.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/deep_memory_profiler/dmprof
diff --git a/tools/deep_memory_profiler/dmprof b/tools/deep_memory_profiler/dmprof
index 01cf480bde1f6747720eec1b54de6b88ae835485..77b1f318a12006e5b2484b6a13241cdf2d4d3300 100755
--- a/tools/deep_memory_profiler/dmprof
+++ b/tools/deep_memory_profiler/dmprof
@@ -550,7 +550,8 @@ class Dump(object):
sum(self.counters[i] for i in removed))
if 'total-exclude-profiler' in sizes:
sizes['total-exclude-profiler'] = (
- self.counters['total_committed'] - sizes['mmap-profiler'])
+ self.counters['total_committed'] -
+ (sizes['mmap-profiler'] + sizes['mmap-type-profiler']))
if 'hour' in sizes:
sizes['hour'] = (self.dump_time - first_dump_time) / 60.0 / 60.0
if 'minute' in sizes:
« no previous file with comments | « third_party/tcmalloc/chromium/src/type_profiler_map.cc ('k') | tools/deep_memory_profiler/policy.l0.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698