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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 102 |
103 /** Returns function entry UID. */ | 103 /** Returns function entry UID. */ |
104 unsigned GetCallUid() const; | 104 unsigned GetCallUid() const; |
105 | 105 |
106 /** Returns child nodes count of the node. */ | 106 /** Returns child nodes count of the node. */ |
107 int GetChildrenCount() const; | 107 int GetChildrenCount() const; |
108 | 108 |
109 /** Retrieves a child node by index. */ | 109 /** Retrieves a child node by index. */ |
110 const CpuProfileNode* GetChild(int index) const; | 110 const CpuProfileNode* GetChild(int index) const; |
111 | 111 |
112 static const int kNoLineNumberInfo = 0; | 112 static const int kNoLineNumberInfo = Message::kNoLineNumberInfo; |
113 }; | 113 }; |
114 | 114 |
115 | 115 |
116 /** | 116 /** |
117 * CpuProfile contains a CPU profile in a form of two call trees: | 117 * CpuProfile contains a CPU profile in a form of two call trees: |
118 * - top-down (from main() down to functions that do all the work); | 118 * - top-down (from main() down to functions that do all the work); |
119 * - bottom-up call graph (in backward direction). | 119 * - bottom-up call graph (in backward direction). |
120 */ | 120 */ |
121 class V8EXPORT CpuProfile { | 121 class V8EXPORT CpuProfile { |
122 public: | 122 public: |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 }; | 167 }; |
168 | 168 |
169 | 169 |
170 } // namespace v8 | 170 } // namespace v8 |
171 | 171 |
172 | 172 |
173 #undef V8EXPORT | 173 #undef V8EXPORT |
174 | 174 |
175 | 175 |
176 #endif // V8_V8_PROFILER_H_ | 176 #endif // V8_V8_PROFILER_H_ |
OLD | NEW |