benchmarks: gem_prw add the read/write switch to getopt

In my haste to merge the two gem_pread/gem_pwrite, I forgot to write up
the command line switch to getopt.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2015-07-23 12:27:38 +01:00
parent f8628a2c98
commit af510c249d

View File

@ -62,7 +62,7 @@ int main(int argc, char **argv)
int reps = 13;
int c, size;
while ((c = getopt (argc, argv, "d:r:")) != -1) {
while ((c = getopt (argc, argv, "D:d:r:")) != -1) {
switch (c) {
case 'd':
if (strcmp(optarg, "cpu") == 0)