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

Unified Diff: include/v8-profiler.h

Issue 624443005: Revert of Extend CPU profiler with mapping ticks to source lines (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8-profiler.h
diff --git a/include/v8-profiler.h b/include/v8-profiler.h
index d0215205f5fa97d8eadc1f2547df734f53c11a24..7fc193db58e9ded01a0b857c33134d0aed6b31d1 100644
--- a/include/v8-profiler.h
+++ b/include/v8-profiler.h
@@ -22,14 +22,6 @@ typedef uint32_t SnapshotObjectId;
*/
class V8_EXPORT CpuProfileNode {
public:
- struct LineTick {
- /** The 1-based number of the source line where the function originates. */
- int line;
-
- /** The count of samples associated with the source line. */
- unsigned int hit_count;
- };
-
/** Returns function name (empty string for anonymous functions.) */
Handle<String> GetFunctionName() const;
@@ -51,18 +43,6 @@ class V8_EXPORT CpuProfileNode {
*/
int GetColumnNumber() const;
- /**
- * Returns the number of the function's source lines that collect the samples.
- */
- unsigned int GetHitLineCount() const;
-
- /** Returns the set of source lines that collect the samples.
- * The caller allocates buffer and responsible for releasing it.
- * True if all available entries are copied, otherwise false.
- * The function copies nothing if buffer is not large enough.
- */
- bool GetLineTicks(LineTick* entries, unsigned int length) const;
-
/** Returns bailout reason for the function
* if the optimization was disabled for it.
*/
« 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