| Index: src/profile-generator.h
|
| diff --git a/src/profile-generator.h b/src/profile-generator.h
|
| index 928ec330e94ea5d2f06dfbaa4d2bc06ed0bd6357..a282af2bd04ca625cca52a29713cd645e55e6380 100644
|
| --- a/src/profile-generator.h
|
| +++ b/src/profile-generator.h
|
| @@ -30,7 +30,6 @@
|
|
|
| #include "allocation.h"
|
| #include "hashmap.h"
|
| -#include "time/time.h"
|
| #include "../include/v8-profiler.h"
|
|
|
| namespace v8 {
|
| @@ -203,8 +202,8 @@ class CpuProfile {
|
| int samples_count() const { return samples_.length(); }
|
| ProfileNode* sample(int index) const { return samples_.at(index); }
|
|
|
| - Time start_time() const { return start_time_; }
|
| - Time end_time() const { return end_time_; }
|
| + int64_t start_time_us() const { return start_time_us_; }
|
| + int64_t end_time_us() const { return end_time_us_; }
|
|
|
| void UpdateTicksScale();
|
|
|
| @@ -214,9 +213,8 @@ class CpuProfile {
|
| const char* title_;
|
| unsigned uid_;
|
| bool record_samples_;
|
| - Time start_time_;
|
| - Time end_time_;
|
| - ElapsedTimer timer_;
|
| + int64_t start_time_us_;
|
| + int64_t end_time_us_;
|
| List<ProfileNode*> samples_;
|
| ProfileTree top_down_;
|
|
|
|
|