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

Side by Side Diff: third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h

Issue 1410353005: Add generic.total_physical_bytes property to MallocExtension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@web_cache2
Patch Set: Add in readme. Created 5 years, 1 month 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
« no previous file with comments | « third_party/tcmalloc/README.chromium ('k') | third_party/tcmalloc/chromium/src/tcmalloc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, Google Inc. 1 // Copyright (c) 2012, Google Inc.
2 // All rights reserved. 2 // All rights reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // * Redistributions of source code must retain the above copyright 8 // * Redistributions of source code must retain the above copyright
9 // notice, this list of conditions and the following disclaimer. 9 // notice, this list of conditions and the following disclaimer.
10 // * Redistributions in binary form must reproduce the above 10 // * Redistributions in binary form must reproduce the above
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // Number of bytes currently allocated by application 152 // Number of bytes currently allocated by application
153 // This property is not writable. 153 // This property is not writable.
154 // 154 //
155 // "generic.heap_size" 155 // "generic.heap_size"
156 // Number of bytes in the heap == 156 // Number of bytes in the heap ==
157 // current_allocated_bytes + 157 // current_allocated_bytes +
158 // fragmentation + 158 // fragmentation +
159 // freed memory regions 159 // freed memory regions
160 // This property is not writable. 160 // This property is not writable.
161 // 161 //
162 // "generic.total_physical_bytes"
163 // Estimate of total bytes of the physical memory usage by the
164 // allocator ==
165 // current_allocated_bytes +
166 // fragmentation +
167 // metadata
168 // This property is not writable.
169 //
162 // tcmalloc 170 // tcmalloc
163 // -------- 171 // --------
164 // "tcmalloc.max_total_thread_cache_bytes" 172 // "tcmalloc.max_total_thread_cache_bytes"
165 // Upper limit on total number of bytes stored across all 173 // Upper limit on total number of bytes stored across all
166 // per-thread caches. Default: 16MB. 174 // per-thread caches. Default: 16MB.
167 // 175 //
168 // "tcmalloc.current_total_thread_cache_bytes" 176 // "tcmalloc.current_total_thread_cache_bytes"
169 // Number of bytes used across all thread caches. 177 // Number of bytes used across all thread caches.
170 // This property is not writable. 178 // This property is not writable.
171 // 179 //
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 406
399 // Perhaps add the following: 407 // Perhaps add the following:
400 // - stack trace if this range was sampled 408 // - stack trace if this range was sampled
401 // - heap growth stack trace if applicable to this range 409 // - heap growth stack trace if applicable to this range
402 // - age when allocated (for inuse) or freed (if not in use) 410 // - age when allocated (for inuse) or freed (if not in use)
403 }; 411 };
404 412
405 } // namespace base 413 } // namespace base
406 414
407 #endif // BASE_MALLOC_EXTENSION_H_ 415 #endif // BASE_MALLOC_EXTENSION_H_
OLDNEW
« no previous file with comments | « third_party/tcmalloc/README.chromium ('k') | third_party/tcmalloc/chromium/src/tcmalloc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698