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

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

Issue 2199003003: Deprecate CpuProfileNode::GetCallUid (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | 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 // 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" // NOLINT(build/include) 9 #include "v8.h" // NOLINT(build/include)
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 * if the optimization was disabled for it. 130 * if the optimization was disabled for it.
131 */ 131 */
132 const char* GetBailoutReason() const; 132 const char* GetBailoutReason() const;
133 133
134 /** 134 /**
135 * Returns the count of samples where the function was currently executing. 135 * Returns the count of samples where the function was currently executing.
136 */ 136 */
137 unsigned GetHitCount() const; 137 unsigned GetHitCount() const;
138 138
139 /** Returns function entry UID. */ 139 /** Returns function entry UID. */
140 unsigned GetCallUid() const; 140 V8_DEPRECATE_SOON(
141 "Use GetScriptId, GetLineNumber, and GetColumnNumber instead.",
142 unsigned GetCallUid() const);
141 143
142 /** Returns id of the node. The id is unique within the tree */ 144 /** Returns id of the node. The id is unique within the tree */
143 unsigned GetNodeId() const; 145 unsigned GetNodeId() const;
144 146
145 /** Returns child nodes count of the node. */ 147 /** Returns child nodes count of the node. */
146 int GetChildrenCount() const; 148 int GetChildrenCount() const;
147 149
148 /** Retrieves a child node by index. */ 150 /** Retrieves a child node by index. */
149 const CpuProfileNode* GetChild(int index) const; 151 const CpuProfileNode* GetChild(int index) const;
150 152
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 uint32_t index; // Index of the time interval that was changed. 825 uint32_t index; // Index of the time interval that was changed.
824 uint32_t count; // New value of count field for the interval with this index. 826 uint32_t count; // New value of count field for the interval with this index.
825 uint32_t size; // New value of size field for the interval with this index. 827 uint32_t size; // New value of size field for the interval with this index.
826 }; 828 };
827 829
828 830
829 } // namespace v8 831 } // namespace v8
830 832
831 833
832 #endif // V8_V8_PROFILER_H_ 834 #endif // V8_V8_PROFILER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698