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

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

Issue 893533003: Revert "Make GCC happy again." and "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« 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 // 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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 * will not be added into it unless a heap snapshot is taken or heap object 441 * will not be added into it unless a heap snapshot is taken or heap object
442 * tracking is kicked off. 442 * tracking is kicked off.
443 */ 443 */
444 void ClearObjectIds(); 444 void ClearObjectIds();
445 445
446 /** 446 /**
447 * A constant for invalid SnapshotObjectId. GetSnapshotObjectId will return 447 * A constant for invalid SnapshotObjectId. GetSnapshotObjectId will return
448 * it in case heap profiler cannot find id for the object passed as 448 * it in case heap profiler cannot find id for the object passed as
449 * parameter. HeapSnapshot::GetNodeById will always return NULL for such id. 449 * parameter. HeapSnapshot::GetNodeById will always return NULL for such id.
450 */ 450 */
451 enum { kUnknownObjectId }; 451 static const SnapshotObjectId kUnknownObjectId = 0;
452 452
453 /** 453 /**
454 * Callback interface for retrieving user friendly names of global objects. 454 * Callback interface for retrieving user friendly names of global objects.
455 */ 455 */
456 class ObjectNameResolver { 456 class ObjectNameResolver {
457 public: 457 public:
458 /** 458 /**
459 * Returns name to be used in the heap snapshot for given node. Returned 459 * Returns name to be used in the heap snapshot for given node. Returned
460 * string must stay alive until snapshot collection is completed. 460 * string must stay alive until snapshot collection is completed.
461 */ 461 */
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 uint32_t index; // Index of the time interval that was changed. 622 uint32_t index; // Index of the time interval that was changed.
623 uint32_t count; // New value of count field for the interval with this index. 623 uint32_t count; // New value of count field for the interval with this index.
624 uint32_t size; // New value of size field for the interval with this index. 624 uint32_t size; // New value of size field for the interval with this index.
625 }; 625 };
626 626
627 627
628 } // namespace v8 628 } // namespace v8
629 629
630 630
631 #endif // V8_V8_PROFILER_H_ 631 #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