summaryrefslogtreecommitdiffstatsci
path: root/src/caskbench.cpp
diff options
context:
space:
mode:
authorBryce Harrington <b.harrington@samsung.com>2014-03-27 22:31:57 -0700
committerBryce Harrington <b.harrington@samsung.com>2014-03-27 22:31:57 -0700
commitbe3e589b81b8b81d36253e220a787ee5f3745c1f (patch)
tree4acf6bd836bbf2a5321ec6b50a570e20d84bfd3b /src/caskbench.cpp
parent3642654d0187873b7fddddb9045bcb27cca90e7b (diff)
Reduce default number of iterations.
During development or when kicking the tires, it's nice if it runs swiftly. Let's allow the -i option to exist for a reason. :-)
Diffstat (limited to 'src/caskbench.cpp')
-rw-r--r--src/caskbench.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/caskbench.cpp b/src/caskbench.cpp
index 38bd4f0..ff74894 100644
--- a/src/caskbench.cpp
+++ b/src/caskbench.cpp
@@ -189,7 +189,7 @@ process_options(caskbench_options_t *opt, int argc, char *argv[])
{"version", 'V', POPT_ARG_NONE, &opt->version, 0,
"Display the program version",
NULL},
- {"enable-egl-sample-buffers", NULL, POPT_ARG_NONE, &opt->enable_egl_sample_buffers, 0,
+ {"enable-egl-sample-buffers", '\0', POPT_ARG_NONE, &opt->enable_egl_sample_buffers, 0,
"Sets EGL_SAMPLES=4 and EGL_SAMPLE_BUFFERS=1 in the EGL attribute list",
NULL},
POPT_AUTOHELP
@@ -198,7 +198,7 @@ process_options(caskbench_options_t *opt, int argc, char *argv[])
// Initialize options
opt->dry_run = 0;
- opt->iterations = 64;
+ opt->iterations = 10;
opt->list_surfaces = 0;
opt->output_file = NULL;
opt->size = 64;