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