OLD | NEW |
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 <vector> | 8 #include <vector> |
9 #include "v8.h" | 9 #include "v8.h" |
10 | 10 |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 kObject = 3, // A JS object (except for arrays and strings). | 268 kObject = 3, // A JS object (except for arrays and strings). |
269 kCode = 4, // Compiled code. | 269 kCode = 4, // Compiled code. |
270 kClosure = 5, // Function closure. | 270 kClosure = 5, // Function closure. |
271 kRegExp = 6, // RegExp. | 271 kRegExp = 6, // RegExp. |
272 kHeapNumber = 7, // Number stored in the heap. | 272 kHeapNumber = 7, // Number stored in the heap. |
273 kNative = 8, // Native object (not from V8 heap). | 273 kNative = 8, // Native object (not from V8 heap). |
274 kSynthetic = 9, // Synthetic object, usualy used for grouping | 274 kSynthetic = 9, // Synthetic object, usualy used for grouping |
275 // snapshot items together. | 275 // snapshot items together. |
276 kConsString = 10, // Concatenated string. A pair of pointers to strings. | 276 kConsString = 10, // Concatenated string. A pair of pointers to strings. |
277 kSlicedString = 11, // Sliced string. A fragment of another string. | 277 kSlicedString = 11, // Sliced string. A fragment of another string. |
278 kSymbol = 12 // A Symbol (ES6). | 278 kSymbol = 12, // A Symbol (ES6). |
| 279 kSimdValue = 13 // A SIMD value stored in the heap (Proposed ES7). |
279 }; | 280 }; |
280 | 281 |
281 /** Returns node type (see HeapGraphNode::Type). */ | 282 /** Returns node type (see HeapGraphNode::Type). */ |
282 Type GetType() const; | 283 Type GetType() const; |
283 | 284 |
284 /** | 285 /** |
285 * Returns node name. Depending on node's type this can be the name | 286 * Returns node name. Depending on node's type this can be the name |
286 * of the constructor (for objects), the name of the function (for | 287 * of the constructor (for objects), the name of the function (for |
287 * closures), string value, or an empty string (for compiled code). | 288 * closures), string value, or an empty string (for compiled code). |
288 */ | 289 */ |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 uint32_t index; // Index of the time interval that was changed. | 638 uint32_t index; // Index of the time interval that was changed. |
638 uint32_t count; // New value of count field for the interval with this index. | 639 uint32_t count; // New value of count field for the interval with this index. |
639 uint32_t size; // New value of size field for the interval with this index. | 640 uint32_t size; // New value of size field for the interval with this index. |
640 }; | 641 }; |
641 | 642 |
642 | 643 |
643 } // namespace v8 | 644 } // namespace v8 |
644 | 645 |
645 | 646 |
646 #endif // V8_V8_PROFILER_H_ | 647 #endif // V8_V8_PROFILER_H_ |
OLD | NEW |