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

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

Issue 9861018: Revert "This value is required for showing the heap snapshot delta in Summary view of DevTools.Prof… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 8 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/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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 340
341 /** Returns a node by its id. */ 341 /** Returns a node by its id. */
342 const HeapGraphNode* GetNodeById(SnapshotObjectId id) const; 342 const HeapGraphNode* GetNodeById(SnapshotObjectId id) const;
343 343
344 /** Returns total nodes count in the snapshot. */ 344 /** Returns total nodes count in the snapshot. */
345 int GetNodesCount() const; 345 int GetNodesCount() const;
346 346
347 /** Returns a node by index. */ 347 /** Returns a node by index. */
348 const HeapGraphNode* GetNode(int index) const; 348 const HeapGraphNode* GetNode(int index) const;
349 349
350 /** Returns a max seen JS object Id. */
351 SnapshotObjectId GetMaxSnapshotJSObjectId() const;
352
353 /** 350 /**
354 * Deletes the snapshot and removes it from HeapProfiler's list. 351 * Deletes the snapshot and removes it from HeapProfiler's list.
355 * All pointers to nodes, edges and paths previously returned become 352 * All pointers to nodes, edges and paths previously returned become
356 * invalid. 353 * invalid.
357 */ 354 */
358 void Delete(); 355 void Delete();
359 356
360 /** 357 /**
361 * Prepare a serialized representation of the snapshot. The result 358 * Prepare a serialized representation of the snapshot. The result
362 * is written into the stream provided in chunks of specified size. 359 * is written into the stream provided in chunks of specified size.
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 }; 511 };
515 512
516 513
517 } // namespace v8 514 } // namespace v8
518 515
519 516
520 #undef V8EXPORT 517 #undef V8EXPORT
521 518
522 519
523 #endif // V8_V8_PROFILER_H_ 520 #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