Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: include/v8-profiler.h

Issue 21593002: Propagate bailout reason to cpu profile node. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698