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

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

Issue 7030008: Fix typos in include/*.h inline documentation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 7 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') | 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 */ 199 */
200 static void DeleteAllProfiles(); 200 static void DeleteAllProfiles();
201 }; 201 };
202 202
203 203
204 class HeapGraphNode; 204 class HeapGraphNode;
205 205
206 206
207 /** 207 /**
208 * HeapSnapshotEdge represents a directed connection between heap 208 * HeapSnapshotEdge represents a directed connection between heap
209 * graph nodes: from retaners to retained nodes. 209 * graph nodes: from retainers to retained nodes.
210 */ 210 */
211 class V8EXPORT HeapGraphEdge { 211 class V8EXPORT HeapGraphEdge {
212 public: 212 public:
213 enum Type { 213 enum Type {
214 kContextVariable = 0, // A variable from a function context. 214 kContextVariable = 0, // A variable from a function context.
215 kElement = 1, // An element of an array. 215 kElement = 1, // An element of an array.
216 kProperty = 2, // A named object property. 216 kProperty = 2, // A named object property.
217 kInternal = 3, // A link that can't be accessed from JS, 217 kInternal = 3, // A link that can't be accessed from JS,
218 // thus, its name isn't a real property name 218 // thus, its name isn't a real property name
219 // (e.g. parts of a ConsString). 219 // (e.g. parts of a ConsString).
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 * Deletes the snapshot and removes it from HeapProfiler's list. 350 * Deletes the snapshot and removes it from HeapProfiler's list.
351 * All pointers to nodes, edges and paths previously returned become 351 * All pointers to nodes, edges and paths previously returned become
352 * invalid. 352 * invalid.
353 */ 353 */
354 void Delete(); 354 void Delete();
355 355
356 /** 356 /**
357 * Prepare a serialized representation of the snapshot. The result 357 * Prepare a serialized representation of the snapshot. The result
358 * is written into the stream provided in chunks of specified size. 358 * is written into the stream provided in chunks of specified size.
359 * The total length of the serialized snapshot is unknown in 359 * The total length of the serialized snapshot is unknown in
360 * advance, it is can be roughly equal to JS heap size (that means, 360 * advance, it can be roughly equal to JS heap size (that means,
361 * it can be really big - tens of megabytes). 361 * it can be really big - tens of megabytes).
362 * 362 *
363 * For the JSON format, heap contents are represented as an object 363 * For the JSON format, heap contents are represented as an object
364 * with the following structure: 364 * with the following structure:
365 * 365 *
366 * { 366 * {
367 * snapshot: {title: "...", uid: nnn}, 367 * snapshot: {title: "...", uid: nnn},
368 * nodes: [ 368 * nodes: [
369 * meta-info (JSON string), 369 * meta-info (JSON string),
370 * nodes themselves 370 * nodes themselves
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 }; 496 };
497 497
498 498
499 } // namespace v8 499 } // namespace v8
500 500
501 501
502 #undef V8EXPORT 502 #undef V8EXPORT
503 503
504 504
505 #endif // V8_V8_PROFILER_H_ 505 #endif // V8_V8_PROFILER_H_
OLDNEW
« no previous file with comments | « include/v8-debug.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698