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

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

Issue 98633009: Delete v8::HeapGraphNode::GetHeapValue (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Deleted the method instead of deprecating it. Created 7 years 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/api.cc » ('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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 SnapshotObjectId GetId() const; 257 SnapshotObjectId GetId() const;
258 258
259 /** Returns node's own size, in bytes. */ 259 /** Returns node's own size, in bytes. */
260 int GetSelfSize() const; 260 int GetSelfSize() const;
261 261
262 /** Returns child nodes count of the node. */ 262 /** Returns child nodes count of the node. */
263 int GetChildrenCount() const; 263 int GetChildrenCount() const;
264 264
265 /** Retrieves a child by index. */ 265 /** Retrieves a child by index. */
266 const HeapGraphEdge* GetChild(int index) const; 266 const HeapGraphEdge* GetChild(int index) const;
267
268 /**
269 * Finds and returns a value from the heap corresponding to this node,
270 * if the value is still reachable.
271 */
272 Handle<Value> GetHeapValue() const;
273 }; 267 };
274 268
275 269
276 /** 270 /**
277 * HeapSnapshots record the state of the JS heap at some moment. 271 * HeapSnapshots record the state of the JS heap at some moment.
278 */ 272 */
279 class V8_EXPORT HeapSnapshot { 273 class V8_EXPORT HeapSnapshot {
280 public: 274 public:
281 enum SerializationFormat { 275 enum SerializationFormat {
282 kJSON = 0 // See format description near 'Serialize' method. 276 kJSON = 0 // See format description near 'Serialize' method.
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 uint32_t index; // Index of the time interval that was changed. 555 uint32_t index; // Index of the time interval that was changed.
562 uint32_t count; // New value of count field for the interval with this index. 556 uint32_t count; // New value of count field for the interval with this index.
563 uint32_t size; // New value of size field for the interval with this index. 557 uint32_t size; // New value of size field for the interval with this index.
564 }; 558 };
565 559
566 560
567 } // namespace v8 561 } // namespace v8
568 562
569 563
570 #endif // V8_V8_PROFILER_H_ 564 #endif // V8_V8_PROFILER_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698