| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 /** Returns resource name for script from where the function originates. */ | 81 /** Returns resource name for script from where the function originates. */ |
| 82 Handle<String> GetScriptResourceName() const; | 82 Handle<String> GetScriptResourceName() const; |
| 83 | 83 |
| 84 /** | 84 /** |
| 85 * Returns the number, 1-based, of the line where the function originates. | 85 * Returns the number, 1-based, of the line where the function originates. |
| 86 * kNoLineNumberInfo if no line number information is available. | 86 * kNoLineNumberInfo if no line number information is available. |
| 87 */ | 87 */ |
| 88 int GetLineNumber() const; | 88 int GetLineNumber() const; |
| 89 | 89 |
| 90 /** Returns bailout reason for the function |
| 91 * if the optimization was disabled for it. |
| 92 */ |
| 93 Handle<String> GetBailoutReason() const; |
| 94 |
| 90 /** | 95 /** |
| 91 * Returns total (self + children) execution time of the function, | 96 * Returns total (self + children) execution time of the function, |
| 92 * in milliseconds, estimated by samples count. | 97 * in milliseconds, estimated by samples count. |
| 93 */ | 98 */ |
| 94 double GetTotalTime() const; | 99 double GetTotalTime() const; |
| 95 | 100 |
| 96 /** | 101 /** |
| 97 * Returns self execution time of the function, in milliseconds, | 102 * Returns self execution time of the function, in milliseconds, |
| 98 * estimated by samples count. | 103 * estimated by samples count. |
| 99 */ | 104 */ |
| (...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 }; | 589 }; |
| 585 | 590 |
| 586 | 591 |
| 587 } // namespace v8 | 592 } // namespace v8 |
| 588 | 593 |
| 589 | 594 |
| 590 #undef V8EXPORT | 595 #undef V8EXPORT |
| 591 | 596 |
| 592 | 597 |
| 593 #endif // V8_V8_PROFILER_H_ | 598 #endif // V8_V8_PROFILER_H_ |
| OLD | NEW |