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

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

Issue 277913002: Presubmit checks recover. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebasing Created 6 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.h ('k') | include/v8-util.h » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_V8_PROFILER_H_ 5 #ifndef V8_V8_PROFILER_H_
6 #define V8_V8_PROFILER_H_ 6 #define V8_V8_PROFILER_H_
7 7
8 #include "v8.h" 8 #include "v8.h"
9 9
10 /** 10 /**
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 * will not be called in case writing was aborted. 285 * will not be called in case writing was aborted.
286 */ 286 */
287 virtual WriteResult WriteAsciiChunk(char* data, int size) = 0; 287 virtual WriteResult WriteAsciiChunk(char* data, int size) = 0;
288 /** 288 /**
289 * Writes the next chunk of heap stats data into the stream. Writing 289 * Writes the next chunk of heap stats data into the stream. Writing
290 * can be stopped by returning kAbort as function result. EndOfStream 290 * can be stopped by returning kAbort as function result. EndOfStream
291 * will not be called in case writing was aborted. 291 * will not be called in case writing was aborted.
292 */ 292 */
293 virtual WriteResult WriteHeapStatsChunk(HeapStatsUpdate* data, int count) { 293 virtual WriteResult WriteHeapStatsChunk(HeapStatsUpdate* data, int count) {
294 return kAbort; 294 return kAbort;
295 }; 295 }
296 }; 296 };
297 297
298 298
299 /** 299 /**
300 * HeapSnapshots record the state of the JS heap at some moment. 300 * HeapSnapshots record the state of the JS heap at some moment.
301 */ 301 */
302 class V8_EXPORT HeapSnapshot { 302 class V8_EXPORT HeapSnapshot {
303 public: 303 public:
304 enum SerializationFormat { 304 enum SerializationFormat {
305 kJSON = 0 // See format description near 'Serialize' method. 305 kJSON = 0 // See format description near 'Serialize' method.
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 uint32_t index; // Index of the time interval that was changed. 601 uint32_t index; // Index of the time interval that was changed.
602 uint32_t count; // New value of count field for the interval with this index. 602 uint32_t count; // New value of count field for the interval with this index.
603 uint32_t size; // New value of size field for the interval with this index. 603 uint32_t size; // New value of size field for the interval with this index.
604 }; 604 };
605 605
606 606
607 } // namespace v8 607 } // namespace v8
608 608
609 609
610 #endif // V8_V8_PROFILER_H_ 610 #endif // V8_V8_PROFILER_H_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | include/v8-util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698