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

Unified Diff: tools/timer/Timer.h

Issue 1204153002: Add samplingTime mode to nanobench (Closed) Base URL: https://skia.googlesource.com/skia.git@upload_loopSKP
Patch Set: rebase Created 5 years, 6 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
« bench/nanobench.cpp ('K') | « tools/timer/SysTimer_windows.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/timer/Timer.h
diff --git a/tools/timer/Timer.h b/tools/timer/Timer.h
index e28a515b540eaa2fe30b69bf82c3c7a8af87c16b..c621222e0ce08fc893c8700ecf0872f1ccfbd41f 100644
--- a/tools/timer/Timer.h
+++ b/tools/timer/Timer.h
@@ -73,4 +73,8 @@ private:
SkString HumanizeMs(double);
+// Returns the amount of time that has elapsed since an unspecified reference
+// time. The reference will be at least as recent as the process launch time.
+double GetTimeMs();
+
#endif
« bench/nanobench.cpp ('K') | « tools/timer/SysTimer_windows.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698