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

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

Issue 10892033: Remove obsolete method declarations from HeapEntry class. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 3 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 | no next file » | 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 274
275 /** 275 /**
276 * Returns node id. For the same heap object, the id remains the same 276 * Returns node id. For the same heap object, the id remains the same
277 * across all snapshots. 277 * across all snapshots.
278 */ 278 */
279 SnapshotObjectId GetId() const; 279 SnapshotObjectId GetId() const;
280 280
281 /** Returns node's own size, in bytes. */ 281 /** Returns node's own size, in bytes. */
282 int GetSelfSize() const; 282 int GetSelfSize() const;
283 283
284 /**
285 * Returns node's retained size, in bytes. That is, self + sizes of
286 * the objects that are reachable only from this object. In other
287 * words, the size of memory that will be reclaimed having this node
288 * collected.
289 */
290 int GetRetainedSize() const;
291
292 /** Returns child nodes count of the node. */ 284 /** Returns child nodes count of the node. */
293 int GetChildrenCount() const; 285 int GetChildrenCount() const;
294 286
295 /** Retrieves a child by index. */ 287 /** Retrieves a child by index. */
296 const HeapGraphEdge* GetChild(int index) const; 288 const HeapGraphEdge* GetChild(int index) const;
297 289
298 /** Returns retainer nodes count of the node. */
299 int GetRetainersCount() const;
300
301 /** Returns a retainer by index. */
302 const HeapGraphEdge* GetRetainer(int index) const;
303
304 /**
305 * Returns a dominator node. This is the node that participates in every
306 * path from the snapshot root to the current node.
307 */
308 const HeapGraphNode* GetDominatorNode() const;
309
310 /** 290 /**
311 * Finds and returns a value from the heap corresponding to this node, 291 * Finds and returns a value from the heap corresponding to this node,
312 * if the value is still reachable. 292 * if the value is still reachable.
313 */ 293 */
314 Handle<Value> GetHeapValue() const; 294 Handle<Value> GetHeapValue() const;
315 }; 295 };
316 296
317 297
318 /** 298 /**
319 * HeapSnapshots record the state of the JS heap at some moment. 299 * HeapSnapshots record the state of the JS heap at some moment.
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 }; 556 };
577 557
578 558
579 } // namespace v8 559 } // namespace v8
580 560
581 561
582 #undef V8EXPORT 562 #undef V8EXPORT
583 563
584 564
585 #endif // V8_V8_PROFILER_H_ 565 #endif // V8_V8_PROFILER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698