| Index: src/profile-generator.h
|
| diff --git a/src/profile-generator.h b/src/profile-generator.h
|
| index 0cc397ed9bf24583d5d12f69b078157b19176312..7861ccd81785f3670a3d609ede6321717e0d5eac 100644
|
| --- a/src/profile-generator.h
|
| +++ b/src/profile-generator.h
|
| @@ -209,15 +209,12 @@ class CpuProfile {
|
| void AddPath(const Vector<CodeEntry*>& path);
|
| void CalculateTotalTicksAndSamplingRate();
|
|
|
| - const char* title() const { return title_; }
|
| - unsigned uid() const { return uid_; }
|
| - const ProfileTree* top_down() const { return &top_down_; }
|
| + INLINE(const char* title() const) { return title_; }
|
| + INLINE(unsigned uid() const) { return uid_; }
|
| + INLINE(const ProfileTree* top_down() const) { return &top_down_; }
|
|
|
| - int samples_count() const { return samples_.length(); }
|
| - ProfileNode* sample(int index) const { return samples_.at(index); }
|
| -
|
| - int64_t start_time_us() const { return start_time_us_; }
|
| - int64_t end_time_us() const { return end_time_us_; }
|
| + INLINE(int samples_count() const) { return samples_.length(); }
|
| + INLINE(ProfileNode* sample(int index) const) { return samples_.at(index); }
|
|
|
| void UpdateTicksScale();
|
|
|
| @@ -228,8 +225,8 @@ class CpuProfile {
|
| const char* title_;
|
| unsigned uid_;
|
| bool record_samples_;
|
| - int64_t start_time_us_;
|
| - int64_t end_time_us_;
|
| + double start_time_ms_;
|
| + double end_time_ms_;
|
| List<ProfileNode*> samples_;
|
| ProfileTree top_down_;
|
|
|
|
|