Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: include/v8-profiler.h

Issue 22172002: Return start/end profiling time in microseconds instead of milliseconds (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8-profiler.h
diff --git a/include/v8-profiler.h b/include/v8-profiler.h
index 7a71bf10f2abebdd4910fe0bfed60fd7e0357f66..7898fef1967f0c86df5fd6d94fde20d3575eb423 100644
--- a/include/v8-profiler.h
+++ b/include/v8-profiler.h
@@ -149,16 +149,16 @@ class V8EXPORT CpuProfile {
const CpuProfileNode* GetSample(int index) const;
/**
- * Returns time when the profile recording started (in milliseconds
+ * Returns time when the profile recording started (in microseconds
* since the Epoch).
*/
- double GetStartTime() const;
+ int64_t GetStartTime() const;
/**
- * Returns time when the profile recording was stopped (in milliseconds
+ * Returns time when the profile recording was stopped (in microseconds
* since the Epoch).
*/
- double GetEndTime() const;
+ int64_t GetEndTime() const;
/**
* Deletes the profile and removes it from CpuProfiler's list.
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698