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

Side by Side Diff: include/v8-profiler.h

Issue 3769007: New Heap profiler: add dumping HeapNumbers and InternalFields to snapshot. (Closed)
Patch Set: Created 10 years, 2 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 | « no previous file | src/profile-generator.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 */ 239 */
240 class V8EXPORT HeapGraphNode { 240 class V8EXPORT HeapGraphNode {
241 public: 241 public:
242 enum Type { 242 enum Type {
243 kInternal = 0, // Internal node, a virtual one, for housekeeping. 243 kInternal = 0, // Internal node, a virtual one, for housekeeping.
244 kArray = 1, // An array of elements. 244 kArray = 1, // An array of elements.
245 kString = 2, // A string. 245 kString = 2, // A string.
246 kObject = 3, // A JS object (except for arrays and strings). 246 kObject = 3, // A JS object (except for arrays and strings).
247 kCode = 4, // Compiled code. 247 kCode = 4, // Compiled code.
248 kClosure = 5, // Function closure. 248 kClosure = 5, // Function closure.
249 kRegExp = 6 // RegExp. 249 kRegExp = 6, // RegExp.
250 kHeapNumber = 7 // Number stored in the heap.
250 }; 251 };
251 252
252 /** Returns node type (see HeapGraphNode::Type). */ 253 /** Returns node type (see HeapGraphNode::Type). */
253 Type GetType() const; 254 Type GetType() const;
254 255
255 /** 256 /**
256 * Returns node name. Depending on node's type this can be the name 257 * Returns node name. Depending on node's type this can be the name
257 * of the constructor (for objects), the name of the function (for 258 * of the constructor (for objects), the name of the function (for
258 * closures), string value, or an empty string (for compiled code). 259 * closures), string value, or an empty string (for compiled code).
259 */ 260 */
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 }; 399 };
399 400
400 401
401 } // namespace v8 402 } // namespace v8
402 403
403 404
404 #undef V8EXPORT 405 #undef V8EXPORT
405 406
406 407
407 #endif // V8_V8_PROFILER_H_ 408 #endif // V8_V8_PROFILER_H_
OLDNEW
« no previous file with comments | « no previous file | src/profile-generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698