| Index: src/profile-generator.h
|
| diff --git a/src/profile-generator.h b/src/profile-generator.h
|
| index 99aeb1f5c7f167bc6e96f52228a6b5fdd201851e..a282af2bd04ca625cca52a29713cd645e55e6380 100644
|
| --- a/src/profile-generator.h
|
| +++ b/src/profile-generator.h
|
| @@ -131,14 +131,10 @@ class ProfileNode {
|
| ProfileNode* FindOrAddChild(CodeEntry* entry);
|
| INLINE(void IncrementSelfTicks()) { ++self_ticks_; }
|
| INLINE(void IncreaseSelfTicks(unsigned amount)) { self_ticks_ += amount; }
|
| - INLINE(void IncreaseTotalTicks(unsigned amount)) { total_ticks_ += amount; }
|
|
|
| INLINE(CodeEntry* entry() const) { return entry_; }
|
| INLINE(unsigned self_ticks() const) { return self_ticks_; }
|
| - INLINE(unsigned total_ticks() const) { return total_ticks_; }
|
| INLINE(const List<ProfileNode*>* children() const) { return &children_list_; }
|
| - double GetSelfMillis() const;
|
| - double GetTotalMillis() const;
|
| unsigned id() const { return id_; }
|
|
|
| void Print(int indent);
|
| @@ -155,7 +151,6 @@ class ProfileNode {
|
|
|
| ProfileTree* tree_;
|
| CodeEntry* entry_;
|
| - unsigned total_ticks_;
|
| unsigned self_ticks_;
|
| // Mapping from CodeEntry* to ProfileNode*
|
| HashMap children_;
|
| @@ -173,17 +168,9 @@ class ProfileTree {
|
|
|
| ProfileNode* AddPathFromEnd(const Vector<CodeEntry*>& path);
|
| void AddPathFromStart(const Vector<CodeEntry*>& path);
|
| - void CalculateTotalTicks();
|
| -
|
| - double TicksToMillis(unsigned ticks) const {
|
| - return ticks * ms_to_ticks_scale_;
|
| - }
|
| ProfileNode* root() const { return root_; }
|
| - void SetTickRatePerMs(double ticks_per_ms);
|
| -
|
| unsigned next_node_id() { return next_node_id_++; }
|
|
|
| - void ShortPrint();
|
| void Print() {
|
| root_->Print(0);
|
| }
|
| @@ -195,7 +182,6 @@ class ProfileTree {
|
| CodeEntry root_entry_;
|
| unsigned next_node_id_;
|
| ProfileNode* root_;
|
| - double ms_to_ticks_scale_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ProfileTree);
|
| };
|
| @@ -221,7 +207,6 @@ class CpuProfile {
|
|
|
| void UpdateTicksScale();
|
|
|
| - void ShortPrint();
|
| void Print();
|
|
|
| private:
|
|
|