From be3e589b81b8b81d36253e220a787ee5f3745c1f Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Thu, 27 Mar 2014 22:31:57 -0700 Subject: 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. :-) --- src/caskbench.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/caskbench.cpp') 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; -- cgit v1.3.1-4-g156e