Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 60627a39710443b4aef0b17ab570af6a1cc6c4bd..7b2524cc4d77fddea0752f341042956194eadc04 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -7567,15 +7567,15 @@ const CpuProfileNode* CpuProfile::GetSample(int index) const { |
} |
-double CpuProfile::GetStartTime() const { |
+int64_t CpuProfile::GetStartTime() const { |
const i::CpuProfile* profile = reinterpret_cast<const i::CpuProfile*>(this); |
- return profile->start_time_ms(); |
+ return profile->start_time_us(); |
} |
-double CpuProfile::GetEndTime() const { |
+int64_t CpuProfile::GetEndTime() const { |
const i::CpuProfile* profile = reinterpret_cast<const i::CpuProfile*>(this); |
- return profile->end_time_ms(); |
+ return profile->end_time_us(); |
} |