diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-06-11 12:58:05 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-06-11 13:00:31 +0100 |
commit | 42c0aee1d9ff5e0182c41ed505a2b0f56e564cbb (patch) | |
tree | a66437f8f15546df26bfa3ea76990772f1d6b0e8 /perf/cairo-perf.h | |
parent | b40ce402ada8d57c5093715be530df08459d1654 (diff) | |
download | cairo-42c0aee1d9ff5e0182c41ed505a2b0f56e564cbb.tar.gz |
[perf] Add a -x to exclude traces from a benchmark.
Read names of traces to exclude from a file specified using -x on the
commandline, i.e.
$ ./cairo-perf-trace -x cairo-traces/tiny.exclude
This is a convenient method for me to exclude certain traces for
particular machines. For example tiny cannot run
firefox-36-20090609.trace as that has a greater working set than the
available RAM on tiny.
Diffstat (limited to 'perf/cairo-perf.h')
-rw-r--r-- | perf/cairo-perf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perf/cairo-perf.h b/perf/cairo-perf.h index 3ff3d7f04..fbb1500b9 100644 --- a/perf/cairo-perf.h +++ b/perf/cairo-perf.h @@ -79,6 +79,8 @@ typedef struct _cairo_perf { cairo_bool_t list_only; char **names; unsigned int num_names; + char **exclude_names; + unsigned int num_exclude_names; /* Stuff used internally */ cairo_perf_ticks_t *times; |