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

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

Issue 22295009: Deprecate CpuProfileNode::GetSelfSamplesCount (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Comments addressed 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 | test/cctest/test-cpu-profiler.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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 * estimated by samples count. 68 * estimated by samples count.
69 */ 69 */
70 V8_DEPRECATED(double GetSelfTime() const); 70 V8_DEPRECATED(double GetSelfTime() const);
71 71
72 /** Returns the count of samples where function exists. */ 72 /** Returns the count of samples where function exists. */
73 V8_DEPRECATED(double GetTotalSamplesCount() const); 73 V8_DEPRECATED(double GetTotalSamplesCount() const);
74 74
75 /** DEPRECATED. Please use GetHitCount instead. 75 /** DEPRECATED. Please use GetHitCount instead.
76 * Returns the count of samples where function was currently executing. 76 * Returns the count of samples where function was currently executing.
77 */ 77 */
78 double GetSelfSamplesCount() const; 78 V8_DEPRECATED(double GetSelfSamplesCount() const);
79 79
80 /** 80 /**
81 * Returns the count of samples where the function was currently executing. 81 * Returns the count of samples where the function was currently executing.
82 */ 82 */
83 unsigned GetHitCount() const; 83 unsigned GetHitCount() const;
84 84
85 /** Returns function entry UID. */ 85 /** Returns function entry UID. */
86 unsigned GetCallUid() const; 86 unsigned GetCallUid() const;
87 87
88 /** Returns id of the node. The id is unique within the tree */ 88 /** Returns id of the node. The id is unique within the tree */
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 uint32_t index; // Index of the time interval that was changed. 575 uint32_t index; // Index of the time interval that was changed.
576 uint32_t count; // New value of count field for the interval with this index. 576 uint32_t count; // New value of count field for the interval with this index.
577 uint32_t size; // New value of size field for the interval with this index. 577 uint32_t size; // New value of size field for the interval with this index.
578 }; 578 };
579 579
580 580
581 } // namespace v8 581 } // namespace v8
582 582
583 583
584 #endif // V8_V8_PROFILER_H_ 584 #endif // V8_V8_PROFILER_H_
OLDNEW
« no previous file with comments | « no previous file | test/cctest/test-cpu-profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698