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

Unified Diff: bench/nanobench.cpp

Issue 1612483002: Add pre_log option to nanobench; make this option default true in nanobench and dm. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Revert change to enable --pre_log for --verbose. Add auto-edited files. Created 4 years, 11 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 | dm/DM.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/nanobench.cpp
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp
index 4fc4044449b5e65a9a661133bef72520ff28903d..cfedc52379d21f5b39a255696cdcd3a5b71aa369 100644
--- a/bench/nanobench.cpp
+++ b/bench/nanobench.cpp
@@ -1124,6 +1124,12 @@ int nanobench_main() {
SkCanvas* canvas = target->getCanvas();
const char* config = target->config.name;
+ if (FLAGS_pre_log) {
+ SkDebugf("Running %s\t%s\n"
+ , bench->getUniqueName()
+ , config);
+ }
+
target->setup();
bench->perCanvasPreDraw(canvas);
« no previous file with comments | « no previous file | dm/DM.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698