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

Side by Side Diff: tools/bench_pictures_main.cpp

Issue 21567005: Restore a default timer to bench_pictures. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "BenchTimer.h" 8 #include "BenchTimer.h"
9 #include "CopyTilesRenderer.h" 9 #include "CopyTilesRenderer.h"
10 #include "LazyDecodeBitmap.h" 10 #include "LazyDecodeBitmap.h"
(...skipping 26 matching lines...) Expand all
37 "alone, the filter affects all clips independent of type. " 37 "alone, the filter affects all clips independent of type. "
38 "Specific flags are listed above."); 38 "Specific flags are listed above.");
39 DEFINE_string(logFile, "", "Destination for writing log output, in addition to s tdout."); 39 DEFINE_string(logFile, "", "Destination for writing log output, in addition to s tdout.");
40 DEFINE_bool(logPerIter, false, "Log each repeat timer instead of mean."); 40 DEFINE_bool(logPerIter, false, "Log each repeat timer instead of mean.");
41 DEFINE_bool(min, false, "Print the minimum times (instead of average)."); 41 DEFINE_bool(min, false, "Print the minimum times (instead of average).");
42 DECLARE_int32(multi); 42 DECLARE_int32(multi);
43 DECLARE_string(readPath); 43 DECLARE_string(readPath);
44 DEFINE_int32(repeat, 1, "Set the number of times to repeat each test."); 44 DEFINE_int32(repeat, 1, "Set the number of times to repeat each test.");
45 DEFINE_bool(timeIndividualTiles, false, "Report times for drawing individual til es, rather than " 45 DEFINE_bool(timeIndividualTiles, false, "Report times for drawing individual til es, rather than "
46 "times for drawing the whole page. Requires tiled rendering."); 46 "times for drawing the whole page. Requires tiled rendering.");
47 DEFINE_string(timers, "", "[wcgWC]*: Display wall, cpu, gpu, truncated wall or t runcated cpu time" 47 DEFINE_string(timers, "c", "[wcgWC]*: Display wall, cpu, gpu, truncated wall or truncated cpu time"
48 " for each picture."); 48 " for each picture.");
49 DEFINE_bool(trackDeferredCaching, false, "Only meaningful with --deferImageDecod ing and " 49 DEFINE_bool(trackDeferredCaching, false, "Only meaningful with --deferImageDecod ing and "
50 "LAZY_CACHE_STATS set to true. Report percentage of cache hits when using deferred " 50 "LAZY_CACHE_STATS set to true. Report percentage of cache hits when using deferred "
51 "image decoding."); 51 "image decoding.");
52 52
53 static char const * const gFilterTypes[] = { 53 static char const * const gFilterTypes[] = {
54 "paint", 54 "paint",
55 "point", 55 "point",
56 "line", 56 "line",
57 "bitmap", 57 "bitmap",
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 } 443 }
444 #endif 444 #endif
445 return 0; 445 return 0;
446 } 446 }
447 447
448 #if !defined SK_BUILD_FOR_IOS 448 #if !defined SK_BUILD_FOR_IOS
449 int main(int argc, char * const argv[]) { 449 int main(int argc, char * const argv[]) {
450 return tool_main(argc, (char**) argv); 450 return tool_main(argc, (char**) argv);
451 } 451 }
452 #endif 452 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698