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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 * Returns the number, 1-based, of the line where the function originates. | 55 * Returns the number, 1-based, of the line where the function originates. |
56 * kNoLineNumberInfo if no line number information is available. | 56 * kNoLineNumberInfo if no line number information is available. |
57 */ | 57 */ |
58 int GetLineNumber() const; | 58 int GetLineNumber() const; |
59 | 59 |
60 /** Returns bailout reason for the function | 60 /** Returns bailout reason for the function |
61 * if the optimization was disabled for it. | 61 * if the optimization was disabled for it. |
62 */ | 62 */ |
63 const char* GetBailoutReason() const; | 63 const char* GetBailoutReason() const; |
64 | 64 |
65 /** DEPRECATED. Please use GetHitCount instead. | |
66 * Returns the count of samples where function was currently executing. | |
67 */ | |
68 V8_DEPRECATED(double GetSelfSamplesCount() const); | |
69 | |
70 /** | 65 /** |
71 * Returns the count of samples where the function was currently executing. | 66 * Returns the count of samples where the function was currently executing. |
72 */ | 67 */ |
73 unsigned GetHitCount() const; | 68 unsigned GetHitCount() const; |
74 | 69 |
75 /** Returns function entry UID. */ | 70 /** Returns function entry UID. */ |
76 unsigned GetCallUid() const; | 71 unsigned GetCallUid() const; |
77 | 72 |
78 /** Returns id of the node. The id is unique within the tree */ | 73 /** Returns id of the node. The id is unique within the tree */ |
79 unsigned GetNodeId() const; | 74 unsigned GetNodeId() const; |
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 uint32_t index; // Index of the time interval that was changed. | 560 uint32_t index; // Index of the time interval that was changed. |
566 uint32_t count; // New value of count field for the interval with this index. | 561 uint32_t count; // New value of count field for the interval with this index. |
567 uint32_t size; // New value of size field for the interval with this index. | 562 uint32_t size; // New value of size field for the interval with this index. |
568 }; | 563 }; |
569 | 564 |
570 | 565 |
571 } // namespace v8 | 566 } // namespace v8 |
572 | 567 |
573 | 568 |
574 #endif // V8_V8_PROFILER_H_ | 569 #endif // V8_V8_PROFILER_H_ |
OLD | NEW |