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

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

Issue 166383002: Allow self_size to be larger than 2GB in heap snapshots. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Added casts Created 6 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/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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 */ 250 */
251 Handle<String> GetName() const; 251 Handle<String> GetName() const;
252 252
253 /** 253 /**
254 * Returns node id. For the same heap object, the id remains the same 254 * Returns node id. For the same heap object, the id remains the same
255 * across all snapshots. 255 * across all snapshots.
256 */ 256 */
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 V8_DEPRECATED("Use GetShallowSize instead",
261 int GetSelfSize() const);
262
263 /** Returns node's own size, in bytes. */
264 size_t GetShallowSize() const;
261 265
262 /** Returns child nodes count of the node. */ 266 /** Returns child nodes count of the node. */
263 int GetChildrenCount() const; 267 int GetChildrenCount() const;
264 268
265 /** Retrieves a child by index. */ 269 /** Retrieves a child by index. */
266 const HeapGraphEdge* GetChild(int index) const; 270 const HeapGraphEdge* GetChild(int index) const;
267 }; 271 };
268 272
269 273
270 /** 274 /**
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 uint32_t index; // Index of the time interval that was changed. 559 uint32_t index; // Index of the time interval that was changed.
556 uint32_t count; // New value of count field for the interval with this index. 560 uint32_t count; // New value of count field for the interval with this index.
557 uint32_t size; // New value of size field for the interval with this index. 561 uint32_t size; // New value of size field for the interval with this index.
558 }; 562 };
559 563
560 564
561 } // namespace v8 565 } // namespace v8
562 566
563 567
564 #endif // V8_V8_PROFILER_H_ 568 #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