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

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

Issue 9323064: I'd like to introduce kSynthetic type of nodes for Heap Profiler. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: kArtificial -> kSynthetic, GenericEntriesAllocator -> BasicHeapSnapshotEntriesAllocator Created 8 years, 10 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 | Annotate | Revision Log
« 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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 public: 248 public:
249 enum Type { 249 enum Type {
250 kHidden = 0, // Hidden node, may be filtered when shown to user. 250 kHidden = 0, // Hidden node, may be filtered when shown to user.
251 kArray = 1, // An array of elements. 251 kArray = 1, // An array of elements.
252 kString = 2, // A string. 252 kString = 2, // A string.
253 kObject = 3, // A JS object (except for arrays and strings). 253 kObject = 3, // A JS object (except for arrays and strings).
254 kCode = 4, // Compiled code. 254 kCode = 4, // Compiled code.
255 kClosure = 5, // Function closure. 255 kClosure = 5, // Function closure.
256 kRegExp = 6, // RegExp. 256 kRegExp = 6, // RegExp.
257 kHeapNumber = 7, // Number stored in the heap. 257 kHeapNumber = 7, // Number stored in the heap.
258 kNative = 8 // Native object (not from V8 heap). 258 kNative = 8, // Native object (not from V8 heap).
259 kSynthetic = 9 // Synthetic object, usualy used for grouping
260 // snapshot items together.
259 }; 261 };
260 262
261 /** Returns node type (see HeapGraphNode::Type). */ 263 /** Returns node type (see HeapGraphNode::Type). */
262 Type GetType() const; 264 Type GetType() const;
263 265
264 /** 266 /**
265 * Returns node name. Depending on node's type this can be the name 267 * Returns node name. Depending on node's type this can be the name
266 * of the constructor (for objects), the name of the function (for 268 * of the constructor (for objects), the name of the function (for
267 * closures), string value, or an empty string (for compiled code). 269 * closures), string value, or an empty string (for compiled code).
268 */ 270 */
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 }; 513 };
512 514
513 515
514 } // namespace v8 516 } // namespace v8
515 517
516 518
517 #undef V8EXPORT 519 #undef V8EXPORT
518 520
519 521
520 #endif // V8_V8_PROFILER_H_ 522 #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