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

Side by Side Diff: include/v8.h

Issue 2050173002: [DoNotSubmit] Added peak_memory_size to accounting-allocator. Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « WATCHLISTS ('k') | include/v8-version.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project 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 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 5216 matching lines...) Expand 10 before | Expand all | Expand 10 after
5227 class V8_EXPORT HeapStatistics { 5227 class V8_EXPORT HeapStatistics {
5228 public: 5228 public:
5229 HeapStatistics(); 5229 HeapStatistics();
5230 size_t total_heap_size() { return total_heap_size_; } 5230 size_t total_heap_size() { return total_heap_size_; }
5231 size_t total_heap_size_executable() { return total_heap_size_executable_; } 5231 size_t total_heap_size_executable() { return total_heap_size_executable_; }
5232 size_t total_physical_size() { return total_physical_size_; } 5232 size_t total_physical_size() { return total_physical_size_; }
5233 size_t total_available_size() { return total_available_size_; } 5233 size_t total_available_size() { return total_available_size_; }
5234 size_t used_heap_size() { return used_heap_size_; } 5234 size_t used_heap_size() { return used_heap_size_; }
5235 size_t heap_size_limit() { return heap_size_limit_; } 5235 size_t heap_size_limit() { return heap_size_limit_; }
5236 size_t malloced_memory() { return malloced_memory_; } 5236 size_t malloced_memory() { return malloced_memory_; }
5237 size_t malloced_peak_memory() { return malloced_peak_memory_; }
5237 size_t does_zap_garbage() { return does_zap_garbage_; } 5238 size_t does_zap_garbage() { return does_zap_garbage_; }
5238 5239
5239 private: 5240 private:
5240 size_t total_heap_size_; 5241 size_t total_heap_size_;
5241 size_t total_heap_size_executable_; 5242 size_t total_heap_size_executable_;
5242 size_t total_physical_size_; 5243 size_t total_physical_size_;
5243 size_t total_available_size_; 5244 size_t total_available_size_;
5244 size_t used_heap_size_; 5245 size_t used_heap_size_;
5245 size_t heap_size_limit_; 5246 size_t heap_size_limit_;
5246 size_t malloced_memory_; 5247 size_t malloced_memory_;
5248 size_t malloced_peak_memory_;
5247 bool does_zap_garbage_; 5249 bool does_zap_garbage_;
5248 5250
5249 friend class V8; 5251 friend class V8;
5250 friend class Isolate; 5252 friend class Isolate;
5251 }; 5253 };
5252 5254
5253 5255
5254 class V8_EXPORT HeapSpaceStatistics { 5256 class V8_EXPORT HeapSpaceStatistics {
5255 public: 5257 public:
5256 HeapSpaceStatistics(); 5258 HeapSpaceStatistics();
(...skipping 3572 matching lines...) Expand 10 before | Expand all | Expand 10 after
8829 */ 8831 */
8830 8832
8831 8833
8832 } // namespace v8 8834 } // namespace v8
8833 8835
8834 8836
8835 #undef TYPE_CHECK 8837 #undef TYPE_CHECK
8836 8838
8837 8839
8838 #endif // INCLUDE_V8_H_ 8840 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « WATCHLISTS ('k') | include/v8-version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698