OLD | NEW |
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 18 matching lines...) Expand all Loading... |
29 #define V8_V8_PROFILER_H_ | 29 #define V8_V8_PROFILER_H_ |
30 | 30 |
31 #include "v8.h" | 31 #include "v8.h" |
32 | 32 |
33 /** | 33 /** |
34 * Profiler support for the V8 JavaScript engine. | 34 * Profiler support for the V8 JavaScript engine. |
35 */ | 35 */ |
36 namespace v8 { | 36 namespace v8 { |
37 | 37 |
38 class HeapGraphNode; | 38 class HeapGraphNode; |
39 class HeapStatsUpdate; | 39 struct HeapStatsUpdate; |
40 | 40 |
41 typedef uint32_t SnapshotObjectId; | 41 typedef uint32_t SnapshotObjectId; |
42 | 42 |
43 /** | 43 /** |
44 * CpuProfileNode represents a node in a call graph. | 44 * CpuProfileNode represents a node in a call graph. |
45 */ | 45 */ |
46 class V8_EXPORT CpuProfileNode { | 46 class V8_EXPORT CpuProfileNode { |
47 public: | 47 public: |
48 /** Returns function name (empty string for anonymous functions.) */ | 48 /** Returns function name (empty string for anonymous functions.) */ |
49 Handle<String> GetFunctionName() const; | 49 Handle<String> GetFunctionName() const; |
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
613 uint32_t index; // Index of the time interval that was changed. | 613 uint32_t index; // Index of the time interval that was changed. |
614 uint32_t count; // New value of count field for the interval with this index. | 614 uint32_t count; // New value of count field for the interval with this index. |
615 uint32_t size; // New value of size field for the interval with this index. | 615 uint32_t size; // New value of size field for the interval with this index. |
616 }; | 616 }; |
617 | 617 |
618 | 618 |
619 } // namespace v8 | 619 } // namespace v8 |
620 | 620 |
621 | 621 |
622 #endif // V8_V8_PROFILER_H_ | 622 #endif // V8_V8_PROFILER_H_ |
OLD | NEW |