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

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

Issue 8139027: Version 3.6.5 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « include/v8-debug.h ('k') | src/SConscript » ('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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 int GetRetainersCount() const; 300 int GetRetainersCount() const;
301 301
302 /** Returns a retainer by index. */ 302 /** Returns a retainer by index. */
303 const HeapGraphEdge* GetRetainer(int index) const; 303 const HeapGraphEdge* GetRetainer(int index) const;
304 304
305 /** 305 /**
306 * Returns a dominator node. This is the node that participates in every 306 * Returns a dominator node. This is the node that participates in every
307 * path from the snapshot root to the current node. 307 * path from the snapshot root to the current node.
308 */ 308 */
309 const HeapGraphNode* GetDominatorNode() const; 309 const HeapGraphNode* GetDominatorNode() const;
310
311 /**
312 * Finds and returns a value from the heap corresponding to this node,
313 * if the value is still reachable.
314 */
315 Handle<Value> GetHeapValue() const;
310 }; 316 };
311 317
312 318
313 /** 319 /**
314 * HeapSnapshots record the state of the JS heap at some moment. 320 * HeapSnapshots record the state of the JS heap at some moment.
315 */ 321 */
316 class V8EXPORT HeapSnapshot { 322 class V8EXPORT HeapSnapshot {
317 public: 323 public:
318 enum Type { 324 enum Type {
319 kFull = 0 // Heap snapshot with all instances and references. 325 kFull = 0 // Heap snapshot with all instances and references.
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 }; 499 };
494 500
495 501
496 } // namespace v8 502 } // namespace v8
497 503
498 504
499 #undef V8EXPORT 505 #undef V8EXPORT
500 506
501 507
502 #endif // V8_V8_PROFILER_H_ 508 #endif // V8_V8_PROFILER_H_
OLDNEW
« no previous file with comments | « include/v8-debug.h ('k') | src/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698