diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-12 08:39:26 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-12 08:39:26 +0100 |
commit | 7b254f193933eda7c9761a7f10ac49049103b259 (patch) | |
tree | c027e8035af7b649d030ecc89896422b2727828f /tests/gem_pwrite.c | |
parent | 467796acc80ced3440740d267c2e2a4f246d4b8a (diff) |
gem_pwrite: Print the cache name not the number
Bugzilla: https://bugzilla.freedesktop.org/show_bug.cgi?id=68003
Diffstat (limited to 'tests/gem_pwrite.c')
-rw-r--r-- | tests/gem_pwrite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_pwrite.c b/tests/gem_pwrite.c index 447a2002..abdf1190 100644 --- a/tests/gem_pwrite.c +++ b/tests/gem_pwrite.c @@ -137,11 +137,11 @@ int main(int argc, char **argv) do_gem_write(fd, dst, src, object_size, count); gettimeofday(&end, NULL); printf("Time to %s pwrite %d bytes x %6d: %7.3fµs, %s\n", - c->level, object_size, count, + c->name, object_size, count, elapsed(&start, &end, count), bytes_per_sec((char *)buf, object_size/elapsed(&start, &end, count)*1e6)); fflush(stdout); - } + } } free(src); |