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

Unified Diff: src/profile-generator.h

Issue 1084009: Add a few tests to ProfilerEventsProcessor. (Closed)
Patch Set: Created 10 years, 9 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 | « src/cpu-profiler.h ('k') | src/profile-generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/profile-generator.h
diff --git a/src/profile-generator.h b/src/profile-generator.h
index a16ea66f710dd75124dd90a08ed46f8f066c74ed..c0454cb821f6902b35f7e480023d2fab0bdd07e1 100644
--- a/src/profile-generator.h
+++ b/src/profile-generator.h
@@ -64,9 +64,10 @@ class ProfileNode {
INLINE(void IncrementSelfTicks()) { ++self_ticks_; }
INLINE(void IncreaseTotalTicks(unsigned amount)) { total_ticks_ += amount; }
- INLINE(CodeEntry* entry()) { return entry_; }
- INLINE(unsigned total_ticks()) { return total_ticks_; }
- INLINE(unsigned self_ticks()) { return self_ticks_; }
+ INLINE(CodeEntry* entry() const) { return entry_; }
+ INLINE(unsigned total_ticks() const) { return total_ticks_; }
+ INLINE(unsigned self_ticks() const) { return self_ticks_; }
+ void GetChildren(List<ProfileNode*>* children);
void Print(int indent);
« no previous file with comments | « src/cpu-profiler.h ('k') | src/profile-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698