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

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

Issue 2028001: Adds C++ API for retrieving a stack trace without running JavaScript... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 7 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 | « include/v8.h ('k') | src/api.h » ('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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698